/*
Theme Name: Kriava
Theme URI: https://kriava.co.mz
Author: Kriava, Lda.
Author URI: https://kriava.co.mz
Description: Tema oficial da Kriava — empresa moçambicana de tecnologia.
Version: 1.0.0
License: Proprietary
Text Domain: kriava
*/

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

:root {
  --terracota: #C05E3A;
  --terracota-light: #E8A98A;
  --terracota-dark: #8B3D22;
  --ambar: #D4891F;
  --ambar-light: #F0C070;
  --floresta: #2D5C3F;
  --floresta-light: #4A8B5E;
  --carvao: #1E1E1E;
  --carvao-med: #2C2C2C;
  --creme: #F5F0E8;
  --creme-dark: #EDE5D5;
  --white: #FFFFFF;
  --text-muted: #6B6560;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--carvao);
  color: var(--creme);
  overflow-x: hidden;
}

/* ===========================
   NAV
=========================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 5vw;
  background: rgba(30,30,30,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  color: var(--creme);
  text-decoration: none;
}

.nav-logo span { color: var(--terracota); }

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

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(245,240,232,0.65);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--terracota) !important;
  color: var(--creme) !important;
  padding: 0.55rem 1.25rem !important;
  border-radius: 4px;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  text-transform: none !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--terracota-dark) !important; }

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

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--creme);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--carvao-med);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 5vw;
  z-index: 99;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(245,240,232,0.7);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 5vw;
  padding-top: 80px;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 70% 50%, rgba(192,94,58,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracota-light);
  margin-bottom: 1.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--terracota-light);
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.75rem;
}

.hero-title em { font-style: normal; color: var(--terracota); }

.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245,240,232,0.7);
  max-width: 42ch;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--terracota);
  color: var(--creme);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.btn-primary:hover { background: var(--terracota-dark); transform: translateY(-1px); color: var(--creme); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(245,240,232,0.7);
  padding: 0.85rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  transition: color 0.2s, border-color 0.2s;
}

.btn-secondary:hover { color: var(--creme); border-color: rgba(255,255,255,0.3); }

/* Hero Visual / Card */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-stack { position: relative; width: 100%; max-width: 420px; }

.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.75rem;
  backdrop-filter: blur(8px);
}

.hero-card-main { position: relative; z-index: 2; }

.hero-card-back {
  position: absolute;
  top: -18px; left: 24px; right: -24px;
  background: rgba(192,94,58,0.12);
  border: 1px solid rgba(192,94,58,0.2);
  border-radius: 16px;
  height: 100%;
  z-index: 1;
}

.card-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracota-light);
  margin-bottom: 1rem;
}

.card-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.metric-num {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--creme);
}

.metric-label {
  font-size: 0.75rem;
  color: rgba(245,240,232,0.45);
  margin-top: 0.1rem;
}

.card-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
  margin-bottom: 1rem;
}

.bar { flex: 1; border-radius: 3px 3px 0 0; }
.bar-1 { height: 40%; background: rgba(192,94,58,0.4); }
.bar-2 { height: 65%; background: rgba(192,94,58,0.5); }
.bar-3 { height: 45%; background: rgba(192,94,58,0.4); }
.bar-4 { height: 80%; background: var(--terracota); }
.bar-5 { height: 55%; background: rgba(192,94,58,0.5); }
.bar-6 { height: 70%; background: rgba(192,94,58,0.45); }
.bar-7 { height: 90%; background: var(--terracota); }

.card-tag-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.tag {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  color: rgba(245,240,232,0.6);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ===========================
   LOGOS BAR
=========================== */
.logos-bar {
  padding: 2.5rem 5vw;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logos-label {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.3);
  margin-bottom: 1.5rem;
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.logo-item {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: rgba(245,240,232,0.25);
  transition: color 0.2s;
  text-decoration: none;
}

.logo-item:hover { color: rgba(245,240,232,0.5); }

/* ===========================
   SECTIONS
=========================== */
section { padding: 6rem 5vw; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracota-light);
  margin-bottom: 1.25rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--terracota-light);
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245,240,232,0.6);
  max-width: 48ch;
}

/* ===========================
   PRODUTOS
=========================== */
.products { background: var(--carvao-med); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5px;
  margin-top: 4rem;
  border: 1.5px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
}

.product-card {
  background: var(--carvao-med);
  padding: 2.5rem;
  position: relative;
  transition: background 0.3s;
}

.product-card:hover { background: rgba(192,94,58,0.07); }

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(192,94,58,0.15);
  border: 1px solid rgba(192,94,58,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.product-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.product-name span {
  color: var(--terracota-light);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  vertical-align: super;
  margin-left: 0.3rem;
}

.product-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(245,240,232,0.55);
  margin-bottom: 1.75rem;
}

.product-features { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }

.product-features li {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.5);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-features li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terracota);
  flex-shrink: 0;
}

.product-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 20px;
  background: rgba(212,137,31,0.15);
  color: var(--ambar-light);
  border: 1px solid rgba(212,137,31,0.25);
}

.product-badge.live {
  background: rgba(45,92,63,0.2);
  color: #7EC896;
  border-color: rgba(45,92,63,0.4);
}

/* ===========================
   SERVIÇOS
=========================== */
.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.25s, background 0.25s;
}

.service-card:hover {
  border-color: rgba(192,94,58,0.35);
  background: rgba(192,94,58,0.05);
}

.service-num {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: rgba(192,94,58,0.2);
  line-height: 1;
  margin-bottom: 1rem;
}

.service-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.service-desc {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(245,240,232,0.45);
}

/* ===========================
   MANIFESTO
=========================== */
.manifesto {
  background: var(--terracota);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 7rem 5vw;
}

.manifesto-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0,0,0,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.manifesto-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.manifesto-content { position: relative; z-index: 1; }

.manifesto-quote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: var(--creme);
  max-width: 20ch;
  margin: 0 auto 2rem;
}

.manifesto-desc {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(245,240,232,0.75);
  max-width: 50ch;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ===========================
   EQUIPA / SOBRE
=========================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.stat-block {
  padding: 1.75rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  text-align: center;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: var(--terracota);
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(245,240,232,0.4);
  margin-top: 0.3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}

.team-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.25s;
}

.team-card:hover { border-color: rgba(192,94,58,0.3); }

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  background: rgba(192,94,58,0.2);
  color: var(--terracota-light);
  border: 2px solid rgba(192,94,58,0.25);
}

.team-name {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.team-role {
  font-size: 0.78rem;
  color: var(--terracota-light);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(245,240,232,0.45);
}

/* ===========================
   CONTACTO
=========================== */
.contact { background: var(--carvao-med); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  margin-top: 4rem;
}

.contact-info-block { margin-bottom: 2rem; }

.contact-info-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracota-light);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.contact-info-value {
  font-size: 1rem;
  color: rgba(245,240,232,0.75);
}

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

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

.form-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(245,240,232,0.5);
  text-transform: uppercase;
}

.form-input, .form-textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--creme);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-input::placeholder, .form-textarea::placeholder { color: rgba(245,240,232,0.2); }
.form-input:focus, .form-textarea:focus { border-color: rgba(192,94,58,0.5); }
.form-textarea { resize: vertical; min-height: 120px; }

.form-success {
  font-size: 0.82rem;
  color: #7EC896;
  display: none;
  margin-top: 0.5rem;
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  padding: 3rem 5vw;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
  color: var(--creme);
  text-decoration: none;
}

.footer-logo span { color: var(--terracota); }

.footer-copy { font-size: 0.8rem; color: rgba(245,240,232,0.3); }

.footer-links { display: flex; gap: 2rem; list-style: none; }

.footer-links a {
  font-size: 0.8rem;
  color: rgba(245,240,232,0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--creme); }

/* ===========================
   ANIMAÇÕES
=========================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.34s; }
.delay-4 { animation-delay: 0.46s; }

.scroll-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 100px; min-height: auto; padding-bottom: 4rem; }
  .hero-visual { display: none; }
  .services-header { grid-template-columns: 1fr; gap: 1rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-title { font-size: 2.4rem; }
  .site-footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
