:root {
  --navy: #1f2441;
  --navy-light: #323954;
  --blue: #2e6ddf;
  --lime: #dbe64c;
  --orange: #ff4d2d;
  --white: #fff;
  --shadow: 0 4px 8px rgb(0 0 0 / 18%);
  color: var(--navy);
  font-family: Raleway, Avenir, 'Segoe UI', sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--lime);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 10px clamp(24px, 7vw, 100px);
  background: var(--white);
  box-shadow: 0 3px 5px rgb(0 0 0 / 22%);
}

.header-brand {
  width: 185px;
  aspect-ratio: 116 / 34;
  flex: 0 0 auto;
}

.header-brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 15px;
  font-weight: 800;
}

.main-nav a {
  padding: 12px 0;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
}

.menu-button span:not(.sr-only) {
  display: block;
  height: 3px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy) url('/assets/background.png') center / cover;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1230px, calc(100% - 48px));
  min-height: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: 52px;
  padding: 70px 0 58px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 660px;
}

.hero-brand {
  width: 475px;
  margin-bottom: 30px;
}

.hero h1 {
  max-width: 640px;
  margin: 0 0 24px;
  font-size: clamp(25px, 2.25vw, 36px);
  line-height: 1.22;
  font-weight: 400;
}

.hero h1 strong,
.partners h2,
.information h2,
.privacy-card h2 {
  font-style: italic;
  font-weight: 800;
}

.hero ul {
  margin: 0 0 50px;
  padding-left: 28px;
  font-size: clamp(17px, 1.5vw, 24px);
  line-height: 1.42;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.store-button {
  min-width: 235px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--navy);
  text-decoration: none;
  transition:
    transform 160ms ease,
    filter 160ms ease;
}

.store-button:hover,
.store-button:focus-visible {
  filter: brightness(1.04);
  transform: translateY(-2px);
}

.store-button--soon {
  cursor: default;
}

.store-button--soon:hover {
  filter: none;
  transform: none;
}

.store-button img {
  width: 39px;
  height: 46px;
}

.store-button span {
  display: flex;
  flex-direction: column;
  font-size: 19px;
  line-height: 1.05;
}

.store-button strong {
  margin-top: 3px;
  font-size: 27px;
  font-weight: 800;
  white-space: nowrap;
}

.hero-art {
  position: relative;
  align-self: stretch;
  min-height: 570px;
}

.phone {
  position: absolute;
  z-index: 2;
  width: 410px;
  max-height: 630px;
  right: 3%;
  top: 50%;
  object-fit: contain;
  transform: translateY(-50%);
  filter: drop-shadow(0 20px 25px rgb(0 0 0 / 38%));
}

.location-pin {
  position: absolute;
  width: 245px;
  height: 382px;
  left: -8%;
  top: 7%;
  transform: rotate(-15deg);
}

.hero-shape {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero-shape-top {
  width: 500px;
  height: 780px;
  right: -235px;
  top: -565px;
}

.hero-shape-side {
  width: 760px;
  height: 1190px;
  right: -230px;
  bottom: -870px;
}

.partners {
  position: relative;
  z-index: 3;
  padding: 26px 24px 30px;
  text-align: center;
  background: var(--white);
  box-shadow: var(--shadow);
}

.partners h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.partner-logos {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 4vw, 56px);
}

.partner-logos img:not(.elab-logo) {
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.partner-logos .elab-logo {
  width: 370px;
  height: 76px;
}

.information {
  padding: 74px 24px;
  color: var(--white);
  background: var(--navy) url('/assets/background.png') center / cover;
}

.information-inner {
  width: min(800px, 100%);
  margin: 0 auto;
}

.information h2 {
  margin: 0 0 30px;
  text-align: center;
  font-size: clamp(26px, 3vw, 34px);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  overflow: hidden;
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  box-shadow: var(--shadow);
}

.faq-list summary {
  position: relative;
  padding: 18px 64px 18px 24px;
  cursor: pointer;
  list-style: none;
  font-size: 20px;
  font-weight: 650;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 24px;
  width: 22px;
  height: 22px;
  background: url('/assets/chevron.svg') center / contain no-repeat;
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.faq-list details[open] summary {
  background: var(--lime);
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.faq-list details p {
  margin: 0;
  padding: 20px 24px;
  border-top: 1px solid #797c8d;
  font-size: 17px;
  line-height: 1.55;
}

.privacy-card {
  margin-top: 28px;
  padding: 34px clamp(24px, 5vw, 54px);
  border-radius: 8px;
  text-align: center;
  background: var(--navy-light);
}

.privacy-card h2 {
  margin-bottom: 16px;
}

.privacy-card p {
  margin: 0 auto 25px;
  font-size: 20px;
  line-height: 1.35;
}

.privacy-card a {
  display: inline-block;
  padding: 15px 24px;
  border-radius: 7px;
  color: var(--navy);
  background: var(--lime);
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
}

.legal-card-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.legal-card-links a:last-child {
  color: var(--white);
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--lime);
}

/* Paginas publicas de Termos e Privacidade. */
.legal-page {
  color: var(--navy);
  background: #f4f5f8;
}

.legal-page .site-header {
  position: sticky;
  top: 0;
}

.legal-page .main-nav a[aria-current='page'] {
  color: var(--blue);
}

.legal-main {
  min-height: 70vh;
}

.legal-hero {
  padding: 68px 24px 72px;
  color: var(--white);
  background: var(--navy) url('/assets/background.png') center / cover;
}

.legal-hero-inner,
.legal-document {
  width: min(920px, 100%);
  margin: 0 auto;
}

.legal-eyebrow {
  margin: 0 0 12px;
  color: var(--lime);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
}

.legal-summary {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.6;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 24px 0 0;
  color: #e4e6ef;
  font-size: 14px;
}

.legal-document {
  margin-block: 40px 64px;
  padding: clamp(26px, 5vw, 58px);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 8px 30px rgb(31 36 65 / 10%);
}

.legal-notice {
  margin: 0 0 32px;
  padding: 18px 20px;
  border-left: 5px solid var(--blue);
  border-radius: 4px;
  background: #eef4ff;
  line-height: 1.55;
}

.legal-toc {
  margin-bottom: 42px;
  padding: 22px 24px;
  border-radius: 8px;
  background: #f4f5f8;
}

.legal-toc h2 {
  margin-top: 0;
  font-size: 20px;
}

.legal-toc ol {
  columns: 2;
  margin-bottom: 0;
  padding-left: 22px;
}

.legal-toc li {
  break-inside: avoid;
  margin: 0 0 8px;
}

.legal-toc a {
  color: var(--blue);
}

.legal-section {
  scroll-margin-top: 105px;
  margin-top: 42px;
}

.legal-section:first-of-type {
  margin-top: 0;
}

.legal-section h2 {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.25;
}

.legal-section h3 {
  margin: 28px 0 10px;
  font-size: 19px;
  scroll-margin-top: 105px;
}

.legal-section p,
.legal-section li {
  font-size: 16px;
  line-height: 1.72;
}

.legal-section li + li {
  margin-top: 8px;
}

.legal-section a {
  color: #1c58c2;
  overflow-wrap: anywhere;
}

.legal-table-wrap {
  margin: 20px 0;
  overflow-x: auto;
}

.legal-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

.legal-table th,
.legal-table td {
  padding: 14px;
  border: 1px solid #d9dce5;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: var(--white);
  background: var(--navy-light);
}

.legal-contact {
  padding: 22px;
  border-radius: 8px;
  background: #f4f5f8;
}

.legal-back {
  display: inline-flex;
  margin-top: 28px;
  color: var(--blue);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(380px, 1.4fr) minmax(
      220px,
      0.8fr
    );
  align-items: center;
  gap: 50px;
  padding: 48px clamp(32px, 8vw, 150px);
  background: var(--white);
}

.footer-about img {
  width: 230px;
  height: auto;
}

.footer-about p {
  max-width: 330px;
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.55;
}

.footer-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-logos img:not(.elab-logo) {
  width: 106px;
  height: 110px;
  object-fit: contain;
}

.footer-logos .elab-logo {
  width: 190px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  font-size: 12px;
}

.footer-links h2 {
  margin: 8px 0 2px;
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--blue);
  text-decoration: underline;
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 18px;
  }

  .phone {
    width: 330px;
  }

  .location-pin {
    left: -30%;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links {
    grid-column: 1 / -1;
    flex-flow: row wrap;
    align-items: center;
    gap: 8px 18px;
  }

  .footer-links h2 {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    padding: 7px 20px;
  }

  .header-brand {
    width: 165px;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px;
    border-radius: 0 0 8px 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    border-bottom: 1px solid #e8e8eb;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    min-height: 0;
    width: min(100% - 40px, 620px);
    grid-template-columns: 1fr;
    padding: 54px 0 42px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-brand {
    width: min(410px, 90%);
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero ul {
    margin-bottom: 34px;
    font-size: 17px;
  }

  .store-links {
    gap: 12px;
  }

  .store-button {
    min-width: 0;
    flex: 1 1 230px;
  }

  .hero-art {
    min-height: 480px;
  }

  .phone {
    width: min(390px, 86vw);
    right: 50%;
    transform: translate(50%, -50%);
  }

  .location-pin {
    left: 1%;
  }

  .partner-logos {
    flex-wrap: wrap;
  }

  .partner-logos .elab-logo {
    width: min(370px, 90vw);
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 32px;
    padding: 40px 28px;
    text-align: center;
  }

  .footer-about p {
    margin-inline: auto;
  }

  .footer-logos {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-links {
    grid-column: auto;
    flex-direction: column;
    align-items: center;
  }

  .legal-page .site-header {
    position: relative;
  }

  .legal-hero {
    padding: 48px 20px 52px;
  }

  .legal-document {
    margin: 20px 14px 40px;
  }

  .legal-toc ol {
    columns: 1;
  }
}

@media (max-width: 480px) {
  .hero-inner {
    width: calc(100% - 32px);
    padding-top: 42px;
  }

  .hero h1 {
    font-size: 23px;
  }

  .store-button {
    width: 100%;
  }

  .information {
    padding: 54px 16px;
  }

  .faq-list summary {
    padding: 16px 54px 16px 18px;
    font-size: 17px;
  }

  .faq-list details p,
  .privacy-card p {
    font-size: 16px;
  }

  .partner-logos img:not(.elab-logo) {
    width: 90px;
    height: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
