/* GNeo Digital - Premium Light Mode Design System */
:root {
  --primary: #0056D2;
  /* Indigo Blue */
  --primary-hover: #0041a3;
  --bg-main: #ffffff;
  --bg-alt: #f8f9fa;
  --bg-card: #ffffff;
  --text-main: #212529;
  --text-muted: #6c757d;
  --text-white: #ffffff;
  --border: #e9ecef;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.1);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Glassmorphism Reimagined for Light Mode */
.glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 120px 0;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-white);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 86, 210, 0.2);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-white);
  transform: translateY(-3px);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition);
}

header.scrolled {
  padding: 0.8rem 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  text-shadow: none !important;
  animation: none !important;
}

.logo span {
  color: var(--primary);
  text-shadow: none !important;
  animation: none !important;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top right, #f0f7ff, var(--bg-main) 50%);
  padding-top: 80px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
}

.hero h1 {
  font-size: 5rem;
  line-height: 1.05;
  margin-bottom: 2rem;
}

.hero h1 span {
  color: var(--primary);
  display: block;
}

.hero p {
  max-width: 600px;
  margin-bottom: 3rem;
  font-size: 1.25rem;
}

.hero-img {
  width: 100%;
  border-radius: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 2rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 3rem;
  border-radius: 32px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.bento-card i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 2rem;
  display: block;
}

.bento-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.bento-card.wide {
  grid-column: span 2;
}

.bento-card.tall {
  grid-row: span 2;
}

/* Mobile Menu Overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-links {
  list-style: none;
  text-align: center;
}

.mobile-links li {
  margin: 2rem 0;
}

.mobile-links a {
  font-size: 2.5rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-main);
}

.close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  cursor: pointer;
}

/* Responsive */
/* Methodology (Soluções) Section */
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  margin-top: 4rem;
}

.method-item {
  text-align: center;
}

.method-item .step-number {
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(0, 86, 210, 0.1);
  margin-bottom: -2.5rem;
  display: block;
  transition: var(--transition);
}

.method-item:hover .step-number {
  color: rgba(0, 86, 210, 0.2);
  transform: translateY(-5px);
}

.method-item h3 {
  position: relative;
  margin-bottom: 1rem;
}

.contact-link {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--primary);
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-alt);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(0, 86, 210, 0.05);
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #ff4d4d;
  background: #fffafa;
}

.form-group input.invalid:focus,
.form-group textarea.invalid:focus {
  box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.1);
}

/* Footers/Social tweaks */
.social-icons a {
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-icons a:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 4rem;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .methodology-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card.wide {
    grid-column: span 1;
  }

  .section-padding {
    padding: 80px 0;
  }
}

/* WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 65px;
  height: 65px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
}

/* Dev Signature Styles */
.dev-signature {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(0, 86, 210, 0.03);
    border: 1px solid rgba(0, 86, 210, 0.1);
    border-radius: 10px;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.dev-signature:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(0, 86, 210, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 86, 210, 0.1);
}

.dev-text {
    display: inline-block;
    min-width: 140px;
    text-align: center;
    transition: text-shadow 0.3s;
}

.dev-signature:hover .dev-text {
    text-shadow: 0 0 8px rgba(0, 86, 210, 0.3);
}

.dev-signature .tooltip-box {
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #0f172a;
    color: #f1f5f9;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #1e293b;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 100;
}

.dev-signature:hover .tooltip-box {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.fa-heart.pulse-red {
    color: #ef4444;
    animation: heartBeat 1.5s infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}