:root {
  --navy: #10233e;
  --navy-light: #16304f;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --accent: #10b981;
  --bg: #f7f8fb;
  --white: #ffffff;
  --text: #1b2430;
  --text-muted: #5b6572;
  --border: #e4e7ec;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(16, 35, 62, 0.08);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white);
}

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

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: #d7dee8;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.nav-links a.active {
  color: var(--white);
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 2px;
  background: var(--accent);
}

.nav-cta { display: inline-block; }

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

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  display: block;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.btn--primary:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.28);
}

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

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--small {
  padding: 9px 18px;
  font-size: 0.88rem;
  background: var(--accent);
  color: var(--white);
}

.btn--full { width: 100%; }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 90px 0 70px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero__text h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.accent { color: var(--accent); }

.hero__text p {
  color: #c3ccd8;
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero .btn--outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.hero .btn--outline:hover {
  background: var(--white);
  color: var(--navy);
}

.hero__stats {
  display: flex;
  gap: 40px;
}

.hero__stats div {
  display: flex;
  flex-direction: column;
}

.hero__stats strong {
  font-size: 1.6rem;
  color: var(--accent);
  font-family: var(--font-heading);
}

.hero__stats span {
  font-size: 0.85rem;
  color: #a9b3c1;
}

/* HERO MOCK VISUAL */
.mock-browser {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.mock-browser__bar {
  background: #e9edf3;
  padding: 12px 14px;
  display: flex;
  gap: 6px;
}

.mock-browser__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c7cfda;
}

.mock-browser__body {
  padding: 24px;
}

.mock-line {
  height: 14px;
  border-radius: 6px;
  background: #e6eaf0;
  margin-bottom: 12px;
}

.mock-line--title {
  width: 70%;
  height: 20px;
  background: var(--navy);
  opacity: 0.85;
}

.mock-line--short { width: 45%; }

.mock-cards {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.mock-card {
  flex: 1;
  height: 70px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.mock-card:nth-child(2) { background: linear-gradient(135deg, var(--accent), #059669); }
.mock-card:nth-child(3) { background: linear-gradient(135deg, #10233e, #16304f); }

/* PAGE HEADER (páginas internas) */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.page-header p {
  color: #c3ccd8;
  max-width: 560px;
  margin: 0 auto;
}

/* SECTIONS */
.section {
  padding: 80px 0;
}

.section__cta {
  text-align: center;
  margin-top: 40px;
}

.section--alt {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 12px;
  color: var(--navy);
}

.section__subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 48px;
}

/* GRID + CARDS */
.grid {
  display: grid;
  gap: 24px;
}

.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card__icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card--service .price {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  color: var(--accent);
  font-size: 0.9rem;
}

/* PROJECT CARDS */
.project-card__cover {
  height: 140px;
  border-radius: 10px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  color: rgba(255,255,255,0.9);
}

.project-card__cover--1 { background: linear-gradient(135deg, var(--blue), var(--navy)); }
.project-card__cover--2 { background: linear-gradient(135deg, var(--accent), #059669); }
.project-card__cover--3 { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }

/* LINK CARDS (recursos externos) */
.link-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.link-card__icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
  color: var(--blue);
}

.link-card__go {
  margin-top: auto;
  padding-top: 14px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--blue);
}

/* CONTACT */
.contact {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact__form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.form-row input,
.form-row select,
.form-row textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.form-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #16a34a;
  min-height: 20px;
  text-align: center;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.info-card h3 {
  color: var(--navy);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.info-link {
  display: block;
  padding: 8px 0;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.info-link:last-child { border-bottom: none; }

.info-card--dark {
  background: var(--navy);
  color: var(--white);
}

.info-card--dark h3 { color: var(--white); }

.info-card--dark ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-card--dark li {
  padding-left: 22px;
  position: relative;
  color: #c3ccd8;
  font-size: 0.92rem;
}

.info-card--dark li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* FOOTER */
.footer {
  background: var(--navy);
  color: #a9b3c1;
  padding: 26px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
}

.footer__links {
  display: flex;
  gap: 20px;
}

.footer__links a:hover { color: var(--white); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px 24px;
    display: none;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero__text h1 { font-size: 2rem; }
  .hero__stats { flex-wrap: wrap; gap: 24px; }
}

@media (max-width: 560px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
}
