:root {
  /* Cores extraídas diretamente da logomarca SWEM */
  --navy: #070d44;
  --navy-hover: #0e1863;
  --blue: #0052e0;
  --cyan: #0fd2c2;
  --teal-text: #007d75;

  /* Neutros limpos */
  --bg: #ffffff;
  --bg-subtle: #f7f9fc;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;

  /* Escala e raios */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  color: var(--navy);
  background: #eef2f8;
  padding: 2px 5px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a:not(.btn) {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  transition: color 150ms ease;
}

.nav a:not(.btn):hover {
  color: var(--navy);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 14px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background-color: var(--navy);
  color: #ffffff;
}

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

.btn-outline {
  background-color: var(--bg);
  color: var(--navy);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background-color: var(--bg-subtle);
  border-color: var(--navy);
}

.btn-accent {
  background-color: var(--cyan);
  color: var(--navy);
}

.btn-accent:hover {
  background-color: #24e0d0;
}

.btn-light-outline {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-light-outline:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

/* Hero */
.hero {
  padding: 64px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.accent-bar {
  width: 44px;
  height: 4px;
  background-color: var(--cyan);
  border-radius: 2px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 17px;
  color: var(--text-body);
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-note {
  font-size: 14px;
  color: var(--text-muted);
}

.hero-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.hero-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background-color: var(--blue);
}

.check-list strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 2px;
}

.check-list span {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
}

.hero-card-footer {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.hero-card-footer strong {
  color: var(--navy);
  font-weight: 700;
}

/* Seções */
.section {
  padding: 72px 0;
}

.section-subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 16px;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Cards */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.card-index {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
}

.card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
  color: var(--text-body);
}

/* Projetos */
.project-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 150ms ease;
}

.project-card:hover {
  border-color: var(--blue);
}

.project-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.project-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.project-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.project-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
}

.project-link:hover {
  text-decoration: underline;
}

.project-url {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-text);
}

/* Planos */
.price-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price-card-featured {
  border: 2px solid var(--navy);
  box-shadow: 0 4px 14px rgba(7, 13, 68, 0.06);
}

.price-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.price-head h3 {
  margin-bottom: 6px;
}

.price-title-row h3 {
  margin-bottom: 0;
}

.tag-recommended {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: rgba(15, 210, 194, 0.22);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.price-head p {
  font-size: 14px;
  color: var(--text-muted);
}

.price-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.price-value .currency {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.price-value strong {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.feature-list li {
  font-size: 14px;
  color: var(--text-body);
  padding-left: 18px;
  position: relative;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-text);
  font-weight: 700;
}

.maintenance-box {
  margin-top: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.maintenance-box strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 4px;
}

.maintenance-box p {
  font-size: 14px;
  color: var(--text-body);
}

/* Processo */
.step-item {
  border-top: 2px solid var(--border);
  padding-top: 18px;
}

.step-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

.step-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Fundadores */
.founder-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.founder-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--navy);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-card h3 {
  font-size: 18px;
  margin-bottom: 3px;
}

.founder-role {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 10px;
}

.founder-card p {
  font-size: 14px;
  color: var(--text-body);
}

/* Contato */
.contact-section {
  padding-top: 56px;
  padding-bottom: 64px;
}

.contact-box {
  background: var(--navy);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.contact-text {
  max-width: 520px;
}

.contact-box h2 {
  color: #ffffff;
  font-size: clamp(24px, 3vw, 30px);
  margin-bottom: 10px;
}

.contact-box p {
  color: #cbd5e1;
  font-size: 15px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  min-width: 240px;
}

.contact-actions .btn {
  width: 100%;
}

.contact-email {
  font-size: 13px;
  color: #cbd5e1;
}

.contact-email:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Rodapé */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong {
  color: var(--navy);
}

.footer-links {
  display: flex;
  gap: 20px;
}

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

/* Responsivo */
@media (max-width: 960px) {
  .hero-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .contact-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-actions {
    width: 100%;
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-cta {
    width: 100%;
  }

  .hero {
    padding: 40px 0 56px;
  }

  .section {
    padding: 52px 0;
  }

  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .contact-box {
    padding: 28px 22px;
  }
}
