:root {
    --primary: #2563eb;
    --accent: #3b82f6;
    --cyan: #67e8f9;
}

* { 
    margin:0; 
    padding:0; 
    box-sizing:border-box; 
}

html { 
    scroll-behavior: smooth; 
    scroll-padding-top: 90px; 
}

body {
    font-family: 'Inter', sans-serif;
    background: #06080f;
    color: #e6eaf3;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-top: 88px;
}

body.menu-open {
    overflow: hidden;
}

/* Glows premium */
body::before {
    content: "";
    position: fixed;
    width: 800px; height: 800px;
    top: -280px; left: -280px;
    background: radial-gradient(circle, #2563eb33, transparent 68%);
    filter: blur(130px);
    z-index: -1;
}
body::after {
    content: "";
    position: fixed;
    width: 750px; height: 750px;
    bottom: -260px; right: -260px;
    background: radial-gradient(circle, #3b82f633, transparent 70%);
    filter: blur(130px);
    z-index: -1;
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 9%;
    height: 88px;
    background: rgba(6, 8, 15, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
}

.logo img { 
    height: 140px; 
    transition: transform 0.4s ease; 
    object-fit: contain; /* Garante que a logo não distorça */
}

.logo img:hover { transform: scale(1.05); }

.nav a {
    margin-left: 28px;
    color: #9aa4b2;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: color 0.3s ease;
}

.nav a::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: -4px; left: 0;
    background: linear-gradient(90deg, var(--accent), var(--cyan));
    transition: width 0.4s ease;
}

.nav a:hover::after { width: 100%; }
.nav a:hover { color: #ffffff; }

/* HAMBURGER BOTÃO */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;

  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px; /* 🔥 menor = mais preciso */
  height: 2px;
  background: #fff;
  border-radius: 2px;

  transition: all 0.35s ease;
  transform-origin: center;
}

/* Animação do X */
.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ====================== HERO ====================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px 60px;
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #06080f 30%, #0f172a 100%);
    z-index: -1;
}

.hero-content {
    max-width: 860px;
}

.hero-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    font-size: clamp(44px, 7.2vw, 64px);
    font-weight: 600;
    letter-spacing: -1.4px;
    margin-bottom: 28px;
    line-height: 1.05;
}

.hero-title span {
    display: inline-block;
    opacity: 0;
    transform: translateX(-30px);
    animation: wordReveal 0.65s forwards;
}

.hero-title span:nth-child(1){animation-delay:0.15s;}
.hero-title span:nth-child(2){animation-delay:0.35s;}
.hero-title span:nth-child(3){animation-delay:0.55s;}
.hero-title span:nth-child(4){animation-delay:0.75s;}
.hero-title span:nth-child(5){animation-delay:0.95s;}

@keyframes wordReveal {
    to { opacity: 1; transform: translateX(0); }
}

.hero-subtitle {
    color: #94a3b8;
    max-width: 680px;
    font-size: 18.5px;
    line-height: 1.68;
    margin: 0 auto 48px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.95s forwards 1.45s;
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.hero-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 40px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16.2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 195px;
}

.btn.primary {
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    color: white;
    box-shadow: 0 12px 35px rgba(37,99,235,0.38);
}

.btn.primary:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(59,130,246,0.6);
}

.btn.secondary {
    background: transparent;
    color: #e6eaf3;
    border: 2px solid rgba(255,255,255,0.25);
}

.btn.secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: #67e8f9;
    transform: translateY(-5px);
}

/* SECTIONS */
section {
    padding: 105px 9%;
    position: relative;
}

h2 {
    text-align: center;
    font-size: 37px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 65px;
    position: relative;
}

h2::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -14px;
    width: 82px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 30px;
    max-width: 1220px;
    margin: 0 auto;
}

.card {
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 34px 30px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--cyan));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.card:hover::before { 
    transform: scaleX(1); 
}

.card:hover {
    transform: translateY(-12px);
    border-color: var(--accent);
    box-shadow: 0 25px 60px rgba(59,130,246,0.22);
}

.card-top { 
    display:flex; 
    align-items:center; 
    gap:14px; 
    margin-bottom:18px; 
}

.icon {
    width:52px; 
    height:52px;
    background: rgba(37,99,235,0.15);
    border-radius:12px;
    display:flex; 
    align-items:center; 
    justify-content:center;
    font-size:26px;
}

.card h3 { 
    font-size:21px; 
    font-weight:600; 
}

.card p { 
    color:#9aa4b2; 
    margin:16px 0 28px; 
    flex-grow:1; 
    line-height:1.65; 
}

.card-btn {
    margin-top: auto;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    padding: 13px 28px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.card-btn:hover {
    background: linear-gradient(90deg, #1e40af, #2563eb);
    transform: translateY(-3px);
}

/* ====================== CONTATO - TEXTO CENTRALIZADO ====================== */
.contato {
    background: linear-gradient(180deg, rgba(6,8,15,0.95), rgba(15,23,42,0.98));
    padding: 130px 9%;
}

.contato-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 85px;
    max-width: 1140px;
    margin: 0 auto;
    align-items: center;           /* Centraliza verticalmente */
}

.contato-info {
    display: flex;
    flex-direction: column;
    justify-content: center;  
    align-items: center;     /* Centraliza o texto verticalmente */
    height: 100%;
}

.contato-info h2 {
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.contato-subtitle {
    margin-top: 24px;
    font-size: 18px;
    color: #94a3b8;
    line-height: 1.72;
    max-width: 460px;
    text-align: center;
}

/* Botão WhatsApp */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #22c55e;
    color: white;
    padding: 16px 42px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 17px;
    text-decoration: none;
    margin-top: 34px;
    transition: all 0.35s ease;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.35);
}

.btn-whatsapp:hover {
    transform: translateY(-4px);
    background: #16a34a;
    box-shadow: 0 16px 40px rgba(34, 197, 94, 0.45);
}

/* Formulário */
.contato-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contato-form input,
.contato-form textarea {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 18px 24px;
    border-radius: 14px;
    color: #e6eaf3;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contato-form input:focus,
.contato-form textarea:focus {
    border-color: #67e8f9;
    box-shadow: 0 0 0 4px rgba(103,232,249,0.18);
}

/* Botão Enviar */
.submit-btn {
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    color: white;
    padding: 17px 40px;
    border: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16.5px;
    cursor: pointer;
    transition: all 0.35s ease;
    margin-top: 8px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.45);
}

/* Card de sucesso */
.success-card {
    display: none;
    background: rgba(16,185,129,0.15);
    border: 1px solid #10b981;
    color: #34d399;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    margin-top: 12px;
}

/* OUTRAS SEÇÕES */
.processo, .vantagens { 
    background: rgba(255,255,255,0.008); 
}

.processo-grid, .vantagens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 32px;
    max-width: 1140px;
    margin: 0 auto;
}

.processo-item, .vantagem {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.07);
    padding: 36px 28px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
}

.processo-item:hover, .vantagem:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
}

.num {
    width: 54px; 
    height: 54px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: white;
}

.personalizado {
    padding: 130px 9%;
    background: rgba(12, 15, 29, 0.92);
}

.personalizado-card {
    max-width: 760px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 26px;
    padding: 82px 68px;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(14px);
}

.personalizado-card h2 {
    font-size: 42px;
    font-weight: 600;
    letter-spacing: -0.9px;
    margin-bottom: 28px;
}

.personalizado-card p {
    color: #94a3b8;
    font-size: 17.5px;
    line-height: 1.72;
    max-width: 620px;
    margin: 0 auto 42px;
}


/* SOBRE */
.sobre {
    padding: 80px 9% 120px;
    background: rgba(255,255,255,0.008);
}

.sobre-wrapper {
    max-width: 1180px;
    margin: 0 auto;
}

.sobre-wrapper h2 {
    text-align: center;
    margin-bottom: 80px;
    font-size: 39px;
}

.sobre-principal {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 90px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.sobre-texto {
    max-width: 520px;
}

.sobre-texto p {
    color: #9aa4b2;
    font-size: 17.3px;
    line-height: 1.78;
    margin-bottom: 26px;
}

.sobre-imagem {
    width: 400px;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255,255,255,0.12);
    flex-shrink: 0;
}

.sobre-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
    display: block;
    transition: transform 0.7s ease;
}

.sobre-imagem:hover img {
    transform: scale(1.05);
}

.sobre-cards {
    display: grid;
    margin-top: 80px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.sobre-card {
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 18px;
    padding: 32px 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sobre-card:hover {
    transform: translateY(-8px);
    border-color: #3b82f6;
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.18);
}

.sobre-card h3 {
    font-size: 20px;
    color: #67e8f9;
    margin-bottom: 14px;
}

.sobre-card p {
    color: #9aa4b2;
    font-size: 15.8px;
    line-height: 1.65;
}

/* FOOTER */
.footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(6,8,15,0.95);
    backdrop-filter: blur(12px);
    padding: 70px 9% 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-left img { 
    height: 140px; 
    margin-bottom: 12px; 
}

.footer-left p { 
    color: #64748b; 
    font-size: 14px; 
}

.footer-links a {
    display: block;
    color: #9aa4b2;
    margin-bottom: 12px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover { 
    color: white; 
}

.footer-contact p { 
    color: #64748b; 
    font-size: 14px; 
    margin-bottom: 6px; 
}

/* ====================== RESPONSIVIDADE COMPLETA ====================== */

  /* 1. Telas Médias / Tablets (até 1024px) */
  @media (max-width: 1024px) {
  .sobre-principal {
    grid-template-columns: 1fr; /* Coluna única no Sobre */
    gap: 50px;
    text-align: center;
  }

  .sobre-texto {
    max-width: 100%;
    order: 2; /* Texto vai para baixo da foto */
  }

  .sobre-imagem {
    margin: 0 auto;
    order: 1; /* Foto vai para cima */
    width: 320px;
    height: 320px;
  }

  .contato-container {
    gap: 50px;
  }
  }

  /* 2. Dispositivos Móveis (até 768px) */
  @media (max-width: 768px) {
  body {
    padding-top: 70px; /* Header menor no mobile */
  }

  .header {
    padding: 0 5%;
    height: 70px;
    z-index: 1000;
  }

  .logo img {
    height: 120px; /* Reduz logo para não ocupar tela demais */
  }

  /* Menu Hamburguer */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    
    width: 25px;
    height: 25px;

    cursor: pointer;

    position: relative;
    z-index: 10000; /* 🔥 GARANTE que aparece acima de tudo */
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: #ffffff;
    border-radius: 2px;
  }

  /* NAVBAR*/
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;

    background: rgba(6, 8, 15, 0.98);
    backdrop-filter: blur(20px);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;

    transform: translateY(-100%);
    opacity: 0;

    transition: all 0.5s ease;

    z-index: 9999;
    pointer-events: none;
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    text-transform: none; /* Remove o Caps Lock */
    font-weight: 400;      /* Deixa a fonte menos grossa */
    font-size: 20px;       /* Tamanho levemente menor para elegância */
    letter-spacing: 0.5px; /* Espaçamento menor entre letras */
    color: rgba(255, 255, 255, 0.9); /* Branco levemente transparente */
    margin-left: 0;
    transition: color 0.3s ease;
  }

  .nav a:active, .nav a:hover {
    color: var(--cyan);
  }

  .nav.active a {
    opacity: 1;
    transform: translateY(0);
  }

  /* Delays para os links */
  .nav.active a:nth-child(1) { transition-delay: 0.2s; }
  .nav.active a:nth-child(2) { transition-delay: 0.3s; }
  .nav.active a:nth-child(3) { transition-delay: 0.4s; }
  .nav.active a:nth-child(4) { transition-delay: 0.5s; }
  .nav.active a:nth-child(5) { transition-delay: 0.6s; }
  .nav.active a:nth-child(6) { transition-delay: 0.7s; }

  /* Hero Section */
  .hero-title {
    display: block; 
    font-size: 32px;
    line-height: 1.2;
    text-align: center;
    gap: 0; /* Remove o gap do flex */
  }
  
  .hero-title span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeWord 0.5s forwards;
  }

  .hero-title span:nth-child(1){animation-delay:0.15s;}
  .hero-title span:nth-child(2){animation-delay:0.35s;}
  .hero-title span:nth-child(3){animation-delay:0.55s;}
  .hero-title span:nth-child(4){animation-delay:0.75s;}
  .hero-title span:nth-child(5){animation-delay:0.95s;}

  @keyframes fadeWord {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 20px;
  }

  .btn {
    width: 100%;
    max-width: 320px; /* Garante que o botão não fique largo demais em tablets */
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  /* Ajustes de Seções */
  section {
    padding: 60px 5%;
  }

  h2 {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .personalizado-card {
    padding: 40px 20px;
  }

  .personalizado-card h2 {
    font-size: 28px;
  }

  /* Contato */
  .contato-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contato-info h2 {
    font-size: 30px;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  }

  /* 3. Celulares Pequenos (até 480px) */
  @media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
  }

  .sobre-imagem {
    width: 260px;
    height: 260px;
  }

  .card {
    padding: 25px 20px;
  }

  .processo-item, .vantagem {
    padding: 25px 20px;
  }

  .logo img {
    height: 100px;
  }
}
