/* Achei Guincho — site institucional.
   Paala do app (GoWhenColors): Ink #1F1F1F, verde #50DCAA, lavanda #E4E1F0,
   cinza #908F90. Sem framework, sem JS. Página home redesenhada. */

:root {
  --ink: #1f1f1f;
  --gray: #908f90;
  --outline: #e2e2e2;
  --outline-soft: #f0f0ee;
  --action: #50dcaa;
  --action-deep: #2fcb93;
  --lavender: #e4e1f0;
  --purple: #b3aed0;
  --bg: #ffffff;
  --surface: #fafafa;
  --radius: 16px;
  --max: 1060px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--action-deep); }

/* ---------- HEADER ---------- */

header.site {
  border-bottom: 1px solid var(--outline);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  font-weight: 800;
  font-size: 19px;
  text-decoration: none;
  letter-spacing: -0.2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand .logo {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--action);
  color: var(--ink);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

nav.site { display: flex; gap: 6px 18px; flex-wrap: wrap; align-items: center; }
nav.site a {
  text-decoration: none;
  font-size: 15px;
  color: var(--ink);
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}
nav.site a:hover, nav.site a[aria-current="page"] { border-bottom-color: var(--action); }
nav.site a.nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  border-bottom: none;
}
nav.site a.nav-cta:hover { background: var(--action-deep); color: var(--ink); }

main { max-width: var(--max); margin: 0 auto; padding: 0 20px 64px; }
main > section { margin: 64px 0; }
main > section.hero { margin: 28px 0 56px; }

h1 { font-size: clamp(30px, 5.4vw, 46px); line-height: 1.16; margin: 0 0 14px; letter-spacing: -0.8px; }
h2 { font-size: clamp(23px, 3.6vw, 30px); margin: 0 0 10px; letter-spacing: -0.4px; }
h3 { font-size: 18px; margin: 22px 0 8px; letter-spacing: -0.2px; }
p { margin: 0 0 14px; }
.lead { font-size: 19px; color: #4a4a4a; max-width: 62ch; }
.tiny { font-size: 13.5px; margin-top: 6px; }
.muted { color: var(--gray); font-size: 15px; }

section > h2 { margin-top: 0; }
section > h2 + .lead { margin-bottom: 24px; }

/* ---------- HERO ---------- */

.hero {
  background: linear-gradient(135deg, var(--action) 0%, var(--action-deep) 100%);
  border-radius: 24px;
  padding: 46px 38px;
  color: var(--ink);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 30px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: rgba(31,31,31,0.08);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin: 0 0 14px;
}

.hero h1 { color: var(--ink); }
.hero h1 strong { font-weight: 850; }

.hero-sub {
  font-size: 18px;
  margin: 0 0 22px;
  max-width: 54ch;
  color: rgba(31,31,31,0.85);
}

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

.hero-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  font-size: 15.5px;
}
.hero-trust .tick {
  display: inline-flex;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(31,31,31,0.9);
  color: var(--action);
  font-size: 13px;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.car-illustration {
  width: 100%;
  max-width: 280px;
  filter: drop-shadow(0 10px 24px rgba(31,31,31,0.18));
}

.phone {
  position: absolute;
  right: -28px;
  top: -22px;
  width: 108px;
  height: 200px;
  border-radius: 20px;
  background: var(--ink);
  padding: 8px;
  box-shadow: 0 16px 36px rgba(31,31,31,0.35);
  transform: rotate(6deg);
}

.phone-screen {
  background: var(--bg);
  border-radius: 14px;
  height: 100%;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow: hidden;
}

.phone-top { font-size: 9.5px; font-weight: 800; color: var(--ink); line-height: 1.3; }

.phone-card {
  height: 34px;
  border-radius: 8px;
  background: var(--lavender);
}
.phone-card:nth-of-type(2) { background: var(--surface); border: 1px solid var(--outline); }

.phone-btn {
  margin-top: auto;
  background: var(--action);
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: var(--ink);
}

/* ---------- CARDS ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.cards.three { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.card {
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--surface);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--action); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--lavender);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 10px;
}

/* ---------- CTAS / BUTTONS ---------- */

.btn {
  display: inline-block;
  background: var(--action);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  margin: 6px 8px 6px 0;
  font-size: 15.5px;
}
.btn:hover { background: var(--action-deep); color: var(--ink); }
.btn.lg { padding: 14px 28px; font-size: 16.5px; }
.btn.secondary { background: var(--lavender); }
.btn.ghost-dark { background: var(--ink); color: #fff; }
.btn.ghost-dark:hover { background: var(--action-deep); color: var(--ink); }

.ghost {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  margin: 6px 8px 6px 0;
  font-size: 15.5px;
}
.ghost.lg { padding: 12px 26px; font-size: 16.5px; }
.ghost:hover { background: var(--ink); color: var(--action); }

/* ---------- APPS ROW ---------- */

.apps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  margin: 26px 0;
}

.app-card {
  position: relative;
  border: 1px solid var(--outline);
  border-radius: 20px;
  padding: 30px 26px 24px;
  background: var(--bg);
  box-shadow: 0 6px 24px rgba(31,31,31,0.06);
}

.app-badge {
  position: absolute;
  top: -14px;
  left: 26px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}
.app-badge.cliente { background: var(--action); color: var(--ink); }
.app-badge.prestador { background: var(--ink); color: #fff; }

.app-desc { font-size: 16px; color: #4a4a4a; }

.app-feat {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 15.5px;
}
.app-feat li::before {
  content: "✓";
  color: var(--action-deep);
  font-weight: 800;
  margin-right: 8px;
}

/* ---------- STEPS ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 26px 0;
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  background: var(--surface);
}

.step .num {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--action);
  color: var(--ink);
  font-weight: 800;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step h3 { margin: 4px 0 6px; font-size: 16.5px; }
.step p { margin: 0; font-size: 15px; color: #4a4a4a; }

/* ---------- TRUST BAND ---------- */

.trust-band {
  background: var(--surface);
  border-radius: 24px;
  padding: 34px 30px;
}
.trust-band .big { font-size: 21px; font-weight: 800; margin-bottom: 4px; letter-spacing: -0.2px; }
.trust-band p { max-width: 70ch; }

.links-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.mini-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: var(--bg);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.mini-card:hover { border-color: var(--action); transform: translateY(-2px); color: var(--ink); }
.mini-card strong { display: block; margin-bottom: 4px; font-size: 16px; }
.mini-card span { color: var(--gray); font-size: 14px; line-height: 1.5; }

/* ---------- CONTACT BAND ---------- */

.contact-band { scroll-margin-top: 90px; }
.contact-card { text-align: left; }
.link-strong { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.contact-card .icon { font-size: 22px; }

/* ---------- COMMON ---------- */

ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15.5px;
}
th, td {
  border: 1px solid var(--outline);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
th { background: var(--surface); }

.callout {
  background: var(--lavender);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 20px 0;
}
.callout p:last-child { margin-bottom: 0; }

code {
  background: rgba(31,31,31,0.06);
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 0.9em;
}

footer.site {
  border-top: 1px solid var(--outline);
  color: var(--gray);
  font-size: 14.5px;
  padding: 24px 0;
}
footer.site .bar { align-items: flex-start; }
footer.site a { color: var(--gray); }
footer.site a:hover { color: var(--action-deep); }

.updated { color: var(--gray); font-size: 15px; margin-bottom: 26px; }

/* ---------- RESPONSIVO ---------- */

@media (max-width: 780px) {
  .hero { padding: 34px 24px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 240px; margin: 0 auto; min-height: 200px; }
  .phone { right: -10px; top: -14px; transform: rotate(8deg) scale(0.85); }
  main > section { margin: 48px 0; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .hero { padding: 28px 20px; }
  .hero-actions .btn, .hero-actions .ghost { width: 100%; text-align: center; margin-right: 0; }
  header.site .bar { padding: 12px 16px; }
  nav.site { gap: 4px 12px; }
}
