/* =============================================
   KG KITUXI TECH — Main Stylesheet
   Branding oficial: Verde #00d47d + Azul #3e6e73
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,700;1,800&display=swap');

:root {
  --bg:          #060a0f;
  --bg-2:        #0a1018;
  --bg-3:        #0e1520;
  --surface:     #111a27;
  --surface-2:   #172133;
  --border:      rgba(255,255,255,0.07);

  /* Cores oficiais Kituxi */
  --accent:      #00d47d;
  --accent-2:    #00f090;
  --accent-dim:  #00a862;
  --accent-glow: rgba(0,212,125,0.12);
  --teal:        #3e6e73;
  --teal-2:      #4d8a90;
  --light-green: #e8fffb;

  --text:        #e8fffb;
  --text-muted:  #7a9e9f;
  --text-dim:    #3a5a5c;
  --white:       #ffffff;

  --font-body:    'Montserrat', sans-serif;
  --font-display: 'Exo 2', sans-serif;

  --radius:    12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:    0 4px 24px rgba(0,0,0,0.4);
  --shadow-accent: 0 0 40px rgba(0,212,125,0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { color: var(--text-muted); }
a { text-decoration: none; color: inherit; transition: var(--transition); }

.text-accent { color: var(--accent); }
.brand-accent { color: var(--accent); font-weight: 800; }

/* ---- LAYOUT ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.bg-dark-alt { background: var(--bg-2); }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(6,10,15,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo com imagem PNG */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar-brand img {
  height: 38px;
  width: auto;
}

.navbar-brand-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--light-green);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
}

.nav-link {
  padding: 0.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
  background: var(--accent-glow);
}

.nav-btn {
  padding: 0.6rem 1.4rem;
  background: var(--accent);
  color: #000 !important;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.nav-btn:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,125,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,125,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  top: 20%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,212,125,0.07) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 4rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  background: var(--accent-glow);
  border: 1px solid rgba(0,212,125,0.25);
  color: var(--accent);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 0.03em;
  animation: fadeInDown 0.8s ease both;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.2s both;
  color: var(--white);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease 0.3s both;
  font-weight: 400;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.4rem; font-weight: 900; color: var(--accent); }
.stat span { font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-family: var(--font-display);
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
  color: #000;
}

.btn-secondary {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  border: 1px solid rgba(0,212,125,0.25);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--accent);
}

.btn-outline {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--accent);
  color: #000;
}

.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ---- SECTION HEADERS ---- */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); max-width: 500px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-cta { text-align: center; margin-top: 3rem; }

/* ---- SERVICES GRID ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.services-grid-lg { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(0,212,125,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow), var(--shadow-accent);
}

.service-card:hover::before { opacity: 1; }
.service-icon { font-size: 2.5rem; margin-bottom: 1.2rem; display: block; }
.service-card h3 { margin-bottom: 0.8rem; font-size: 1.1rem; }
.service-card p { font-size: 0.88rem; margin-bottom: 1.5rem; }
.card-link { color: var(--accent); font-weight: 700; font-size: 0.88rem; }
.card-link:hover { color: var(--accent-2); }

/* ---- ABOUT STRIP ---- */
.about-strip {
  padding: 6rem 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-strip-text h2 { margin-bottom: 1.5rem; }
.about-strip-text p { margin-bottom: 2rem; }

.values-list { list-style: none; margin-bottom: 2.5rem; }
.values-list li {
  padding: 0.5rem 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}

.tech-card {
  background: var(--bg);
  border: 1px solid rgba(0,212,125,0.15);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  position: relative;
}

.tech-card::before {
  content: '● ● ●';
  display: block;
  color: var(--text-dim);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
}

.tech-line { padding: 0.3rem 0; color: var(--text-muted); }
.tech-line.indent { padding-left: 1.5rem; }
.tech-line.text-accent { color: var(--accent); }

/* ---- PROJECTS GRID ---- */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.projects-grid-lg { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.project-card:hover {
  border-color: rgba(0,212,125,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.project-image { width: 100%; height: 200px; overflow: hidden; background: var(--surface-2); }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover .project-image img { transform: scale(1.05); }

.project-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-placeholder span {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.2;
}

.project-info { padding: 1.5rem; }
.project-info h3 { margin-bottom: 0.6rem; font-size: 1.05rem; }
.project-info p { font-size: 0.86rem; margin-bottom: 1rem; }

.project-client {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

.tech-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.2rem; }
.tech-tag {
  padding: 0.2rem 0.7rem;
  background: rgba(0,212,125,0.06);
  border: 1px solid rgba(0,212,125,0.15);
  color: var(--accent-dim);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
}

/* ---- BLOG GRID ---- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.blog-grid-lg { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover { border-color: rgba(0,212,125,0.2); transform: translateY(-3px); }
.blog-card-image { width: 100%; height: 200px; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.5rem; }
.blog-card h2, .blog-card h3 { font-size: 1.05rem; margin: 0.5rem 0; }
.blog-card h2 a, .blog-card h3 a { color: var(--white); }
.blog-card h2 a:hover, .blog-card h3 a:hover { color: var(--accent); }
.blog-card p { font-size: 0.86rem; margin-bottom: 1rem; }

.blog-meta { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }

.post-cat {
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(0,212,125,0.2);
  padding: 0.15rem 0.7rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.post-date, .post-author { font-size: 0.78rem; color: var(--text-dim); }

/* ---- CTA SECTION ---- */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(0,212,125,0.05) 0%, var(--bg) 100%);
  border-top: 1px solid rgba(0,212,125,0.1);
}

.cta-inner { text-align: center; max-width: 600px; margin: 0 auto; }
.cta-inner h2 { margin-bottom: 1rem; }
.cta-inner p { margin-bottom: 2.5rem; font-size: 1.05rem; }

/* ---- PAGE HERO ---- */
.page-hero {
  padding: 9rem 0 5rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,212,125,0.05) 0%, transparent 70%);
}

.page-hero .section-tag { display: block; margin-bottom: 1rem; }
.page-hero h1 { margin-bottom: 1.5rem; }
.page-hero p { font-size: 1.05rem; max-width: 580px; }
.page-hero-sm { padding: 7rem 0 3rem; }

.breadcrumb {
  display: inline-block;
  color: var(--text-dim);
  font-size: 0.82rem;
  margin-bottom: 1rem;
  transition: var(--transition);
  font-weight: 600;
}
.breadcrumb:hover { color: var(--accent); }

/* ---- ABOUT PAGE ---- */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-bottom: 2rem; }

.about-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.detail-item { display: flex; gap: 1rem; align-items: flex-start; }
.detail-icon { font-size: 1.2rem; margin-top: 0.1rem; }
.detail-item strong { color: var(--white); display: block; font-size: 0.85rem; }
.detail-item p { font-size: 0.88rem; margin: 0; }

.kituxi-meaning {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--surface);
  border: 1px solid rgba(0,212,125,0.15);
  border-radius: var(--radius-lg);
}

.km-lang { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-dim); margin-bottom: 0.5rem; font-weight: 700; }
.km-word { font-family: var(--font-display); font-size: 3.5rem; font-weight: 900; color: var(--accent); }
.km-arrow { font-size: 1.5rem; color: var(--text-dim); margin: 0.5rem 0; }
.km-meaning { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--white); margin-bottom: 1rem; }
.km-desc { font-size: 0.82rem; color: var(--text-muted); }

.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.mvv-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.mvv-featured {
  border-color: rgba(0,212,125,0.25);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(0,212,125,0.05) 100%);
}

.mvv-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.mvv-card h3 { margin-bottom: 1rem; }
.mvv-card p { font-size: 0.88rem; }

.values-bullets { list-style: none; }
.values-bullets li { padding: 0.4rem 0; font-size: 0.88rem; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.values-bullets .accent { color: var(--accent); font-weight: 700; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2rem; }

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover { border-color: rgba(0,212,125,0.2); transform: translateY(-3px); }
.team-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; border: 2px solid var(--accent); }

.team-avatar {
  width: 80px; height: 80px;
  background: var(--accent-glow);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: var(--accent);
  margin: 0 auto 1rem;
}

.team-card h3 { margin-bottom: 0.3rem; font-size: 1.05rem; }
.team-role { font-size: 0.82rem; color: var(--accent); font-weight: 700; margin-bottom: 0.8rem; }
.team-bio { font-size: 0.82rem; margin-bottom: 1rem; }
.team-social { font-size: 0.82rem; color: var(--accent); font-weight: 700; }

/* ---- DETAIL LAYOUT ---- */
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: start; }

.detail-image {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  border: 1px solid var(--border);
}

.detail-text, .post-content { color: var(--text-muted); line-height: 1.9; }
.detail-text h2, .post-content h2 { color: var(--white); margin: 2rem 0 1rem; }
.detail-text h3, .post-content h3 { color: var(--white); margin: 1.5rem 0 0.8rem; }
.detail-text p, .post-content p { margin-bottom: 1.5rem; }

.detail-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
}

.sidebar-card h3 { font-size: 1rem; margin-bottom: 1rem; }
.sidebar-card p { font-size: 0.86rem; margin-bottom: 1rem; }
.sidebar-meta { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; }
.sidebar-meta strong { color: var(--white); }

.related-list { list-style: none; }
.related-list li { border-bottom: 1px solid var(--border); padding: 0.6rem 0; }
.related-list a { color: var(--text-muted); font-size: 0.88rem; }
.related-list a:hover { color: var(--accent); }

/* ---- FILTER BAR ---- */
.filter-bar { padding: 1.5rem 0; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.filter-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.filter-link {
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.filter-link:hover, .filter-link.active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* ---- CONTACT ---- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { margin-bottom: 2rem; }

.contact-items { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.contact-icon { font-size: 1.4rem; margin-top: 0.1rem; }
.contact-item strong { color: var(--white); display: block; margin-bottom: 0.2rem; font-size: 0.85rem; }
.contact-item p { margin: 0; font-size: 0.88rem; }
.contact-item a { color: var(--accent); }
.contact-item a:hover { color: var(--accent-2); }

.contact-form-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form h2 { margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }

.form-input,
input.form-input,
textarea.form-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input::placeholder { color: var(--text-dim); }
textarea.form-input { resize: vertical; }
.form-error { color: #f87171; font-size: 0.78rem; display: block; margin-top: 0.3rem; }

/* ---- MESSAGES ---- */
.messages-container { padding: 1rem 1.5rem; }
.alert { padding: 1rem 1.5rem; border-radius: var(--radius); margin-bottom: 0.5rem; font-size: 0.88rem; }
.alert-success { background: rgba(0,212,125,0.08); border: 1px solid rgba(0,212,125,0.2); color: var(--accent); }
.alert-error { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); color: #f87171; }

/* ---- FOOTER ---- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer-logo img { height: 32px; width: auto; }

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--light-green);
}

.footer-brand p { font-size: 0.85rem; max-width: 280px; margin-bottom: 1.5rem; color: var(--text-muted); }

.social-links { display: flex; gap: 0.5rem; }
.social-links a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-links a:hover { background: var(--accent); color: #000; border-color: var(--accent); }

.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.86rem; }
.footer-col ul li a:hover { color: var(--accent); }
.contact-list li { color: var(--text-muted); font-size: 0.86rem; margin-bottom: 0.6rem; }

.footer-bottom { border-top: 1px solid var(--border); padding-top: 2rem; text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: var(--text-dim); }

/* ---- EMPTY STATE ---- */
.empty-state { grid-column: 1/-1; text-align: center; padding: 3rem; color: var(--text-dim); }

/* ---- SERVICE HERO ICON ---- */
.service-hero-icon { font-size: 4rem; margin-bottom: 1.5rem; display: block; }

/* ---- ERROR PAGES ---- */
.error-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 6rem 0; }
.error-inner { text-align: center; max-width: 500px; }
.error-code { font-family: var(--font-display); font-size: 8rem; font-weight: 900; color: var(--accent); line-height: 1; opacity: 0.2; margin-bottom: 1rem; }
.error-inner h1 { margin-bottom: 1rem; }
.error-inner p { margin-bottom: 2.5rem; font-size: 1.05rem; }
.error-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .about-strip-inner, .about-intro, .mvv-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.3rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-link, .nav-btn { display: block; width: 100%; text-align: center; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { text-align: center; }
}

/* ── PARTICLES ───────────────────────────────── */
#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero:hover #particleCanvas {
  pointer-events: auto;
}

/* ══════════════════════════════════════════════
   HERO — Layout duas colunas + Visual Técnico
   ══════════════════════════════════════════════ */

/* Layout dois painéis */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 100vh;
  padding: 6rem 0 4rem;
}

/* Badge animado com ponto pulsante */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.2rem;
  background: var(--accent-glow);
  border: 1px solid rgba(0,212,125,0.3);
  color: var(--accent);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 0.03em;
  animation: fadeInDown 0.8s ease both;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* Título hero sem max-width fixo (a coluna já limita) */
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0;
  max-width: none;
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 900;
  margin-bottom: 1.4rem;
  animation: fadeInUp 0.8s ease 0.2s both;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* Ícones de serviço com Bootstrap Icons */
.service-icon {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--accent-glow);
  border: 1px solid rgba(0,212,125,0.2);
  border-radius: 14px;
  color: var(--accent);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(0,212,125,0.15);
  border-color: rgba(0,212,125,0.4);
  transform: scale(1.05);
}

/* ── Hero Visual (coluna direita) ── */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeInUp 0.9s ease 0.3s both;
}

/* Cards genérico */
.hv-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.hv-card:hover {
  border-color: rgba(0,212,125,0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Card principal */
.hv-card-main {}

.hv-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.2rem;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}

.hv-dots { display: flex; gap: 5px; }
.hv-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.hv-dot-r { background: #ff5f57; }
.hv-dot-y { background: #febc2e; }
.hv-dot-g { background: #28c840; }

.hv-card-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dim);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.02em;
}

.hv-card-body { padding: 1.4rem; }

/* Métricas internas */
.hv-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.hv-metric {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.hv-metric-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hv-metric-val {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.hv-metric-val.accent { color: var(--accent); }
.hv-metric-val.ok     { color: #34d399; }

/* Mini gráfico */
.hv-chart {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem 1rem 0.6rem;
}

.hv-chart svg { width: 100%; display: block; }

.hv-bar {
  transform-origin: bottom;
  animation: barGrow 0.6s ease both;
}

@keyframes barGrow {
  from { transform: scaleY(0); opacity: 0; }
  to   { transform: scaleY(1); opacity: 1; }
}

.hv-chart-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hv-chart-label .accent { color: var(--accent); }

/* Cards flutuantes */
.hv-card-float {
  padding: 0.9rem 1.1rem;
}

/* Card IA */
.hv-card-ai {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-color: rgba(0,212,125,0.15);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(0,212,125,0.04) 100%);
}

.hv-ai-icon {
  width: 38px; height: 38px;
  background: var(--accent-glow);
  border: 1px solid rgba(0,212,125,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hv-ai-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.hv-ai-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hv-ai-status {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hv-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

.hv-ai-val {
  font-size: 1.1rem;
  font-weight: 900;
}

/* Card Stack */
.hv-card-stack {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hv-stack-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.hv-stack-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.hv-stag {
  padding: 0.25rem 0.75rem;
  background: rgba(0,212,125,0.07);
  border: 1px solid rgba(0,212,125,0.18);
  color: var(--accent-dim);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ── Responsivo hero duas colunas ── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 6rem 0 3rem;
  }
  .hero-visual { max-width: 520px; }
  .hv-metrics { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .hero-inner { padding: 5rem 0 2rem; gap: 2.5rem; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hv-metrics { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .hv-metric-val { font-size: 0.88rem; }
  .hv-card-ai, .hv-card-stack { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hv-metrics { grid-template-columns: 1fr 1fr; }
}


/* ══════════════════════════════════════════════
   FOOTER — Social icons e contactos melhorados
   ══════════════════════════════════════════════ */

/* Ícones sociais com Bootstrap Icons */
.social-links a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Ícone inline nos itens de contacto do footer */
.footer-contact-icon {
  font-size: 0.85rem;
  color: var(--accent);
  margin-right: 0.4rem;
  flex-shrink: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 0.2rem 0;
}

.contact-list a {
  color: var(--text-muted);
  transition: var(--transition);
}

.contact-list a:hover {
  color: var(--accent);
}


/* ══════════════════════════════════════════════
   TEMPLATES — Ícones, partilha, navbar WhatsApp
   ══════════════════════════════════════════════ */

/* Ícones de serviço maiores (service_list) */
.service-icon-lg {
  width: 64px;
  height: 64px;
  font-size: 2.2rem;
  border-radius: 18px;
}

/* Ícone hero de serviço (service_detail) */
.service-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--accent-glow);
  border: 1px solid rgba(0,212,125,0.25);
  border-radius: 20px;
  color: var(--accent);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

/* Ícone de detalhe (about page) */
.detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent-glow);
  border: 1px solid rgba(0,212,125,0.2);
  border-radius: 10px;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

/* Ícones MVV (about) */
.mvv-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--accent-glow);
  border: 1px solid rgba(0,212,125,0.2);
  border-radius: 14px;
  color: var(--accent);
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

/* Ícone de contacto */
.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--accent-glow);
  border: 1px solid rgba(0,212,125,0.2);
  border-radius: 12px;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Redes sociais na página de contacto */
.contact-socials {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.contact-socials-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

/* WhatsApp na navbar */
.nav-link-wa {
  color: #25d366 !important;
  font-size: 1.1rem;
  padding: 0.5rem 0.6rem !important;
}

.nav-link-wa:hover {
  background: rgba(37,211,102,0.12) !important;
  color: #25d366 !important;
}

/* Botões de partilha de artigo */
.post-share {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.post-share-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-right: 0.4rem;
}

.post-share-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition);
}

.post-share-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* km-arrow com ícone em vez de texto */
.km-arrow {
  font-size: 1.2rem;
  color: var(--text-dim);
  margin: 0.5rem 0;
  display: block;
}

/* ==========================================================================
   MELHORIAS VISUAIS DE ELITE - KITUXI TECH
   ========================================================================== */

/* 1. Efeito Glow Realista no título Hero */
.hero-title-highlight {
    text-shadow: 0 0 20px rgba(0, 212, 125, 0.3);
    animation: pulseGlow 3s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from { text-shadow: 0 0 20px rgba(0, 212, 125, 0.2); }
    to { text-shadow: 0 0 35px rgba(0, 212, 125, 0.5), 0 0 10px rgba(77, 138, 144, 0.3); }
}

/* 2. Deixar os botões primários com hover ultra-smooth e elevação */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease !important;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px var(--accent), 0 5px 15px rgba(0, 212, 125, 0.4);
}

/* 3. Upgrade nos teus Cards (Blog, Serviços, etc.) */
.services-grid .service-card, .blog-card, .team-card {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Quando o utilizador passa o rato nos cards: efeito vidro + borda neon + elevação */
.services-grid .service-card:hover, .blog-card:hover {
    transform: translateY(-8px) scale(1.01);
    background: var(--surface-2) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4),
                0 0 20px rgba(0, 212, 125, 0.1);
}

/* 4. Animação nos Ícones dos serviços quando passa o rato no card */
.service-card:hover .service-icon i {
    transform: scale(1.18);
    color: var(--accent-2) !important;
    filter: drop-shadow(0 0 8px var(--accent));
}

.service-icon i {
    transition: transform 0.3s ease, color 0.3s ease, filter 0.3s ease;
}

/* --- Botão Flutuante WhatsApp (Com Efeito Glow Kituxi) --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* Mantemos o verde do WhatsApp */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    z-index: 1000;
    text-decoration: none;
    /* Transição ultra-smooth copiada dos teus botões primários */
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, background-color 0.3s ease;
    /* Brilho base leve para destacar no fundo escuro */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 15px rgba(37, 211, 102, 0.2);
}

.floating-whatsapp:hover {
    background-color: #25d366; /* Mantém a cor vibrante no hover */
    color: #ffffff;
    /* Efeito de elevação e o brilho intenso (Glow) igual ao .btn-primary */
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 0 25px #25d366, 0 5px 15px rgba(37, 211, 102, 0.5);
}

/* Ajuste para ecrãs mais pequenos (Mobile) */
@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}