:root {
  --bg: #040607;
  --panel: #0b1213;
  --panel-soft: #10191a;
  --text: #edf6f2;
  --muted: #9fb3aa;
  --accent: #2fc176;
  --accent-2: #23945b;
  --border: #1b2b28;
  --max: 1440px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Saira Condensed", system-ui, sans-serif;
  font-size: 18px;
}

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

h1, h2, h3, h4 {
  margin: 0 0 14px;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
h3 { font-size: 1.35rem; }
p { color: var(--muted); margin: 0 0 12px; line-height: 1.6; }
a { color: inherit; }

.kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
}
.section-head h2 { margin-bottom: 10px; }
.section-head .partner-lead {
  margin: 0;
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  padding: 11px 18px;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  border-color: var(--accent-2);
  color: #072110;
}
.btn-outline {
  background: transparent;
  border-color: #29423a;
  color: #d8ece2;
}
.btn-text {
  background: transparent;
  color: #d8ece2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(4, 6, 7, 0.84);
  backdrop-filter: blur(8px);
}
.header-row {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}
.header-end {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(8, 16, 14, 0.92);
  gap: 2px;
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 6px 10px;
  border-radius: 999px;
  text-decoration: none;
  color: #8aa498;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.lang-switch a:hover {
  color: #d8ece2;
}
.lang-switch a.is-active {
  color: var(--accent);
  background: rgba(47, 193, 118, 0.14);
  box-shadow: inset 0 0 0 1px rgba(47, 193, 118, 0.35);
}
.lang-switch-mobile { display: none; }
.logo { height: 24px; width: auto; }
.logo-link { display: inline-flex; text-decoration: none; }
.main-nav {
  justify-self: center;
  display: flex;
  gap: 18px;
}
.main-nav a {
  text-decoration: none;
  color: #b7c9c1;
  font-size: 0.95rem;
  font-weight: 600;
}

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: center / cover no-repeat url("/imagens/bg.png");
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 35%, rgba(47, 193, 118, 0.18), transparent 38%),
    linear-gradient(90deg, rgba(4, 6, 7, 0.88) 0%, rgba(4, 6, 7, 0.56) 52%, rgba(4, 6, 7, 0.9) 100%);
}
.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 100px;
}
.hero-copy { max-width: 860px; }
.hero-copy h1 { white-space: pre-line; }
.hero-copy > p { max-width: 60ch; margin-left: auto; margin-right: auto; }
.hero-note {
  margin-top: 14px;
  color: #8aa498;
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; justify-content: center; }

.trust {
  padding: 56px 0;
}
.trust-kicker {
  text-align: center;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
}
.trust-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}
.trust-logos span {
  text-align: center;
  color: #d0e0d9;
  font-weight: 600;
}

.page { padding-top: 88px; padding-bottom: 124px; }
.section { margin-top: 128px; }
.section h2 { text-align: center; }
.section-intro {
  max-width: 640px;
  margin: 0 auto 24px;
  text-align: center;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.pillars-grid--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 1100px) {
  .pillars-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.checklist-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  max-width: 860px;
  text-align: left;
}
.checklist-grid--services {
  max-width: 720px;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.98rem;
}
.checklist-item--full {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 360px;
}
.checklist-mark {
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
  line-height: 1.4;
}
.pillar-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #000;
  padding: 28px 24px;
  text-align: left;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
}
.pillar-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar-text h3 {
  font-size: 1.25rem;
  color: #e8f5ee;
  margin-bottom: 8px;
}
.pillar-text p {
  color: #9bb9ae;
  line-height: 1.75;
  font-size: 1.05rem;
}

.partner-intro { text-align: left; }
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.partner-text .kicker { text-align: left; }
.partner-text h2 { text-align: left; }
.partner-lead {
  margin: 16px 0 0;
  color: #b8cfc7;
  font-size: 1.15rem;
  line-height: 1.75;
}
.partner-image img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #000000;
  padding: 16px;
}
.service-card .icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(47, 193, 118, 0.35);
  color: var(--accent);
  margin-bottom: 10px;
}
.section-center { text-align: center; }
.section-cta { margin-top: 36px; text-align: center; }

.steps {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
}
.step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.step-line {
  width: 1px;
  flex: 1;
  background: var(--border);
  margin: 8px 0;
  min-height: 32px;
}
.step:last-child .step-line { display: none; }
.step-body {
  padding-bottom: 40px;
}
.step-body h3 {
  font-size: 1.3rem;
  color: #e8f5ee;
  margin: 8px 0 10px;
}
.step-body p {
  color: #9bb9ae;
  line-height: 1.8;
  font-size: 1.1rem;
}

.case-grid {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 32px;
  align-items: center;
}
.case-grid .case-image { order: 1; width: 100%; border-radius: 12px; }
.case-grid .case-quote { order: 2; }
.case-quote, .case-metrics {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #000000;
  padding: 16px;
}
blockquote {
  margin: 12px 0 8px;
  padding: 0;
  color: #dcefe6;
  font-size: 1.18rem;
}
.case-context {
  color: #9bb9ae;
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 14px;
}
.case-author { color: #bcd2c8; font-size: 0.95rem; }
.case-author span { color: #91a79d; }
.case-metrics div {
  border-bottom: 1px solid #1c302a;
  padding: 10px 0;
}
.case-metrics div:last-child { border-bottom: 0; }
.case-metrics strong {
  display: block;
  color: var(--accent);
  font-size: 1.6rem;
}
.case-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #29453b;
}

.contact-section {
  padding: 56px 0 44px;
}
.contact-shell {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #000000;
  padding: 28px 24px;
  max-width: 520px;
  margin: 0 auto;
}
.contact-form { margin-top: 0; }
.form-step-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 8px;
  line-height: 1.2;
}
.form-step-lead {
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.55;
}
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
label { color: #a6bbb1; font-size: 0.9rem; }
input, textarea {
  border-radius: 10px;
  border: 1px solid #1f322c;
  background: #08100e;
  color: #eef8f3;
  font: inherit;
  padding: 11px 12px;
  width: 100%;
}
.phone-input {
  display: flex;
  align-items: stretch;
  border-radius: 10px;
  border: 1px solid #1f322c;
  background: #08100e;
  overflow: hidden;
}
.phone-input:focus-within {
  border-color: #2f7753;
  box-shadow: 0 0 0 3px rgba(47, 193, 118, 0.15);
}
.phone-prefix {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  color: #a6bbb1;
  border-right: 1px solid #1f322c;
  white-space: nowrap;
  font-size: 0.95rem;
}
.phone-flag { font-size: 1.1rem; line-height: 1; }
.phone-input input {
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  flex: 1;
  min-width: 0;
}
.phone-input input:focus {
  outline: none;
  box-shadow: none;
}
.btn-full { width: 100%; justify-content: center; }
.form-privacy {
  margin: 14px 0 0;
  text-align: center;
  color: #7a9488;
  font-size: 0.85rem;
}
.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.form-actions .btn { flex: 1; justify-content: center; min-width: 140px; }
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus {
  outline: none;
  border-color: #2f7753;
  box-shadow: 0 0 0 3px rgba(47, 193, 118, 0.15);
}
.hp { display: none; }

.site-footer {
  padding: 24px 0 24px;
}

.footer-minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-minimal small {
  color: #a0b5ab;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 8px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(47, 193, 118, 0.08);
}

/* ── Hambúrguer (sempre presente, oculto no desktop) ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #d8ece2;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-cta-mobile { display: none !important; }

/* ── Tablet ── */
@media (max-width: 1100px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; gap: 32px; }
  .case-grid { grid-template-columns: 1fr; }
  .case-grid .case-image { max-height: 340px; object-fit: cover; }
  .contact-shell { max-width: 70%; }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }

  /* Tipografia */
  h1 { font-size: 2rem; line-height: 1.15; }
  h2 { font-size: 1.55rem; }
  h3 { font-size: 1.1rem; }
  .kicker { font-size: 0.72rem; }
  p { font-size: 0.97rem; line-height: 1.65; }

  /* Header */
  .header-row {
    grid-template-columns: auto 1fr auto;
    padding: 10px 0;
    min-height: 52px;
    gap: 10px;
  }
  .header-end { gap: 8px; }
  .lang-switch-desktop { display: none; }
  .lang-switch-mobile { display: inline-flex; }
  .lang-switch a { min-width: 34px; padding: 6px 9px; font-size: 0.72rem; }
  .nav-toggle { display: flex; }
  .nav-cta-desktop { display: none; }
  .nav-cta-mobile { display: inline-flex !important; margin-top: 4px; width: 100%; justify-content: center; }

  /* Nav drawer */
  .main-nav {
    display: none;
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    background: rgba(4, 6, 7, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    padding: 28px 24px 36px;
    gap: 18px;
    z-index: 29;
    border-bottom: 1px solid var(--border);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { font-size: 1.1rem; font-weight: 600; }
  .main-nav .lang-switch-mobile { margin: 4px 0 2px; }
  .lang-switch-desktop { display: none; }
  .lang-switch-mobile { display: inline-flex; }

  /* Hero */
  .hero { min-height: auto; }
  .hero-inner { padding-top: 56px; padding-bottom: 56px; }
  .hero-copy { max-width: 100%; }
  .hero-copy h1 { white-space: normal; font-size: 1.9rem; }
  .hero-copy > p,
  .hero-note { font-size: 1rem; max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; }

  /* Sections */
  .page { padding-top: 40px; padding-bottom: 60px; }
  .section { margin-top: 56px; }
  .section-cta { margin-top: 24px; text-align: center; }
  .section-cta .btn { width: 100%; max-width: 320px; }

  /* Quem Somos */
  .partner-intro { text-align: center; }
  .partner-grid { grid-template-columns: 1fr; gap: 24px; }
  .partner-image { order: -1; }
  .partner-image img { max-height: 220px; width: 100%; object-fit: cover; object-position: top; border-radius: 12px; }
  .partner-text .kicker,
  .partner-text h2 { text-align: center; }
  .partner-lead { font-size: 1rem; }

  /* O que fazemos */
  .checklist-grid { grid-template-columns: 1fr; gap: 12px; }
  .checklist-item--full { max-width: none; justify-self: stretch; }
  .pillars-grid { grid-template-columns: 1fr; gap: 14px; }
  .pillar-card { padding: 18px 16px; }
  .pillar-text h3 { font-size: 1.05rem; }
  .pillar-text p { font-size: 0.95rem; }

  /* Como funciona */
  .steps { max-width: 100%; margin-top: 32px; }
  .step-body h3 { font-size: 1.05rem; }
  .step-body p { font-size: 0.95rem; }

  /* Resultados */
  .case-grid { grid-template-columns: 1fr; gap: 20px; }
  .case-grid .case-image { max-height: 220px; object-fit: cover; order: 1; }
  .case-grid .case-quote { order: 2; }
  .case-quote { padding: 18px 16px; }
  blockquote { font-size: 1rem; }
  .case-context { font-size: 0.97rem; }

  /* Contato */
  .contact-section { padding: 40px 0 32px; }
  .contact-shell { max-width: 100%; padding: 20px 16px; }
  .form-grid { grid-template-columns: 1fr; }
}
