/* ============================================================
   AUKAN — style.css
   Paleta: Azul Royal Corporativo | Dark Tech
   ============================================================ */

/* ── 1. RESET & VARIÁVEIS ─────────────────────────────────── */
:root {
  --bg:          hsl(180, 58%, 29%);
  --bg-card:     #0d1120;
  --bg-surface:  #111827;
  --neon:        #2979ff;
  --neon-dim:    rgba(41, 121, 255, 0.12);
  --neon-glow:   rgba(41, 121, 255, 0.22);
  --neon-light:  #5b9fff;
  --white:       #f0f4ff;
  --muted:       #8896b0;
  --border:      rgba(41, 121, 255, 0.15);
  --green:       #25d366;
  --blue:        #2979ff;
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --transition:  0.3s ease;
  --header-h:    64px;
  --font:        'Inter', sans-serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--header-h);
}

/* ── 2. TIPOGRAFIA BASE ───────────────────────────────────── */
h1, h2, h3 { line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── 3. UTILITÁRIOS ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── 4. HEADER ────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background-color: rgba(8, 11, 18, 0.97);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  transition: top 0.3s ease-in-out;
}

header.header-hidden {
  top: calc(-1 * var(--header-h) - 10px);
}

.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0 20px;
}

/* ── 5. NAVEGAÇÃO ─────────────────────────────────────────── */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--white);
}

/* Botão WhatsApp no menu */
.btn-whatsapp-header {
  background: linear-gradient(135deg, #1a5fd4, #2979ff) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(41, 121, 255, 0.3);
}

.btn-whatsapp-header:hover {
  background: linear-gradient(135deg, #2166e0, #5b9fff) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(41, 121, 255, 0.45);
}

/* ── 6. HERO (HOME) ───────────────────────────────────────── */
.hero-home {
  padding: 60px 0 80px;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.destaque-tech-wrapper {
  width: 100%;
  max-width: 600px;
}

.img-destaque-main {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 28px rgba(41, 121, 255, 0.25));
  transition: filter var(--transition), transform var(--transition);
}

.img-destaque-main:hover {
  transform: translateY(-6px);
  filter: drop-shadow(0 0 40px rgba(41, 121, 255, 0.4));
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.titulo-principal {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -1px;
  color: #e8edf8;
}

.dot-digital {
  background: linear-gradient(90deg, #2979ff, #5b9fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 14px rgba(41, 121, 255, 0.4));
}

.subheadline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted);
  max-width: 520px;
}

/* CTA Principal */
.cta-wrapper {
  margin-top: 8px;
}

.btn-neon-tech {
  display: inline-block;
  padding: 13px 36px;
  background: linear-gradient(135deg, #1a5fd4, #2979ff);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 0 20px rgba(41, 121, 255, 0.3);
  transition: all var(--transition);
}

.btn-neon-tech:hover {
  background: linear-gradient(135deg, #2166e0, #5b9fff);
  box-shadow: 0 0 34px rgba(41, 121, 255, 0.55);
  transform: translateY(-2px);
}

/* ── 7. DIVISOR ───────────────────────────────────────────── */
.divisor-elegante {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #2979ff, transparent);
  opacity: 0.2;
  margin: 0 auto;
  max-width: 800px;
}

/* ── 8. PORTFÓLIO ─────────────────────────────────────────── */
.portfolio-section {
  padding: 80px 0;
}

.titulo-sessao {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 50px;
  position: relative;
  padding-top: 28px;
}

.titulo-sessao::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, transparent, #2979ff, transparent);
}

.titulo-sessao span {
  background: linear-gradient(90deg, #2979ff, #5b9fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

/* Card */
.card-link {
  text-decoration: none;
  color: inherit;
}

.projeto-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-link:hover .projeto-card {
  transform: translateY(-10px);
  border-color: var(--neon);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5), 0 0 22px var(--neon-glow);
}

.projeto-img {
  background-color: var(--bg);
  border-radius: var(--radius-sm);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 16px;
}

.projeto-img img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transition: transform 0.5s ease;
}

.card-link:hover .projeto-img img {
  transform: scale(1.07);
}

.projeto-info { padding: 4px 4px 8px; }

.tag {
  display: block;
  color: var(--neon-light);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.projeto-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.projeto-info p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── 9. SEÇÃO CONTATO / FORMULÁRIO ───────────────────────── */
.contato-section {
  padding: 60px 0 100px;
}

.contato-section h2 {
  text-align: center;
  color: var(--neon-light);
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  margin-bottom: 8px;
}

.form-captura {
  max-width: 520px;
  margin: 40px auto 0;
  background-color: var(--bg-card);
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(41, 121, 255, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(41, 121, 255, 0.08);
}

.input-group {
  margin-bottom: 18px;
}

.input-group label {
  display: block;
  color: var(--neon-light);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.input-group input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(41, 121, 255, 0.04);
  border: 1px solid rgba(41, 121, 255, 0.2);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.input-group input:focus {
  outline: none;
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(41, 121, 255, 0.1);
}

.btn-enviar {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #1a5fd4, #2979ff);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 18px rgba(41, 121, 255, 0.3);
  transition: all var(--transition);
}

.btn-enviar:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 26px rgba(41, 121, 255, 0.5);
  filter: brightness(1.1);
}

.btn-enviar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── 10. PÁGINA SOBRE ─────────────────────────────────────── */
.hero-sobre {
  padding: 60px 0 40px;
  text-align: center;
}

.hero-sobre h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  max-width: 800px;
  margin: 0 auto 20px;
}

.hero-sobre .subheadline {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

.grid-sobre {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 60px 0;
}

.sobre-img-container .foto-perfil-sobre {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 3px solid var(--neon);
  box-shadow: 0 0 30px rgba(41, 121, 255, 0.25);
  object-fit: cover;
}

.grade-problemas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.titulo-centralizado {
  text-align: center;
  margin-bottom: 40px;
}

/* ── 11. PÁGINAS INTERNAS ─────────────────────────────────── */
.hero-lp {
  padding: 60px 0 50px;
  text-align: center;
}

.intro-portfolio {
  color: var(--neon-light);
  font-weight: 600;
  margin-bottom: 28px;
  font-size: 1rem;
}

.grade-entrega {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 70px;
}

.item-entrega {
  background: var(--neon-dim);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: var(--radius-md);
}

.item-entrega h3 {
  font-size: 0.95rem;
  color: var(--neon-light);
  margin-bottom: 8px;
}

.contato-container-v2 {
  background-color: var(--bg-card);
  border: 1px solid rgba(41, 121, 255, 0.25);
  padding: 50px 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: 80px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.btn-enviar-azul {
  display: inline-block;
  padding: 14px 38px;
  background: linear-gradient(135deg, #1a5fd4, #2979ff);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(41, 121, 255, 0.3);
  transition: all var(--transition);
}

.btn-enviar-azul:hover {
  filter: brightness(1.12);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(41, 121, 255, 0.45);
}

/* ── 12. MOBILE ───────────────────────────────────────────── */
@media (max-width: 768px) {

  :root {
    --header-h: 58px;
  }

  .header-container {
    justify-content: center;
    padding: 0 16px;
  }

  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .hero-home {
    padding: 40px 0 60px;
  }

  .destaque-tech-wrapper {
    max-width: 92%;
  }

  .btn-neon-tech {
    width: 88%;
    max-width: 320px;
    text-align: center;
    padding: 13px 20px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    padding: 0 4px;
  }

  .projeto-card:active {
    transform: scale(0.97);
    border-color: var(--neon);
    box-shadow: 0 0 18px var(--neon-glow);
    transition: 0.1s;
  }

  .form-captura {
    padding: 30px 22px;
    margin: 30px 0 0;
  }

  .grid-sobre {
    flex-direction: column;
    text-align: center;
  }

  .grade-problemas {
    grid-template-columns: 1fr;
  }

  .hero-lp h1 {
    padding: 0 12px;
  }

  .grade-entrega {
    grid-template-columns: 1fr;
    padding: 0 12px;
  }

  .btn-enviar-azul {
    width: 88%;
    display: block;
    margin: 24px auto;
    text-align: center;
  }

  .contato-container-v2 {
    padding: 30px 20px;
    margin: 40px 12px 0;
  }
}