:root {
  --ink: #14202b;
  --muted: #62707f;
  --line: #dde5ec;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --blue: #00577a;
  --blue-deep: #073247;
  --red: #f0283c;
  --green: #21a67a;
  --yellow: #f5b942;
  --shadow: 0 24px 70px rgba(13, 44, 66, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  padding: 0 clamp(18px, 5vw, 70px);
  background: rgba(255, 255, 255, 0.9);
}

.site-header-grid {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
  max-width: 1180px;
  min-height: inherit;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  /*position: relative;*/
}

.brand img {
  position: absolute;
  top: -10px;
  width: auto;
  height: 200px;
  object-fit: contain;
}

.site-footer a {
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: var(--red);
}

.header-action,
.button {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-action {
  gap: 4px;
}

.header-action,
.button-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 16px 32px rgba(240, 40, 60, 0.24);
}

.header-action:hover,
.button:hover {
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--blue-deep);
  background: #fff;
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 70px);
  background:
    linear-gradient(135deg, rgba(0, 87, 122, 0.09), transparent 42%),
    radial-gradient(circle at 88% 22%, rgba(245, 185, 66, 0.24), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f7fafc 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(18px, 6vw, 95px);
  bottom: clamp(18px, 5vw, 70px);
  width: clamp(180px, 28vw, 420px);
  height: clamp(180px, 28vw, 420px);
  border: 26px solid rgba(0, 87, 122, 0.08);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 7vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin-top: clamp(42px, 7vw, 86px);
}

.hero-metrics div,
.limit-grid article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.hero-metrics div {
  padding: 18px;
}

.hero-metrics strong {
  display: block;
  color: var(--blue-deep);
  font-size: 1.05rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: clamp(70px, 9vw, 130px) clamp(18px, 5vw, 70px);
}

.diferencial {
  padding-top: 8px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.74fr);
  align-items: center;
  gap: clamp(34px, 7vw, 90px);
  max-width: 1180px;
  margin: 0 auto;
}

.section-copy h2,
.section-heading h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
}

.app-downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 18px;
  color: #fff;
  background: var(--blue-deep);
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(7, 50, 71, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(7, 50, 71, 0.24);
}

.store-button-android {
  background: var(--green);
}

.store-button svg {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.store-button span {
  display: grid;
  gap: 1px;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.1;
}

.store-button small {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.82;
}

.phone-showcase {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 28px;
}

.phone-showcase::before {
  content: "";
  position: absolute;
  inset: 12% 0;
  background: linear-gradient(145deg, rgba(0, 87, 122, 0.18), rgba(240, 40, 60, 0.12));
  border-radius: 8px;
  transform: rotate(-4deg);
}

.phone-showcase img {
  position: relative;
  width: min(100%, 330px);
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.limits {
  background: var(--blue-deep);
  color: #fff;
}

.section-heading {
  max-width: 980px;
  margin: 0 auto 34px;
}

.limits .eyebrow {
  color: var(--yellow);
}

.limit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.limit-grid article {
  min-height: 260px;
  padding: 26px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.limit-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  color: var(--blue-deep);
  background: var(--yellow);
  border-radius: 50%;
  font-weight: 900;
}

.limit-grid h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  line-height: 1.16;
}

.limit-grid p {
  color: rgba(255, 255, 255, 0.74);
}

.faq {
  background: var(--soft);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-list details {
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 24px;
  color: var(--blue-deep);
  font-size: 1.05rem;
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px clamp(18px, 5vw, 70px);
  color: #5e6b78;
  background: #f0f4f7;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer strong {
  color: var(--ink);
}

.footer-social-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  transition: transform 180ms ease, background 180ms ease;
}

.footer-social-links a:nth-child(2) {
  background: var(--red);
}

.footer-social-links a:hover {
  color: #fff;
  transform: translateY(-2px);
}

.footer-social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-link {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 180ms ease;
}

.footer-link:hover {
  color: var(--red);
}

body.modal-open {
  overflow: hidden;
}

.site-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.site-modal[aria-hidden="false"] {
  display: flex;
}

.site-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 50, 71, 0.52);
  backdrop-filter: blur(4px);
}

.site-modal-dialog {
  position: relative;
  width: min(100%, 430px);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 34px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 26px 90px rgba(7, 50, 71, 0.28);
  text-align: center;
}

.site-modal-dialog-large {
  width: min(100%, 860px);
  text-align: left;
}

.site-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--muted);
  background: #f2f6f8;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.site-modal-dialog h2 {
  margin-bottom: 12px;
  color: var(--blue-deep);
  font-size: 1.9rem;
  line-height: 1.1;
}

.site-modal-dialog p {
  color: var(--muted);
}

.login-modal-logo {
  width: 150px;
  height: auto;
  margin-bottom: 12px;
}

.google-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, 300px);
  min-height: 52px;
  margin-top: 18px;
  padding: 10px 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(13, 44, 66, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.google-login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(13, 44, 66, 0.16);
}

.google-login-button img {
  width: 20px;
  height: 20px;
}

.site-modal-dialog small {
  display: block;
  max-width: 280px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-modal-dialog small button {
  padding: 0;
  color: var(--red);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.site-modal iframe {
  width: 100%;
  height: min(70vh, 560px);
  border: 1px solid var(--line);
  border-radius: 8px;
}

@media (max-width: 860px) {
  .site-header {
    min-height: auto;
    padding-top: 0;
    padding-bottom: 8px;
    min-height: 132px;
  }

  .site-header-grid {
    flex-wrap: wrap;
  }

  .brand img {
    height: 160px;
  }

  .section-grid,
  .limit-grid,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .diferencial .section-grid,
  .diferencial .section-copy {
    justify-items: center;
    text-align: center;
  }

  .diferencial .section-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .diferencial .app-downloads {
    width: 100%;
    max-width: 680px;
  }

}

@media (max-width: 560px) {
  .site-header {
    padding: 0 16px 8px;
    min-height: 132px;
  }

  .site-header-grid {
    gap: 12px;
  }

  .brand img {
    height: 160px;
  }

  .header-action {
    flex-direction: column;
    gap: 0;
    min-height: 40px;
    padding: 8px 16px;
    line-height: 1.05;
  }

  h1 {
    font-size: 2.55rem;
  }

  .app-downloads {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
