/* Mini-Jira — landing comercial (cores oficiais: azul + branco) */
:root {
  --bg: #f4f5f7;
  --panel: #ffffff;
  --text: #172b4d;
  --muted: #5e6c84;
  --border: #dfe1e6;
  --blue-deep: #0747a6;
  --blue: #0052cc;
  --blue-light: #deebff;
  --blue-hover: #0065ff;
  --navy: #172b4d;
  --success: #00875a;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 20px rgba(9, 30, 66, 0.12);
  --shadow-lg: 0 12px 40px rgba(9, 30, 66, 0.15);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font);
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(9, 30, 66, 0.06);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--blue-deep);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--blue-deep), var(--blue));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.nav-desktop {
  display: none;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-desktop a:hover {
  color: var(--blue);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  text-decoration: none;
  font-family: inherit;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 82, 204, 0.35);
}

.btn-primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 4px 14px rgba(0, 82, 204, 0.4);
}

.btn-ghost {
  background: var(--panel);
  color: var(--blue);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--blue-light);
  border-color: var(--blue);
}

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

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 0 1rem;
  border-top: 1px solid var(--border);
}

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

.nav-mobile a {
  color: var(--muted);
  padding: 0.35rem 0;
}

/* Header CTA: só desktop largo (evita apertar em smartphone) */
.site-header .inner > .btn-primary {
  display: none;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .site-header .inner > .btn-primary {
    display: inline-flex;
  }
}

@media (max-width: 899px) {
  .nav-mobile .btn-mobile-cta {
    display: inline-flex;
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2.5rem 0 3rem;
  }
  .hero h1 {
    font-size: 1.55rem;
  }
  .hero .lead {
    font-size: 1rem;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  section {
    padding: 2.75rem 0;
  }
  .site-header .logo {
    font-size: 1rem;
  }
  .logo-mark {
    width: 32px;
    height: 32px;
  }
}

/* Tablet: 2 colunas antes de 3 (personas/pillars) */
@media (min-width: 600px) and (max-width: 899px) {
  .personas,
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .personas .persona:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
    width: 100%;
  }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--blue-deep) 0%, #1e3a6e 45%, var(--navy) 100%);
  color: #fff;
  padding: 4rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -30%;
  width: 55%;
  height: 140%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

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

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.badge-hero {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.hero .lead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 1.75rem;
  max-width: 34rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero .btn-primary {
  background: #fff;
  color: var(--blue-deep);
  box-shadow: var(--shadow);
}

.hero .btn-primary:hover {
  background: var(--blue-light);
  color: var(--blue-deep);
}

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: transparent;
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-card {
  background: var(--panel);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}

.hero-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 1rem;
  color: var(--blue-deep);
}

.story-mini {
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-mini li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.story-mini li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.story-mini strong {
  color: var(--text);
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.section-intro {
  color: var(--muted);
  max-width: 42rem;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

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

/* Story block */
.story-block {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .story-block {
    grid-template-columns: 1fr 1fr;
  }
}

.story-quote {
  padding: 1.75rem;
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0;
}

.story-quote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--muted);
  font-weight: 600;
}

/* Personas */
.personas {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .personas {
    grid-template-columns: repeat(3, 1fr);
  }
}

.persona {
  padding: 1.5rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(9, 30, 66, 0.04);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.persona:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.persona-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-light);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.persona h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: var(--navy);
}

.persona p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Dual model */
.dual-model {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 900px) {
  .dual-model {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
  }
}

.dual-card {
  padding: 1.75rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(9, 30, 66, 0.05);
}

.dual-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0.35rem 0 0.75rem;
  color: var(--navy);
}

.dual-step {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
}

.dual-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 0.75rem;
}

.dual-card ul {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.dual-arrow {
  display: none;
  align-self: center;
  font-size: 1.75rem;
  color: var(--blue);
  font-weight: 700;
}

@media (min-width: 900px) {
  .dual-arrow {
    display: block;
  }
}

.order-block {
  padding: 1.75rem 2rem;
  background: var(--blue-light);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 82, 204, 0.15);
}

.order-block h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 1rem;
  color: var(--blue-deep);
}

.order-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text);
}

.order-list li {
  margin-bottom: 0.5rem;
}

/* Pillars */
.pillars {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar {
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.pillar-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.pillar p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Flow */
.flow-steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .flow-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.flow-step {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.flow-num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

.flow-step h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: var(--navy);
}

.flow-step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Cloud */
.cloud-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cloud-brand {
  flex: 1 1 140px;
  padding: 1.25rem 1.5rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  box-shadow: 0 1px 2px rgba(9, 30, 66, 0.05);
}

.env-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .env-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.env-card {
  padding: 1.25rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.env-card h4 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--blue-deep);
}

.env-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.practices-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .practices-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.practices-list li {
  padding: 0.65rem 1rem;
  background: var(--panel);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text);
  border: 1px solid var(--border);
}

.practices-list li::before {
  content: "✓ ";
  color: var(--success);
  font-weight: 700;
}

/* Solution highlight */
.solution-banner {
  text-align: center;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: #fff;
  border-radius: var(--radius-lg);
  margin-top: 2rem;
}

.solution-banner h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.solution-banner p {
  margin: 0;
  opacity: 0.92;
  max-width: 36rem;
  margin-inline: auto;
}

/* CTA */
.cta-section {
  background: var(--panel);
  border-top: 1px solid var(--border);
}

.cta-wrap {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.lead-form {
  text-align: left;
  margin-top: 1.5rem;
}

.lead-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--muted);
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue-light);
}

.lead-form .btn {
  width: 100%;
  padding: 0.85rem;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
}

.site-footer strong {
  color: #fff;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* Remove dark mesh from old theme */
.mesh,
.grid-noise {
  display: none;
}
