/* Secoes da pagina: hero, conteudo, rodape e animacoes. */

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ink);
  padding: calc(var(--nav-h) + 2.5rem) 0 3.2rem;
  background: var(--white);
}

.hero-bg,
.glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.glow {
  inset: auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  filter: blur(30px);
  background: rgba(255, 130, 28, 0.28);
}

.glow-a {
  top: 12%;
  right: -40px;
  animation: drift 9s ease-in-out infinite;
}

.glow-b {
  width: 180px;
  height: 180px;
  left: -50px;
  bottom: 8%;
  background: rgba(255, 176, 106, 0.16);
  animation: drift 12s ease-in-out infinite reverse;
}

.route-map {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 130, 28, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 130, 28, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: driftGrid 36s linear infinite;
}

.route-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.route-svg path {
  fill: none;
  stroke: rgba(255, 130, 28, 0.28);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-dasharray: 2 11;
  vector-effect: non-scaling-stroke;
}

.route-traveler {
  position: absolute;
  z-index: 1;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
}

.route-traveler .dot {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 130, 28, 0.85);
}

.route-traveler .pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 130, 28, 0.32);
  animation: gpsPulse 3.2s ease-out infinite;
}

.route-traveler .pulse.delay {
  animation-delay: 1.6s;
}

.hero-layout,
.solutions-layout,
.about-layout,
.diff-layout,
.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.hero-layout > *,
.solutions-layout > *,
.about-layout > *,
.diff-layout > *,
.download-layout > *,
.footer-grid > *,
.tool-card,
.contact-card,
.media-frame,
.visual-stage {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.8rem;
  color: var(--orange-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--orange-deep);
}

.section-kicker::before,
.eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  background: currentColor;
}

.hero h1,
.section-title {
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.hero h1 {
  font-size: clamp(2rem, 7vw, 3.8rem);
  max-width: 11em;
}

.hero h1 span {
  display: block;
  color: inherit;
}

.rotator {
  min-height: 1.15em;
  color: var(--orange);
  overflow: hidden;
}

#rotator-word {
  display: inline-block;
}

#rotator-word.is-in {
  animation: wordIn 0.45s ease;
}

.lead {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero .lead {
  color: var(--muted);
  max-width: 28rem;
}

.hero-copy > .eyebrow,
.hero-copy > h1,
.hero-copy > .lead,
.hero-copy > .actions,
.hero-visual {
  animation: rise 0.75s ease both;
}

.hero-copy > h1 { animation-delay: 0.08s; }
.hero-copy > .lead { animation-delay: 0.16s; }
.hero-copy > .actions { animation-delay: 0.24s; }
.hero-visual { animation-delay: 0.12s; }

.tool-icon,
.contact-icon,
.stat-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--orange);
}

.hero-visual {
  display: grid;
  gap: 0.85rem;
}

.visual-stage,
.media-frame {
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 130, 28, 0.2), transparent 58%),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  min-height: 240px;
  padding: 1.25rem;
}

.visual-stage > * {
  grid-area: 1 / 1;
}

.visual-stage picture,
.media-frame picture {
  display: contents;
}

.visual-stage img,
.media-frame img {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: center;
  width: auto;
  height: auto;
  max-width: 92%;
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
}

.visual-stage img {
  grid-area: 1 / 1;
  animation: floatY 5.5s ease-in-out infinite;
}

.ring {
  width: min(78%, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 130, 28, 0.45);
  animation: pulse 3.8s ease-out infinite;
}

.ring-delay {
  animation-delay: 1.9s;
}

.section {
  padding: clamp(3.4rem, 8vw, 6.2rem) 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.65rem);
  color: var(--ink);
}

.section-header .lead,
.solutions-copy .lead,
.about-layout .lead,
.diff-layout .lead {
  margin-inline: auto;
}

.solutions {
  background: var(--paper);
}

.checklist {
  list-style: none;
  display: grid;
  gap: 0.35rem;
  margin-top: 1.2rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.45rem 0;
  font-weight: 700;
}

.checklist i {
  width: 22px;
  height: 22px;
  margin-top: 0.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 130, 28, 0.14);
  color: var(--orange-deep);
  font-size: 0.72rem;
  flex: 0 0 auto;
}

.tools {
  background: var(--white);
}

.tools-grid,
.contact-grid,
.stats,
.diff-list {
  display: grid;
  gap: 0.9rem;
}

.tool-card,
.contact-card,
.stat-item,
.diff-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(16, 21, 27, 0.04);
}

.tool-card {
  padding: 1.35rem 1.25rem 1.4rem;
}

.tool-icon,
.contact-icon,
.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 130, 28, 0.12);
  font-size: 1.15rem;
}

.tool-card h3,
.diff-item h3,
.contact-card h3 {
  margin-top: 0.9rem;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.tool-card p,
.diff-item p,
.contact-card span,
.footer p {
  margin-top: 0.45rem;
  color: var(--muted);
}

.about {
  background: var(--paper);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.05rem;
}

.stat-value {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

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

.differential {
  background: var(--white);
}

.diff-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1.05rem 1.1rem;
}

.diff-index {
  font-weight: 800;
  color: var(--orange-deep);
  letter-spacing: 0.04em;
  padding-top: 0.15rem;
}

.diff-item h3 {
  margin-top: 0;
}

.diff-layout .actions {
  margin-top: 1.3rem;
}

.diff-layout > .reveal {
  order: -1;
}

.download {
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 130, 28, 0.12), transparent 36%),
    var(--white);
  color: var(--ink);
}

.download .section-kicker,
.download .section-title {
  color: var(--ink);
}

.download .section-kicker {
  color: var(--orange-deep);
}

.download .lead {
  color: var(--muted);
}

.store-btn {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 64px;
  max-width: 100%;
  padding: 0.7rem 1.15rem 0.7rem 0.95rem;
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  border: 1.5px solid var(--orange);
  box-shadow: none;
}

.store-btn i {
  font-size: 1.7rem;
}

.store-btn small,
.store-btn strong {
  display: block;
}

.store-btn small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.store-btn strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.contact {
  background: var(--paper);
}

.contact-grid {
  margin-top: 0.4rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  padding: 1.3rem 1.2rem 1.25rem;
  text-decoration: none;
}

.contact-card h3 {
  margin-top: 0.85rem;
}

.contact-card p {
  margin-top: 0.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.footer {
  background: var(--white);
  color: var(--ink);
  padding: 3.2rem 0 6.2rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.05rem;
}

.footer h2 {
  margin: 0 0 0.8rem;
  color: var(--orange-deep);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-nav,
.footer-contact {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.footer-nav a,
.footer-contact a,
.footer-contact p,
.footer-policies a {
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-contact p {
  margin: 0;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.socials a,
.scroll-top {
  display: grid;
  place-items: center;
  text-decoration: none;
}

.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--orange-deep);
  background: rgba(255, 130, 28, 0.1);
  border: 1px solid var(--line);
}

.footer-bottom {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}

.footer-legal,
.footer-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
}

.footer-policies a {
  font-weight: 800;
  text-decoration: none;
  color: var(--orange-deep);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
}

.brand-row a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.brand-row img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  background: var(--white);
  border-radius: 7px;
  padding: 2px;
}

.brand-row img.brand-portal {
  padding: 0;
  background: transparent;
  transform: scale(0.58);
}

.scroll-top {
  position: fixed;
  z-index: 90;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  bottom: calc(1rem + env(safe-area-inset-bottom));
}

.scroll-top {
  right: 1rem;
  background: var(--orange);
  color: #1c130c;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 12px 28px rgba(255, 130, 28, 0.28);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .tools-grid .reveal:nth-child(2),
.js .contact-grid .reveal:nth-child(2),
.js .stats .reveal:nth-child(2),
.js .diff-list .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.js .tools-grid .reveal:nth-child(3),
.js .contact-grid .reveal:nth-child(3),
.js .stats .reveal:nth-child(3),
.js .diff-list .reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.js .tools-grid .reveal:nth-child(4) { transition-delay: 0.22s; }
.js .tools-grid .reveal:nth-child(5) { transition-delay: 0.28s; }
.js .tools-grid .reveal:nth-child(6) { transition-delay: 0.34s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0% { transform: scale(0.72); opacity: 0.65; }
  100% { transform: scale(1.18); opacity: 0; }
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -16px, 0); }
}

@keyframes driftGrid {
  from { background-position: 0 0, 0 0; }
  to { background-position: 52px 52px, 52px 52px; }
}

@keyframes gpsPulse {
  0% { transform: scale(0.55); opacity: 0.4; }
  100% { transform: scale(2.6); opacity: 0; }
}

@keyframes wordIn {
  from { opacity: 0; transform: translateY(0.4em); }
  to { opacity: 1; transform: none; }
}

.legal {
  padding: calc(var(--nav-h) + 2.75rem) 0 4rem;
  background: var(--white);
}

.legal h1 {
  margin-top: 0.4rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.04em;
}

.legal h2 {
  margin-top: 1.7rem;
  font-size: 1.15rem;
}

.legal p,
.legal li {
  margin-top: 0.7rem;
  color: var(--muted);
  line-height: 1.7;
}

.legal ul {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
}

.legal a {
  color: var(--orange-deep);
}

