/* Applv — abertura da página: título, celular ilustrativo e selos flutuantes. */

/* ---------- Abertura -------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.25rem, 5vw, 4.5rem) 0 clamp(3rem, 7vw, 5.5rem);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  top: -22rem;
  right: -16rem;
  width: 52rem;
  height: 52rem;
  background: radial-gradient(closest-side, rgba(23, 194, 201, 0.2), rgba(23, 194, 201, 0) 72%);
}

.hero::after {
  bottom: -20rem;
  left: -18rem;
  width: 40rem;
  height: 40rem;
  background: radial-gradient(closest-side, rgba(255, 138, 101, 0.16), rgba(255, 138, 101, 0) 72%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 1rem 0.3rem 0.45rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  color: var(--teal-900);
  font-weight: 700;
  font-size: 0.92rem;
}

.eyebrow__icon {
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
}

.hero__title {
  margin-top: 1.25rem;
  font-size: clamp(2.5rem, 5.6vw, 4.05rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.015em;
}

/* Marca-texto coral atrás da promessa: acompanha a quebra de linha. */
.hero__accent {
  color: var(--teal-700);
  background-image: linear-gradient(
    to bottom,
    transparent 72%,
    rgba(255, 138, 101, 0.32) 72%,
    rgba(255, 138, 101, 0.32) 90%,
    transparent 90%
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline: 0.04em;
  border-radius: 0.1em;
  white-space: nowrap;
}

.hero__lead {
  margin-top: 1.35rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.7vw, 1.3rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__points {
  display: grid;
  gap: 0.6rem;
  margin: 2.1rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 1rem;
}

.hero__points li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hero__points svg {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  padding: 0.24rem;
  border-radius: 50%;
  background: var(--safe-bg);
  color: var(--safe-ink);
}

/* ----- Celular ilustrativo: reprodução da tela de resultado do app --------- */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 640px;
}

.hero__glow {
  position: absolute;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #17c2c9, #14b8c4, #ff7a56, #ffc94d, #17c2c9);
  filter: blur(64px);
  opacity: 0.32;
}

.phone {
  --tilt: -3deg;
  position: relative;
  width: 296px;
  height: 606px;
  padding: 10px;
  border-radius: 48px;
  background: #0f1f20;
  box-shadow: var(--shadow-lift), 0 50px 90px -40px rgba(11, 74, 80, 0.7), inset 0 0 0 2px rgba(255, 255, 255, 0.07);
  transform: rotate(var(--tilt));
  animation: float 8s ease-in-out infinite;
}

.phone::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 50%;
  z-index: 3;
  width: 82px;
  height: 22px;
  border-radius: var(--radius-pill);
  background: #0f1f20;
  transform: translateX(-50%);
}

.phone__screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 38px;
  background: #fff;
  font-family: var(--font-body);
}

.app-hero {
  display: flex;
  flex: 0 0 52%;
  flex-direction: column;
  align-items: center;
  padding: 52px 18px 0;
  background: linear-gradient(180deg, var(--danger-a), var(--danger-b));
  color: #fff;
  text-align: center;
}

.app-nav {
  display: flex;
  align-self: stretch;
  justify-content: space-between;
}

.app-nav span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
}

.app-nav svg {
  width: 15px;
  height: 15px;
}

.app-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin-top: 12px;
  border-radius: 50%;
  background: #fff;
  color: var(--danger-b);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.14), 0 0 30px rgba(255, 255, 255, 0.35);
}

.app-icon svg {
  width: 40px;
  height: 40px;
}

.app-label {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1.05;
}

.app-product {
  margin-top: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.94;
}

.app-sheet {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  margin-top: -26px;
  padding: 9px 15px 16px;
  border-radius: 26px 26px 0 0;
  background: #fff;
  color: var(--ink);
}

.app-sheet__handle {
  align-self: center;
  width: 38px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--line);
}

.app-sheet__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  line-height: 1.1;
}

.app-panel {
  padding: 11px 12px;
  border-radius: 16px;
  background: var(--surface);
}

.app-panel__label {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.app-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.app-chip {
  padding: 4px 9px;
  border-radius: 10px;
  background: #e6f4f5;
  color: var(--chip-text);
  font-size: 0.7rem;
  font-weight: 700;
}

.app-chip--danger {
  background: var(--danger-bg);
  color: var(--danger-ink);
}

.app-panel__note {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.4;
}

.app-source {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.3;
}

.app-source svg {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--teal-700);
}

.app-source b {
  color: var(--ink);
}

.app-button {
  margin-top: auto;
  padding: 11px;
  border-radius: 14px;
  background: var(--teal-900);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
}

/* ----- Selos flutuantes ao lado do celular ---------------------------------- */
.float-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem 0.55rem 0.55rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-lift);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.95rem;
  white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}

.float-chip__icon {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  color: #fff;
}

.float-chip__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.float-chip--safe {
  top: 13%;
  left: -1%;
  animation-delay: -2.5s;
}

.float-chip--safe .float-chip__icon {
  background: linear-gradient(135deg, var(--safe-a), var(--safe-b));
}

.float-chip--trace {
  top: 47%;
  right: -3%;
  animation-delay: -5s;
}

.float-chip--trace .float-chip__icon {
  background: linear-gradient(135deg, var(--warn-a), var(--warn-b));
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(var(--tilt, 0deg));
  }
  50% {
    transform: translateY(-10px) rotate(var(--tilt, 0deg));
  }
}
