/* ==========================================================================
   UnderConnect HUB — base stylesheet
   Palette: reference-site neutrals + pastel cards; blue accents replaced by
   brandbook navy (#1B1F5E). Fonts per brandbook: Inter (headings) /
   Open Sans (body). Orange (#E8650A) reserved for the logo wordmark.
   ========================================================================== */

:root {
  /* Brandbook */
  --navy: #1B1F5E;
  --navy-dark: #141747;
  --orange: #E8650A;
  --white: #FFFFFF;
  --gray-light: #F2F2F2;
  --charcoal: #333333;

  /* Reference-site palette (kept) */
  --ink: #101828;
  --text: #475467;
  --bg: #FFFFFF;
  --bg-alt: #F7F7F8;
  --border: #E4E7EC;
  /* Audience tints derived from the brandbook hues */
  --card-carrier: #DEE1F2;     /* navy ~15% */
  --card-prime: #C7CCE8;       /* navy ~30% — Prime is the center of the chain */
  --card-contractor: #F8DFC9;  /* orange ~20% */
  --card-worker: #F1D3B4;      /* orange ~35% — the people side of the chain */
  --card-gray: #DCDCDC;

  --radius: 16px;
  --radius-sm: 8px;
  --container: 1200px;

  --font-heading: "Inter", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { margin: 0; }

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Promo bar (anúncio da fase de lançamento, acima do header)
   -------------------------------------------------------------------------- */

.promo-bar {
  background: var(--navy);
  color: var(--white);
}
.promo-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.promo-bar .promo-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
}
.btn-orange {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  line-height: 1.25;
}
.btn-orange:hover { background: #C95608; color: var(--white); }
.btn-orange small {
  display: block;
  font-weight: 400;
  font-size: 0.6875rem;
  opacity: 0.9;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
/* Official lockup (mark + wordmark). The footer sits on navy and uses the
   knockout file, so no filter trickery is needed. */
.brand .brand-logo { height: 38px; width: auto; }
.site-footer .brand .brand-logo { height: 42px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.main-nav a {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
}
.main-nav a:hover { color: var(--navy); text-decoration: none; }
.main-nav a.active { color: var(--navy); font-weight: 700; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile nav toggle (CSS-only) */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--navy);
  user-select: none;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-dark); color: var(--white); }

.btn-outline {
  background: var(--white);
  color: var(--ink);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }

.btn-light {
  background: var(--white);
  color: var(--navy);
}
.btn-light:hover { background: var(--gray-light); }

.btn .arrow { font-weight: 400; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head p { margin-top: 12px; }

/* Headlines that must stay on a single line on desktop */
.section-head.wide { max-width: 980px; }
@media (min-width: 960px) {
  .nowrap-md { white-space: nowrap; }
}

.eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding: 76px 0 56px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.hero h1 { max-width: 900px; margin: 0 auto; }

.hero .hero-sub {
  max-width: 760px;
  margin: 20px auto 0;
  font-size: 1.125rem;
}

.hero .hero-actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Trust bar — partners & associations (grayscale logo strip under the hero) */
.trust-strip {
  padding: 36px 0 64px;
}
.trust-strip .trust-label {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #98A2B3;
  margin-bottom: 28px;
}
/* Single-line infinite slider: the track holds two copies of the logo set
   and slides half of its own width per loop for a seamless scroll. */
.trust-strip .trust-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.trust-strip .trust-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: trust-scroll 26s linear infinite;
}
.trust-strip .trust-viewport:hover .trust-track { animation-play-state: paused; }
@keyframes trust-scroll {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .trust-strip .trust-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}
.trust-strip .trust-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.trust-strip .trust-logo img {
  height: 48px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.billing-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
}
.billing-option {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 10px 22px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.billing-option:first-child { border-radius: 999px 0 0 999px; }
.billing-option:last-child { border-radius: 0 999px 999px 0; border-left: none; }
.billing-option.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.billing-option .save-tag {
  background: var(--orange);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.plan {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.plan .plan-level {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

.plan h3 { font-size: 1.375rem; }

.plan .plan-audience {
  font-size: 0.9375rem;
  min-height: 48px;
}

.plan .plan-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--ink);
  line-height: 1;
}
.plan .plan-price .price-suffix {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.plan ul {
  list-style: none;
  display: grid;
  gap: 12px;
  flex-grow: 1;
}
.plan ul li {
  padding-left: 28px;
  position: relative;
  color: var(--ink);
  font-size: 0.9375rem;
}
.plan ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--navy);
}

.plan .btn { justify-content: center; }

.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.875rem;
  color: #98A2B3;
}

/* --------------------------------------------------------------------------
   Trust & Security grid and compliance roadmap (About page)
   -------------------------------------------------------------------------- */

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.security-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px 16px 46px;
  position: relative;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
}
.security-item::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 16px;
  font-weight: 700;
  color: var(--navy);
}
/* Same frame-highlight hover as the header "Log in" button */
.security-item { transition: border-color 0.15s ease; }
.security-item:hover { border-color: var(--navy); }

.roadmap {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 0;
}
.roadmap-item {
  position: relative;
  padding: 0 0 32px 36px;
  border-left: 2px solid var(--border);
  margin-left: 8px;
}
.roadmap-item:last-child { padding-bottom: 0; }
.roadmap-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--navy);
}
.roadmap-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.roadmap-head h3 { font-size: 1.125rem; }
.roadmap-tag {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gray-light);
  color: var(--text);
}
.roadmap-tag.priority { background: var(--orange); color: var(--white); }
.roadmap-tag.future { background: transparent; border: 1px solid var(--border); }

/* Footer pride line + USA flag inline after the last word */
.footer-pride { margin-top: 12px; }
.site-footer .usa-flag {
  display: inline-block;
  height: 21px;
  width: auto;
  vertical-align: -5px;
  margin-left: 6px;
  border-radius: 2px;
}

/* Confirmação de envio do formulário de contato (retorno do Formspree com ?sent=1) */
.form-success {
  margin: 0 auto 24px;
  max-width: 720px;
  padding: 14px 18px;
  border: 1px solid #ABEFC6;
  background: #ECFDF3;
  color: #067647;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}
.footer-bottom a:hover { color: var(--white); }

/* Wider hero subtitles (used where copy must break into fewer lines) */
.page-hero .hero-sub.hero-sub-wide { max-width: 900px; }
.page-hero .hero-sub.hero-sub-xwide { max-width: 1200px; font-size: 1.0625rem; }

/* Language switcher (header, top right): collapsed to the active flag by
   default; the button reveals the other two in a cascading dropdown. */
.lang-switch {
  position: relative;
  margin-right: 4px;
}
.lang-switch img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}
.lang-current {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.lang-current:hover { background: var(--bg-alt); }
.lang-caret {
  width: 13px;
  height: 13px;
  color: #98A2B3;
  transition: transform 0.15s ease;
}
.lang-switch.open .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 190px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.14);
  padding: 6px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, background 0.1s ease;
}
.lang-menu a:hover { background: var(--bg-alt); text-decoration: none; }
.lang-menu a.active { color: var(--navy); background: var(--bg-alt); }

/* Cascade: each option settles a beat after the one above it */
.lang-switch.open .lang-menu a {
  opacity: 1;
  transform: translateY(0);
}
.lang-switch.open .lang-menu a:nth-child(1) { transition-delay: 0.02s; }
.lang-switch.open .lang-menu a:nth-child(2) { transition-delay: 0.06s; }
.lang-switch.open .lang-menu a:nth-child(3) { transition-delay: 0.1s; }

/* --------------------------------------------------------------------------
   Lead-capture modal
   -------------------------------------------------------------------------- */

.lead-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}
.lead-modal-overlay.open { display: flex; }

.lead-modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 36px 32px;
  position: relative;
  text-align: center;
}

.lead-modal h2 { font-size: 1.625rem; }
.lead-modal .lead-sub { margin: 12px 0 24px; }

.lead-modal .lead-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
}
.lead-modal .lead-close:hover { border-color: var(--navy); color: var(--navy); }

.lead-modal form { display: grid; gap: 14px; text-align: left; }
.lead-modal .btn { width: 100%; justify-content: center; }

.lead-modal .lead-fineprint {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: #98A2B3;
}

.lead-modal .lead-thanks { display: none; padding: 24px 0; }
.lead-modal.sent form,
.lead-modal.sent .lead-fineprint { display: none; }
.lead-modal.sent .lead-thanks { display: block; }

/* --------------------------------------------------------------------------
   Chat widget ("Have a question? Text us here!")
   -------------------------------------------------------------------------- */

.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.chat-callout {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
  padding: 14px 40px 14px 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  position: relative;
  max-width: 240px;
}
.chat-callout .chat-callout-close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: none;
  background: none;
  color: #98A2B3;
  font-size: 0.9375rem;
  cursor: pointer;
  line-height: 1;
}
.chat-widget.collapsed .chat-callout { display: none; }

.chat-button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.25);
}
.chat-button:hover { background: var(--navy-dark); }
.chat-button svg { width: 26px; height: 26px; }

/* --------------------------------------------------------------------------
   Audience cards (pastel cards, reference-site style)
   -------------------------------------------------------------------------- */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.audience-card {
  border-radius: var(--radius);
  padding: 40px 24px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.audience-card.carrier    { background: var(--card-carrier); }
.audience-card.prime      { background: var(--card-prime); }
.audience-card.contractor { background: var(--card-contractor); }
.audience-card.worker     { background: var(--card-worker); }
.audience-card.gray       { background: var(--card-gray); }

.audience-card .card-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.audience-card .card-icon svg { width: 32px; height: 32px; }

.audience-card h3 {
  font-size: 1.3125rem;
  font-weight: 800;
}

.audience-card p { color: var(--ink); }

.audience-card .btn { margin-top: 12px; background: var(--white); }

/* --------------------------------------------------------------------------
   Steps ("how it works")
   -------------------------------------------------------------------------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.steps-grid.four { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps-grid.four .step { padding: 28px 22px; }

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 { margin-bottom: 8px; }

/* --------------------------------------------------------------------------
   Feature / value blocks
   -------------------------------------------------------------------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.feature h3 { margin-bottom: 8px; }

.feature .feature-icon {
  margin-bottom: 16px;
  color: var(--navy);
}
.feature .feature-icon svg { width: 30px; height: 30px; }

/* Checklist used on audience pages */
.checklist {
  list-style: none;
  display: grid;
  gap: 14px;
  max-width: 720px;
}
.checklist li {
  padding-left: 32px;
  position: relative;
  color: var(--ink);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   Members-only CTA banner
   -------------------------------------------------------------------------- */

.cta-banner {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 64px 40px;
  text-align: center;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p {
  max-width: 680px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.85);
}
.cta-banner .hero-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   AI section (navy band: how the matching engine ties the chain together)
   -------------------------------------------------------------------------- */

.ai-section {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}
.ai-section h2,
.ai-section h3 { color: var(--white); }
.ai-section .eyebrow { color: var(--orange); }

/* Chip row: as pontas da cadeia que o motor cruza (Vendors e Workers entram numa fase seguinte) */
.match-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 48px;
  max-width: 900px;
}
.match-node {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--white);
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
}
.match-join {
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-heading);
  font-weight: 700;
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ai-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.ai-card h3 { margin-bottom: 8px; }
.ai-card .feature-icon { margin-bottom: 16px; color: var(--orange); }
.ai-card .feature-icon svg { width: 30px; height: 30px; }

.ai-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   Workers page — trade chips and the two-sided job/talent split
   -------------------------------------------------------------------------- */

.trade-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 880px;
  margin: 0 auto;
}
.trade-chip {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.split-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
}
.split-card .eyebrow { margin-bottom: 8px; }
.split-card h3 { font-size: 1.375rem; margin-bottom: 16px; }
.split-card .checklist { margin-top: 20px; max-width: none; }
.split-card .btn { margin-top: 28px; }

/* --------------------------------------------------------------------------
   Page hero variant (audience/internal pages)
   -------------------------------------------------------------------------- */

.page-hero {
  padding: 64px 0;
  text-align: center;
}
.page-hero .hero-sub {
  max-width: 720px;
  margin: 16px auto 0;
  font-size: 1.125rem;
}
.page-hero.carrier    { background: linear-gradient(180deg, var(--card-carrier) 0%, var(--bg) 100%); }
.page-hero.prime      { background: linear-gradient(180deg, var(--card-prime) 0%, var(--bg) 100%); }
.page-hero.contractor { background: linear-gradient(180deg, var(--card-contractor) 0%, var(--bg) 100%); }
.page-hero.worker     { background: linear-gradient(180deg, var(--card-worker) 0%, var(--bg) 100%); }
.page-hero.gray  { background: linear-gradient(180deg, var(--card-gray) 0%, var(--bg) 100%); }
.page-hero .hero-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}

.faq-list summary {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.faq-list details[open] summary { color: var(--navy); }
.faq-list details p { margin-top: 12px; }

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.form-field { display: grid; gap: 6px; }
/* `display: grid` above would otherwise defeat the [hidden] attribute the
   worker-only trade field relies on */
.form-field[hidden] { display: none; }

.form-field label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
  border-color: var(--navy);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 32px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.site-footer .brand { color: var(--white); }
.site-footer .brand .brand-mark { color: var(--white); }

.footer-tagline { margin-top: 16px; max-width: 320px; font-size: 0.9375rem; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.8); font-size: 0.9375rem; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

/* Seven nav items plus the language flags stop fitting before the general
   tablet breakpoint, so the burger menu takes over earlier. */
@media (max-width: 1120px) {
  .nav-toggle-label { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 16px;
    margin-left: 0;
  }

  .nav-toggle:checked ~ .main-nav { display: flex; }

  .header-actions { margin-left: auto; }
}

@media (max-width: 960px) {
  .audience-grid,
  .steps-grid,
  .steps-grid.four,
  .feature-grid,
  .ai-grid,
  .split-grid,
  .pricing-grid { grid-template-columns: 1fr; }

  .security-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .header-actions .btn-outline { display: none; }
}

@media (min-width: 601px) and (max-width: 960px) {
  .audience-grid,
  .steps-grid.four { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 48px; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand .brand-logo { height: 32px; }
}

/* --------------------------------------------------------------------------
   Fase de lançamento — acesso gratuito para todos até a cobrança começar.
   Substitui o seletor mensal/anual em prices.html.
   -------------------------------------------------------------------------- */

.launch-flag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--card-contractor);
  color: #7A3C05;
}
.price-later {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text);
  margin-top: 4px;
}

/* Camadas que abrem numa fase seguinte (Workers, Vendors) */
.soon-note {
  background: var(--bg-alt);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 16px;
  margin: 14px auto 4px;
  font-size: 0.9375rem;
  color: var(--text);
  max-width: 62ch;
  text-align: left;
}
.soon-note b { font-family: var(--font-heading); color: var(--ink); }
.soon-badge {
  display: inline-block;
  vertical-align: middle;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  color: #7A3C05;
  margin-left: 6px;
}
