@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --orange: #ff6a00;
  --navy: #071425;
  --ink: #101828;
  --muted: #667085;
  --white: #fff;
  --line: #e7eaf0;
  --shadow: 0 18px 45px rgba(4,16,35,.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--ink); background: var(--white); }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* Topbar & Header — Logo à esquerda, ações à direita, alinhado ao margeamento global de 7vw */
.topbar {
  position: sticky; top: 0; z-index: 50; min-height: 80px;
  background: rgba(255,255,255,.98); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 7vw; /* Margeamento idêntico ao das seções principais do site */
}

.brand { flex: 0 0 auto; width: clamp(190px, 19vw, 265px); max-width: 270px; display: flex; align-items: center; justify-content: flex-start; }
.brand-lockup { width: 100%; max-width: 270px; max-height: 76px; height: auto; object-fit: contain; display: block; }
.menu-toggle { display: none; }

/* Menu Principal Espaçado */
.site-nav {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(14px, 1.8vw, 26px); flex: 1 1 auto; min-width: 0;
  margin: 0 12px;
}
.nav-link {
  font-size: 13px; font-weight: 800; color: #172033; white-space: nowrap;
  transition: color .18s ease; background: transparent; border: 0; padding: 10px 4px;
}
.nav-link:hover { color: var(--orange); }
.nav-contact-button {
  background: var(--orange); color: var(--white); padding: 11px 16px;
  border-radius: 12px; box-shadow: 0 8px 20px rgba(255,106,0,.2); margin-left: 6px;
}
.nav-contact-button:hover { background: #e85f00; color: var(--white); }

.top-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex: 0 0 36px;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--white); box-shadow: 0 2px 7px rgba(16,24,40,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.icon-btn:hover { background: var(--white); border-color: #d0d5dd; box-shadow: 0 5px 12px rgba(16,24,40,.12); transform: translateY(-1px); }
.social-icon { width: 21px; height: 21px; display: block; }
.whatsapp { color: #25D366; }
.facebook { color: #1877F2; }

/* Botoes e Labels Gerais */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px 20px; border-radius: 14px; font-weight: 800; font-size: 14px;
  transition: .2s transform, .2s box-shadow; border: 1px solid transparent; text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.primary { background: #ff7900; color: var(--white); border-color: #ff7900; }
.outline { background: transparent; color: #ff7900; border: 1px solid #ff7900; }
.page-label, .eyebrow { display: inline-block; color: #f28a35; font-size: 11px; font-weight: 900; letter-spacing: .16em; margin-bottom: 15px; text-transform: uppercase; }

/* Hero */
.hero-editable {
  display: grid; grid-template-columns: minmax(0,1.03fr) minmax(0,.97fr);
  align-items: center; gap: clamp(24px,4vw,58px); min-height: 520px;
  padding: clamp(42px,6vw,84px) clamp(24px,5vw,76px); margin: 0;
  background: #06101e; color: var(--white); position: relative; overflow: hidden;
}
.hero-editable-copy { position: relative; z-index: 2; max-width: 680px; }
.hero-editable h1 { font-size: clamp(38px,4.2vw,66px); line-height: 1.02; letter-spacing: -.04em; margin: 0 0 20px; }
.hero-editable h2 { font-size: clamp(19px,1.8vw,26px); line-height: 1.35; color: #ff7900; margin: 0 0 20px; font-weight: 800; }
.hero-description { font-size: clamp(15px,1.15vw,17px); line-height: 1.65; color: #f1f4f8; margin: 0 0 28px; }
.hero-editable-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-editable-art { display: flex; align-items: center; justify-content: center; position: relative; width: 100%; }
.hero-chip-background { display: block; width: 100%; height: auto; object-fit: contain; }

/* Seções Gerais */
.section { padding: 90px 7vw; }
.section-head { max-width: 800px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(32px,4.2vw,55px); line-height: 1.02; letter-spacing: -.045em; margin: 0 0 14px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* Empresa */
.company-section { display: grid; grid-template-columns: 1fr 1fr; column-gap: 52px; row-gap: 34px; align-items: center; background: #f7f9fc; }
.company-copy p { font-size: 16px; line-height: 1.8; color: var(--muted); }
.company-image { background: none; padding: 0; overflow: hidden; border-radius: 24px; }
.company-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.company-features { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-top: 4px; }
.company-feature {
  background: linear-gradient(145deg, #0b2038 0%, #12375a 100%); border: 1px solid rgba(255,255,255,.13);
  border-radius: 15px; padding: 15px 12px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  box-shadow: 0 12px 28px rgba(7,22,40,.20); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.company-feature:hover { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(7,22,40,.28); border-color: rgba(255,106,0,.45); }
.company-feature svg { height: 38px; width: 38px; stroke: #ff9b4a; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.company-feature strong { font-size: 11px; line-height: 1.35; color: #f5f8fc; max-width: 205px; }

.company-extra { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); align-items: stretch; gap: 22px; margin-top: 26px; }
.company-vision {
  background: linear-gradient(145deg, #0b1c31, #12345a); color: #d3dbe5; border: 1px solid rgba(255,106,0,.55);
  border-radius: 18px; padding: 28px; box-shadow: 0 16px 34px rgba(4,16,35,.14); display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.company-vision:hover { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(16,32,56,.16); }
.company-vision h3 { font-size: clamp(23px,2vw,30px); line-height: 1.2; color: #d7dee8; margin: 8px 0 15px; }
.company-vision p { color: #c2ccd9; line-height: 1.7; margin: 0; font-size: 15px; }

/* Soluções (Cards) */
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  border: 1px solid rgba(255,106,0,.55); border-radius: 22px; overflow: hidden; background: var(--white);
  box-shadow: var(--shadow); transition: transform .24s ease, box-shadow .24s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(10,28,55,.16); }
.card > img { width: 100%; height: 205px; object-fit: cover; object-position: center 10%; }
.card-body { padding: 22px; }
.card-number { font-size: 11px; color: var(--orange); font-weight: 900; letter-spacing: .1em; }
.card h3 { font-size: 22px; margin: 8px 0; color: var(--ink); }
.card p { font-size: 14px; line-height: 1.65; color: var(--muted); min-height: 68px; margin-bottom: 15px; }
.more { border: 0; background: none; padding: 0; color: var(--orange); font-weight: 900; }

/* Como Funciona */
.dark-section { background: #061221; color: var(--white); }
.dark-section .section-head h2 { color: var(--white); }
.dark-section .section-head p { color: #aab8c8; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
.step {
  padding: 28px; border: 1px solid rgba(255,106,0,.55); border-radius: 18px; background: rgba(255,255,255,.04);
  transition: transform .24s ease, border-color .24s ease;
}
.step:hover { transform: translateY(-4px); border-color: rgba(243,107,18,.48); }
.step b { color: var(--orange); font-size: 12px; }
.step h3 { font-size: 21px; margin: 10px 0; }
.step p { color: #aab8c8; line-height: 1.6; font-size: 14px; margin: 0; }

/* Parceiros */
.partners-section { background: var(--white); }
.partner-cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.partner-card {
  border: 1px solid rgba(255,106,0,.55); border-radius: 17px; background: var(--white);
  box-shadow: 0 10px 28px rgba(7,20,37,.06); transition: transform .22s ease, box-shadow .22s ease;
}
.partner-card:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(10,28,55,.16); }
.partner-card-link { height: 100%; min-height: 225px; display: flex; flex-direction: column; align-items: flex-start; padding: 22px; gap: 11px; }
.partner-card-link > img { width: 100%; height: 55px; object-fit: contain; object-position: center; margin-bottom: 5px; }
.partner-card h3 { font-size: 17px; line-height: 1.25; margin: 0; color: #172033; }
.partner-card p { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; flex: 1; }
.partner-visit { font-size: 12px; font-weight: 850; color: #f06a00; }

/* Suporte Remoto */
.support-section { background: #f7f9fc; }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; max-width: 900px; margin: 0 auto 20px; }
.download-card {
  border: 1px solid rgba(255,106,0,.55); border-radius: 20px; background: var(--white); padding: 28px;
  box-shadow: 0 12px 32px rgba(7,20,37,.06); display: flex; flex-direction: column; align-items: center; gap: 20px;
  transition: transform .24s ease, box-shadow .24s ease;
}
.download-card:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(10,28,55,.16); }
.download-icon { height: 78px; width: 250px; display: flex; align-items: center; justify-content: center; border-radius: 13px; background: var(--white); border: 1px solid var(--white); }
.support-note { max-width: 900px; margin: 0 auto; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; }

/* Contato */
.contact-section { padding: 80px 7vw; background: linear-gradient(120deg, #ff6a00, #ff8a00); color: var(--white); display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; }
.contact-section .page-label { color: var(--white) !important; }
.contact-section h2 { font-size: clamp(35px,4vw,58px); line-height: 1; margin: 0 0 15px; }
.contact-section p { font-size: 17px; line-height: 1.6; max-width: 680px; margin: 0; }
.contact-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.contact-actions .primary { background: #111827; color: var(--white); border: 0; }
.contact-actions .outline { border: 1px solid rgba(255,255,255,.7); color: var(--white); }
.facebook-contact { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: #1877f2; color: var(--white); font-size: 14px; font-weight: 800; }
.contact-data { display: flex; flex-direction: column; gap: 4px; line-height: 1.6; border-top: 1px solid rgba(255,255,255,.3); padding-top: 15px; font-size: 13px; }

/* Footer */
footer { background: #030a13; color: #9aa8b8; padding: 25px 7vw; display: flex; justify-content: space-between; font-size: 12px; }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(1,7,15,.78); backdrop-filter: blur(8px); z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-box { max-width: 620px; background: var(--white); border-radius: 24px; padding: 38px; position: relative; box-shadow: 0 30px 90px rgba(0,0,0,.4); }
.modal-box h2 { font-size: 38px; margin: 5px 0 12px; color: var(--ink); }
.modal-box p { font-size: 16px; line-height: 1.8; color: var(--muted); margin-bottom: 25px; }
.close { position: absolute; right: 16px; top: 12px; border: 0; background: #f2f4f7; border-radius: 50%; width: 38px; height: 38px; font-size: 26px; display: flex; align-items: center; justify-content: center; }

/* Responsividade Adaptada para Dispositivos Portáteis */
@media (max-width: 1250px) {
  .topbar { padding: 0 5vw; }
  .site-nav { gap: 10px; }
  .nav-link { font-size: 12px; padding: 10px 2px; }
  .nav-contact-button { padding: 10px 12px; }
  .partner-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 1024px) {
  .topbar { flex-wrap: wrap; justify-content: space-between; padding: 12px 20px; min-height: 72px; }
  .brand { max-width: 175px; justify-content: flex-start; order: 1; }
  .brand-lockup { max-height: 46px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font-size: 22px; order: 3; }
  .top-actions { order: 2; margin-left: auto; margin-right: 12px; }
  
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; width: 100%; padding: 16px 24px 22px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 28px rgba(7,20,37,.12); flex-direction: column; align-items: stretch; gap: 8px; margin: 0; }
  .site-nav.is-open { display: flex; }
  .nav-link { font-size: 15px; padding: 12px 14px; text-align: left; border-bottom: 1px solid #f0f2f5; border-radius: 8px; }
  .nav-link:hover { background: #f7f9fc; }
  .nav-contact-button { margin-left: 0; text-align: center; margin-top: 6px; border-bottom: none; }

  .hero-editable { grid-template-columns: 1fr; gap: 24px; padding: 60px 6vw; }
  .hero-editable-copy { max-width: 100%; }
  .hero-editable-art { width: min(100%, 560px); margin: 0 auto; }
  
  .company-section, .contact-section { grid-template-columns: 1fr; }
  .company-features { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .company-extra { grid-template-columns: 1fr; }
  
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .topbar { padding: 10px 16px; }
  .brand { max-width: 160px; }
  
  .hero-editable, .section, .contact-section { padding-left: 20px; padding-right: 20px; }
  .hero-editable h1 { font-size: 38px; }
  .hero-editable-actions { flex-direction: column; align-items: stretch; }
  
  .solution-grid, .steps, .partner-cards, .download-grid, .company-features { grid-template-columns: 1fr; }
  
  .company-vision { padding: 22px; }
  .contact-actions { flex-direction: column; align-items: stretch; }
  .contact-actions .btn { width: 100%; text-align: center; justify-content: center; }
  footer { flex-direction: column; gap: 8px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Contato — endereço à esquerda e formulário à direita */
.contact-section {
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, .85fr);
  align-items: start;
  column-gap: clamp(32px, 5vw, 82px);
  row-gap: 28px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.contact-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.contact-intro h2 {
  max-width: 780px;
}

.contact-intro p {
  max-width: 680px;
}

.contact-data {
  align-items: flex-start;
  text-align: left;
  width: 100%;
  margin-top: 46px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.35);
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.contact-form {
  width: 100%;
  max-width: 520px;
  justify-self: end;
  background: #fff;
  color: #171717;
  border-radius: 14px;
  padding: clamp(22px, 2.4vw, 30px);
  box-shadow: 0 12px 34px rgba(75, 35, 0, .13);
}

.contact-form-heading {
  margin-bottom: 24px;
}

.contact-form-heading h3 {
  margin: 0 0 5px;
  color: #171717;
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: 500;
}

.contact-form-heading p {
  margin: 0;
  color: #77716b;
  font-size: 12px;
  line-height: 1.5;
}

.contact-form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  color: #77716b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #ded6cd;
  border-radius: 8px;
  background: #faf9f7;
  color: #171717;
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.form-field input {
  min-height: 44px;
}

.form-field textarea {
  min-height: 105px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #ff7900;
  box-shadow: 0 0 0 3px rgba(255,121,0,.13);
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 15px 0 18px;
  color: #77716b;
  font-size: 11px;
  line-height: 1.45;
  cursor: pointer;
}

.contact-consent input {
  width: 14px;
  height: 14px;
  margin: 1px 0 0;
  accent-color: #ff7900;
  flex: 0 0 auto;
}

.contact-submit {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  background: #171615;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: background .18s ease, transform .18s ease;
}

.contact-submit:hover {
  background: #303030;
  transform: translateY(-1px);
}

.contact-form-note {
  margin: 10px 0 0 !important;
  color: #77716b !important;
  font-size: 10px !important;
  line-height: 1.45 !important;
}

@media (max-width: 1024px) {
  .contact-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-form {
    justify-self: start;
    max-width: 620px;
  }

  .contact-data {
    margin-top: 30px;
  }
}

@media (max-width: 620px) {
  .contact-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .contact-form {
    max-width: none;
    padding: 22px 18px;
  }

  .contact-form-fields {
    grid-template-columns: 1fr;
  }

  .form-field-full {
    grid-column: auto;
  }

  .contact-data {
    margin-top: 26px;
  }
}