/* Tappxy Web Oficial v2 */
:root {
  --blue: #0a43c6;
  --blue-2: #145ce6;
  --blue-soft: #eaf2ff;
  --navy: #06152f;
  --navy-2: #0d2348;
  --green: #20b66f;
  --text: #182238;
  --muted: #66758a;
  --line: #dfe7f1;
  --bg: #ffffff;
  --soft: #f5f8fc;
  --shadow: 0 22px 60px rgba(9, 40, 88, .14);
  --radius: 26px;
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 999;
  transform: translateY(-150%); padding: 10px 14px; border-radius: 8px;
  background: white; color: var(--navy);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(223,231,241,.85);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(14px);
}
.nav {
  min-height: 80px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--navy); font-size: 1.35rem; font-weight: 800;
}
.brand img {
  width: 48px; height: 48px; border-radius: 12px;
  box-shadow: 0 8px 22px rgba(10,67,198,.22);
}
.nav-links { display: flex; align-items: center; gap: 28px; color: #34445f; font-size: .94rem; font-weight: 600; }
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  padding: 12px 17px; border-radius: 13px; background: var(--blue); color: white !important;
  box-shadow: 0 10px 24px rgba(10,67,198,.22);
}
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 6px 0; background: var(--navy); }

.hero {
  overflow: hidden;
  padding: 92px 0 78px;
  background:
    radial-gradient(circle at 12% 6%, rgba(20,92,230,.16), transparent 34%),
    linear-gradient(180deg, #f9fbff 0%, #fff 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 70px; align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue); font-size: .8rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
}
.eyebrow-light { color: #9ac3ff; }
.hero h1 {
  margin: 0; max-width: 760px;
  color: var(--navy); font-size: clamp(3rem, 6vw, 5.35rem); line-height: .98; letter-spacing: -.055em;
}
.lead { max-width: 650px; margin: 26px 0 0; color: var(--muted); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
  padding: 0 22px; border-radius: 14px; font-weight: 750; transition: .2s ease;
}
.button-primary { background: var(--blue); color: white; box-shadow: 0 13px 28px rgba(10,67,198,.25); }
.button-primary:hover { transform: translateY(-2px); background: #0739aa; }
.button-secondary { border: 1px solid var(--line); background: white; color: var(--navy); }
.button-secondary:hover { border-color: var(--blue-2); color: var(--blue); }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: white; color: #536176; font-size: .86rem; font-weight: 650;
}
.status span { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(32,182,111,.12); }

.hero-visual { position: relative; min-height: 600px; display: grid; place-items: center; }
.phone {
  position: relative; width: 300px; height: 590px; padding: 12px;
  border: 8px solid #0d1b33; border-radius: 46px; background: #0d1b33;
  box-shadow: 0 38px 80px rgba(6,21,47,.27); transform: rotate(4deg);
}
.phone-notch {
  position: absolute; z-index: 4; top: 12px; left: 50%; width: 94px; height: 24px;
  transform: translateX(-50%); border-radius: 0 0 14px 14px; background: #0d1b33;
}
.phone-map {
  position: relative; height: 100%; overflow: hidden; border-radius: 32px;
  background:
    linear-gradient(35deg, transparent 45%, rgba(255,255,255,.95) 46% 49%, transparent 50%),
    linear-gradient(115deg, transparent 45%, rgba(255,255,255,.85) 46% 49%, transparent 50%),
    #dfeaf7;
  background-size: 110px 110px, 120px 120px;
}
.road { position: absolute; background: rgba(255,255,255,.8); border-radius: 999px; }
.road-a { width: 260px; height: 12px; top: 155px; left: -40px; transform: rotate(35deg); }
.road-b { width: 280px; height: 12px; top: 300px; left: 10px; transform: rotate(-42deg); }
.road-c { width: 230px; height: 12px; top: 410px; left: -20px; transform: rotate(19deg); }
.route {
  position: absolute; top: 98px; left: 142px; width: 8px; height: 255px;
  border-radius: 999px; background: var(--blue-2); transform: rotate(29deg);
  box-shadow: 0 0 0 4px rgba(20,92,230,.12);
}
.map-point { position: absolute; z-index: 2; border-radius: 50%; }
.point-a { width: 28px; height: 28px; top: 115px; right: 58px; background: var(--blue-2); border: 6px solid rgba(20,92,230,.18); }
.point-b { width: 24px; height: 24px; top: 330px; left: 52px; background: var(--green); border: 5px solid rgba(32,182,111,.18); }
.car {
  position: absolute; z-index: 3; top: 255px; left: 126px; color: #062c83; font-size: 35px; transform: rotate(45deg);
  text-shadow: 0 8px 20px rgba(6,44,131,.25);
}
.trip-offer {
  position: absolute; z-index: 4; right: 15px; bottom: 18px; left: 15px;
  padding: 17px; border-radius: 22px; background: rgba(255,255,255,.97); box-shadow: 0 16px 36px rgba(15,44,89,.18);
}
.offer-top { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; }
.avatar { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 800; }
.offer-top small { display: block; color: var(--green); font-weight: 750; }
.offer-top strong { display: block; }
.rating { color: #f2a900; font-weight: 800; }
.trip-offer p { margin: 10px 0 4px; color: var(--muted); font-size: .82rem; }
.offer-price { color: var(--blue); font-size: 1.3rem; font-weight: 800; }
.offer-button { margin-top: 10px; padding: 9px; border-radius: 12px; background: var(--blue); color: white; text-align: center; font-size: .84rem; font-weight: 750; }

.floating-card {
  position: absolute; z-index: 7; display: flex; align-items: center; gap: 12px;
  width: 255px; padding: 14px 16px; border: 1px solid rgba(223,231,241,.9);
  border-radius: 18px; background: rgba(255,255,255,.97); box-shadow: var(--shadow);
}
.floating-card strong, .floating-card small { display: block; }
.floating-card strong { font-size: .87rem; }
.floating-card small { color: var(--muted); font-size: .72rem; }
.floating-icon {
  width: 36px; height: 36px; display: grid; flex: 0 0 36px; place-items: center;
  border-radius: 11px; background: var(--blue-soft); color: var(--blue); font-weight: 900;
}
.floating-safe { top: 78px; left: 0; }
.floating-track { right: -2px; bottom: 95px; }

.benefits { margin-top: -8px; position: relative; z-index: 4; }
.benefits-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 16px 38px rgba(12,45,91,.08);
}
.benefits article { display: flex; gap: 12px; padding: 23px 20px; border-right: 1px solid var(--line); }
.benefits article:last-child { border-right: 0; }
.benefit-icon {
  width: 38px; height: 38px; display: grid; flex: 0 0 38px; place-items: center;
  border-radius: 12px; background: var(--blue-soft); color: var(--blue); font-weight: 900;
}
.benefits strong { display: block; font-size: .84rem; }
.benefits p { margin: 3px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.45; }

.section { padding: 96px 0; }
.section-heading { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.section-heading h2, .security-grid h2, .driver-copy h2, .launch-card h2 {
  margin: 0; color: var(--navy); font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.04em;
}
.section-heading > p:last-child { color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  position: relative; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius);
  background: white; box-shadow: 0 14px 36px rgba(15,39,72,.06);
}
.step-number {
  position: absolute; top: 20px; right: 20px; width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; background: var(--blue); color: white; font-size: .8rem; font-weight: 800;
}
.step-art {
  width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 28px;
  border-radius: 18px; background: var(--blue-soft); color: var(--blue); font-size: 1.8rem; font-weight: 900;
}
.step h3 { margin: 0 0 10px; color: var(--navy); }
.step p { margin: 0; color: var(--muted); }

.section-dark {
  color: white;
  background: radial-gradient(circle at 85% 12%, rgba(20,92,230,.23), transparent 31%), var(--navy);
}
.security-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 86px; align-items: center; }
.section-dark h2 { color: white; }
.muted-light { color: #b3c0d3; max-width: 560px; }
.security-list { display: grid; gap: 15px; }
.security-list article {
  display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 21px;
  border: 1px solid rgba(255,255,255,.11); border-radius: 19px; background: rgba(255,255,255,.04);
}
.security-list article > span {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 12px; background: rgba(20,92,230,.17); color: #9ac3ff; font-weight: 800;
}
.security-list h3, .security-list p { margin: 0; }
.security-list p { color: #b3c0d3; font-size: .9rem; }

.driver-block {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center;
  padding: 56px; border-radius: 34px; background: var(--soft);
}
.driver-copy p { color: var(--muted); }
.driver-features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.driver-features div { padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.driver-features strong, .driver-features span { display: block; }
.driver-features span { margin-top: 4px; color: var(--muted); font-size: .82rem; }

.driver-panel {
  max-width: 390px; justify-self: end; width: 100%; padding: 24px;
  border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: var(--shadow);
}
.panel-header { display: flex; justify-content: space-between; align-items: center; }
.panel-header small, .panel-header strong { display: block; }
.panel-header small { color: var(--muted); }
.online-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(32,182,111,.12); }
.balance { margin-top: 20px; padding: 24px; border-radius: 18px; background: var(--navy-2); color: white; }
.balance small, .balance strong { display: block; }
.balance strong { margin-top: 5px; font-size: 1.65rem; }
.request { display: flex; justify-content: space-between; margin-top: 18px; padding: 16px 0; border-block: 1px solid var(--line); }
.request span { color: var(--muted); }
.panel-action { margin-top: 18px; padding: 12px; border-radius: 12px; background: var(--blue); color: white; text-align: center; font-weight: 750; }

.faq-section { background: var(--soft); }
.faq-list { max-width: 860px; margin: auto; display: grid; gap: 13px; }
.faq-list details { padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.faq-list summary { cursor: pointer; color: var(--navy); font-weight: 750; }
.faq-list p { margin-bottom: 0; color: var(--muted); }

.launch-section { padding-top: 0; }
.launch-card {
  display: flex; justify-content: space-between; align-items: center; gap: 42px;
  padding: 50px 54px; border-radius: 30px;
  background: linear-gradient(135deg, #eaf2ff, #f8fbff);
}
.launch-card p { max-width: 760px; color: var(--muted); }

.footer { padding: 54px 0 26px; background: var(--navy); color: #b3c0d3; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 45px; }
.footer-brand { color: white; }
.footer-brand img { width: 44px; height: 44px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-grid strong { color: white; margin-bottom: 6px; }
.footer-grid a:hover { color: white; }
.footer-bottom { margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }

/* legal pages */
.legal-body { background: var(--soft); }
.legal-main { padding: 76px 0 96px; }
.legal-card {
  max-width: 900px; margin: auto; padding: 44px;
  border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: 0 16px 44px rgba(15,39,72,.08);
}
.legal-card h1 { margin-top: 0; color: var(--navy); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; }
.legal-card h2 { margin-top: 34px; color: var(--navy); }
.legal-card p, .legal-card li { color: var(--muted); }
.back-link { display: inline-flex; margin-bottom: 22px; color: var(--blue); font-weight: 750; }

@media (max-width: 1100px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits article { border-bottom: 1px solid var(--line); }
  .benefits article:nth-child(2n) { border-right: 0; }
  .benefits article:last-child { grid-column: 1 / -1; border-bottom: 0; }
}
@media (max-width: 960px) {
  .hero-grid, .security-grid, .driver-block { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .lead, .status { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .steps { grid-template-columns: 1fr; }
  .driver-panel { justify-self: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links {
    position: absolute; top: 80px; right: 20px; left: 20px; display: none;
    padding: 18px; flex-direction: column; align-items: stretch; gap: 0;
    border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 11px 8px; }
  .nav-cta { margin-top: 6px; text-align: center; }
  .menu-toggle { display: block; }
  .hero { padding-top: 68px; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .hero-visual { min-height: 520px; transform: scale(.87); margin-inline: -28px; }
  .floating-safe { left: -14px; }
  .floating-track { right: -14px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefits article, .benefits article:nth-child(2n), .benefits article:last-child { grid-column: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .benefits article:last-child { border-bottom: 0; }
  .section { padding: 72px 0; }
  .driver-block { padding: 32px 24px; }
  .driver-features { grid-template-columns: 1fr; }
  .launch-card { flex-direction: column; align-items: flex-start; padding: 34px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal-card { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
