/* Auvia — landing page (auvia.pro)
   Sistema visual derivado do Design System dos apps:
   ios/Auvia/.../DesignSystem/Theme/AppTheme.swift (consumidor)
   ios/AuviaPro/.../DesignSystem/Theme/AppTheme.swift (profissional) */

:root {
  /* Auvia (consumidor) */
  --primary: #286dbc;
  --primary-strong: #143f7c;
  --primary-soft: #5b95d6;
  --accent: #d39335;
  --accent-strong: #b9781f;
  --success: #3a9663;

  /* Texto */
  --ink: #1b1f2a;
  --ink-2: #595e6d;
  --ink-3: #8b90a0;

  /* Fundo / superfícies */
  --bg-top: #f7f2e5;
  --bg-bottom: #e2eaf2;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --line: rgba(27, 31, 42, 0.1);
  --line-soft: rgba(27, 31, 42, 0.06);

  /* Auvia Pro (sóbrio) */
  --pro-primary: #5d5b53;
  --pro-primary-strong: #4e4d49;
  --pro-accent: #cab875;
  --pro-bg-top: #f7f6f0;
  --pro-bg-bottom: #cfc8b8;

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 16px rgba(20, 63, 124, 0.06);
  --shadow-md: 0 16px 40px rgba(20, 63, 124, 0.1);
  --shadow-lg: 0 30px 70px rgba(20, 63, 124, 0.16);

  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro Display",
    "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.55;
  background-color: var(--bg-top);
  background-image: radial-gradient(
      1100px 620px at 78% -8%,
      rgba(40, 109, 188, 0.16),
      transparent 60%
    ),
    radial-gradient(900px 560px at -6% 12%, rgba(211, 147, 53, 0.16), transparent 55%),
    linear-gradient(168deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.6;
}

.grad-text {
  background: linear-gradient(120deg, var(--primary-strong), var(--primary) 55%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--radius-pill);
  padding: 13px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.5);
  border-color: var(--line);
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* App Store badge */
.appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px;
  border-radius: 15px;
  background: #0d0f14;
  color: #fff;
  font-weight: 600;
  min-height: 56px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.appstore-btn:hover {
  text-decoration: none;
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
.appstore-btn svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  fill: currentColor;
}
.appstore-btn .label {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
  text-align: left;
}
.appstore-btn .label .small {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.82;
}
.appstore-btn .label .big {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.appstore-btn.coming-soon {
  background: rgba(27, 31, 42, 0.06);
  color: var(--ink-2);
  border: 1px solid var(--line);
  cursor: default;
  pointer-events: none;
}
.appstore-btn.coming-soon:hover {
  transform: none;
  box-shadow: none;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.site-header.scrolled {
  background: rgba(247, 242, 229, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line-soft), 0 10px 30px rgba(20, 63, 124, 0.06);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.brand:hover {
  text-decoration: none;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.header-links {
  display: flex;
  gap: 24px;
  font-size: 15px;
  font-weight: 600;
}
.header-links a {
  color: var(--ink-2);
}
.header-links a:hover {
  color: var(--primary-strong);
  text-decoration: none;
}
.header-side {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-switch {
  display: flex;
  gap: 2px;
  font-size: 13px;
  font-weight: 700;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line-soft);
}
.lang-switch a {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  color: var(--ink-3);
}
.lang-switch a:hover {
  text-decoration: none;
  color: var(--ink-2);
}
.lang-switch a[aria-current="true"] {
  background: var(--surface-solid);
  color: var(--primary-strong);
  box-shadow: var(--shadow-sm);
}
.header-cta {
  padding: 9px 18px;
  min-height: 0;
  border-radius: var(--radius-pill);
}
.header-cta .label .big {
  font-size: 14px;
}
.header-cta .label .small {
  font-size: 9.5px;
}
.header-cta svg {
  width: 18px;
  height: 18px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 70px 0 40px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-strong);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.badge-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(58, 150, 99, 0.18);
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 20px 0 18px;
}
.hero .lede {
  font-size: clamp(17px, 1.7vw, 19px);
  color: var(--ink-2);
  max-width: 540px;
  margin: 0 0 28px;
}
.hero .store-actions {
  margin-bottom: 20px;
}
.hero .reassure {
  font-size: 14px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero .reassure svg {
  width: 16px;
  height: 16px;
  fill: var(--success);
  flex: 0 0 auto;
}

/* Chips do que a Auvia analisa */
.analyze-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.language-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 9px 14px;
  border: 1px solid rgba(40, 109, 188, 0.2);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-2);
  font-size: 13px;
  box-shadow: var(--shadow-sm);
}
.language-badge > span:first-child,
.language-badge b {
  color: var(--primary-strong);
}
.chip {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line-soft);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}

/* ---------- Phone mockup ---------- */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.device-caption {
  position: relative;
  z-index: 2;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
}
.device-caption svg {
  width: 15px;
  height: 15px;
  fill: var(--ink-3);
  flex: 0 0 auto;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 6% 12%;
  background: radial-gradient(closest-side, rgba(40, 109, 188, 0.35), transparent);
  filter: blur(46px);
  z-index: 0;
}
.device {
  position: relative;
  z-index: 1;
  width: 306px;
  max-width: 78vw;
  background: linear-gradient(145deg, #74777c 0%, #202226 36%, #08090b 100%);
  border-radius: 52px;
  padding: 9px;
  box-shadow: 0 30px 70px rgba(13, 15, 20, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  border: 1px solid #0a0b0d;
}
.device::before,
.device::after {
  content: "";
  position: absolute;
  right: -4px;
  width: 4px;
  background: #191b1f;
  border-radius: 0 3px 3px 0;
}
.device::before {
  top: 118px;
  height: 72px;
}
.device::after {
  top: 212px;
  height: 42px;
}
.device .dynamic-island {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 25px;
  background: #030405;
  border-radius: 999px;
  z-index: 6;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.screen {
  position: relative;
  border-radius: 43px;
  overflow: hidden;
  background: #f4f2ec;
  aspect-ratio: 1206 / 2622;
}
.device-carousel,
.device-carousel [data-device-slide] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.device-carousel [data-device-slide] {
  display: block;
  object-fit: cover;
}
.device-carousel [data-device-slide][hidden] {
  display: none;
}
.device-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 32px;
  height: 44px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  background: rgba(13, 15, 20, 0.48);
  color: #fff;
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.device-arrow.previous {
  left: 0;
  border-radius: 0 12px 12px 0;
}
.device-arrow.next {
  right: 0;
  border-radius: 12px 0 0 12px;
}
.device-arrow:focus-visible,
.device-dots button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.device-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 4;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  background: rgba(13, 15, 20, 0.48);
  backdrop-filter: blur(8px);
}
.device-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
}
.device-dots button[aria-current="true"] {
  width: 19px;
  border-radius: var(--radius-pill);
  background: #fff;
}
.screen-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.screen-top img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.screen-top b {
  font-size: 15px;
  color: var(--ink);
}
.screen-top span {
  font-size: 11px;
  color: var(--ink-3);
  display: block;
  font-weight: 500;
}
.photo-card {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(135deg, #cdd9ea, #e7ddc8);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.photo-card .profile-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
}
.photo-card .score {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(13, 15, 20, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}
.reco {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 11px 13px;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.reco .tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: rgba(58, 150, 99, 0.16);
}
.reco .tick svg {
  width: 12px;
  height: 12px;
  fill: var(--success);
}
.reco b {
  font-size: 12.5px;
  color: var(--ink);
  display: block;
}
.reco p {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--ink-2);
  line-height: 1.4;
}
.screen-cta {
  margin-top: auto;
  text-align: center;
  background: linear-gradient(120deg, var(--primary-strong), var(--primary));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 12px;
  border-radius: 14px;
}

/* floating tag near device */
.float-tag {
  position: absolute;
  z-index: 2;
  background: var(--surface-solid);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 10px 13px;
  box-shadow: var(--shadow-md);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 9px;
}
.float-tag svg {
  width: 16px;
  height: 16px;
}
.float-tag.t1 {
  top: 14%;
  left: -6%;
}
.float-tag.t2 {
  bottom: 12%;
  right: -4%;
}

/* ---------- Faixa de marcas/estatísticas ---------- */
.stats {
  padding: 22px 0 8px;
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  max-width: calc(var(--maxw) - 0px);
}
.stat {
  text-align: center;
}
.stat b {
  display: block;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.02em;
  color: var(--primary-strong);
}
.stat span {
  font-size: 13.5px;
  color: var(--ink-2);
  font-weight: 500;
}

/* ---------- Seções ---------- */
section {
  padding: 64px 0;
}
.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 44px;
}
.section-head h2 {
  font-size: clamp(28px, 3.8vw, 40px);
  letter-spacing: -0.02em;
  margin: 12px 0 12px;
}
.section-head p {
  color: var(--ink-2);
  font-size: 17px;
  margin: 0;
}
.section-head .eyebrow {
  justify-content: center;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card .ico {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(40, 109, 188, 0.16), rgba(211, 147, 53, 0.16));
  margin-bottom: 16px;
}
.card .ico svg {
  width: 26px;
  height: 26px;
  fill: var(--primary-strong);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px 26px 26px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}
.step .num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-strong), var(--primary));
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}
.step h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.step p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
}

/* Before / after — comparador arrastável */
.ba {
  margin-top: 6px;
}
.ba-compare {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}
.ba-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-size: cover;
  background-position: 50% 22%;
  background-repeat: no-repeat;
}
.ba-after {
  background-image: url("users-cases/1-a-amelie.JPG");
  background-position: 50% 22%;
}
.ba-before {
  background-image: url("users-cases/1-b-amelie.JPG");
  /* Pareia olhos, nariz e boca com a simulacao apesar dos recortes originais distintos. */
  background-position: 50% 38%;
  /* mostra apenas a faixa à esquerda do divisor */
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}
.ba-chip {
  position: absolute;
  top: 14px;
  z-index: 3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(13, 15, 20, 0.42);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}
.ba-chip.left {
  left: 14px;
}
.ba-chip.right {
  right: 14px;
}
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 3px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(13, 15, 20, 0.06);
  z-index: 4;
  pointer-events: none;
}
.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary-strong);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
}
.ba-knob svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
/* Range invisível por cima controla o arraste (e teclado) */
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  z-index: 5;
  pointer-events: none;
}
.ba-range:focus-visible + .ba-divider .ba-knob,
.ba-range:focus-visible ~ .ba-divider .ba-knob {
  outline: 3px solid rgba(40, 109, 188, 0.6);
  outline-offset: 2px;
}
.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 46px;
  height: 100%;
  cursor: ew-resize;
}
.ba-range::-moz-range-thumb {
  width: 46px;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: ew-resize;
}
.ba-range::-moz-range-track {
  background: transparent;
}
.ba-hint {
  text-align: center;
  margin: 16px 0 0;
  font-size: 13.5px;
  color: var(--ink-3);
}
.ba-priorities {
  max-width: 760px;
  margin: 0 auto;
  padding: 26px 28px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background: var(--surface-solid);
  box-shadow: var(--shadow-sm);
}
.priority-carousel {
  max-width: 760px;
  margin: 28px auto 0;
}
.priority-slide[hidden] {
  display: none;
}
.priority-area {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(40, 109, 188, 0.1);
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.priority-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 16px;
}
.priority-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: var(--surface-solid);
  color: var(--primary-strong);
  font: inherit;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.priority-arrow:hover {
  border-color: var(--primary);
}
.priority-arrow:focus-visible,
.priority-dots button:focus-visible {
  outline: 3px solid rgba(40, 109, 188, 0.35);
  outline-offset: 2px;
}
.priority-dots {
  display: flex;
  gap: 9px;
}
.priority-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line-soft);
  cursor: pointer;
}
.priority-dots button[aria-current="true"] {
  width: 24px;
  border-radius: var(--radius-pill);
  background: var(--primary);
}
.ba-priorities h3 {
  margin: 0 0 18px;
  font-size: 20px;
}
.ba-priorities ol {
  display: grid;
  gap: 13px;
  margin: 0;
  padding-left: 24px;
}
.ba-priorities li {
  padding-left: 6px;
  color: var(--ink-2);
  line-height: 1.55;
}
.ba-priorities li::marker {
  color: var(--primary);
  font-weight: 800;
}

/* ---------- Auvia Pro ---------- */
.pro {
  position: relative;
  margin: 12px 0;
}
.pro-inner {
  background: linear-gradient(160deg, var(--pro-bg-top) 0%, var(--pro-bg-bottom) 100%);
  border-radius: var(--radius-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 44px;
  align-items: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(78, 77, 73, 0.12);
}
.pro-inner .eyebrow {
  color: var(--pro-primary-strong);
}
.pro-inner h2 {
  margin: 12px 0 14px;
  font-size: clamp(28px, 3.6vw, 38px);
  letter-spacing: -0.02em;
  color: #181c1f;
}
.pro-inner > div > p {
  color: #4e4d49;
  font-size: 16.5px;
  margin: 0 0 22px;
  max-width: 520px;
}
.pro-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 12px;
}
.pro-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15px;
  color: #2c2b27;
}
.pro-list .tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: rgba(78, 77, 73, 0.14);
  margin-top: 1px;
}
.pro-list .tick svg {
  width: 12px;
  height: 12px;
  fill: var(--pro-primary-strong);
}
.pro .appstore-btn {
  background: var(--pro-primary-strong);
}
.pro .appstore-btn.coming-soon {
  background: rgba(78, 77, 73, 0.1);
  color: var(--pro-primary-strong);
  border-color: rgba(78, 77, 73, 0.18);
}
.pro-visual {
  display: flex;
  justify-content: center;
}
.pro-card {
  width: 100%;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.pro-card .pc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 16px;
}
.pro-card .pc-head img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}
.pro-card .pc-head b {
  font-size: 15px;
}
.pro-card .pc-head span {
  font-size: 12px;
  color: var(--ink-3);
  display: block;
}
.pro-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 13.5px;
  color: var(--ink-2);
}
.pro-row b {
  color: var(--ink);
  font-weight: 700;
}
.pro-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--pro-primary-strong);
  background: rgba(202, 184, 117, 0.28);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.pro-doc {
  margin-top: 14px;
  border-radius: 14px;
  background: linear-gradient(160deg, #faf8f2, #ece6d7);
  border: 1px dashed rgba(78, 77, 73, 0.28);
  padding: 16px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--pro-primary-strong);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 4px 20px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.2s ease;
  line-height: 1;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: 15px;
}

/* ---------- CTA final ---------- */
.cta {
  padding: 40px 0 72px;
}
.cta-inner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 56px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-strong), var(--primary) 60%, #2f74c0);
  box-shadow: var(--shadow-lg);
}
.cta-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 240px at 80% -20%, rgba(211, 147, 53, 0.4), transparent 60%);
  pointer-events: none;
}
.cta-inner h2 {
  position: relative;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.cta-inner p {
  position: relative;
  font-size: 18px;
  opacity: 0.92;
  margin: 0 auto 28px;
  max-width: 520px;
}
.cta-inner .store-actions {
  position: relative;
  justify-content: center;
}
.cta-inner .appstore-btn.coming-soon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 48px 0 40px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-2);
  font-size: 14px;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 36px;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  color: var(--ink);
}
.footer-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.site-footer nav a {
  color: var(--ink-2);
}
.site-footer nav a.social {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease, border-color 0.2s ease;
}
.site-footer nav a.social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.site-footer nav a.social:hover {
  text-decoration: none;
  transform: translateY(-2px);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}
.site-footer nav a.social-ig:hover {
  background: radial-gradient(circle at 30% 107%, #ffd86b 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
}
.site-footer nav a.social-tt:hover {
  background: #0d0f14;
}
.site-footer nav a.social-mail:hover {
  background: linear-gradient(135deg, var(--primary-strong), var(--primary));
}

/* ---------- Reveal (progressive enhancement) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.js .hero .reveal {
  transition-delay: 0.05s;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .hero .lede {
    margin-left: auto;
    margin-right: auto;
  }
  .hero .store-actions,
  .hero .reassure,
  .analyze-chips {
    justify-content: center;
  }
  .badge-pill {
    margin: 0 auto;
  }
  .pro-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 44px 30px;
  }
  .pro-inner .eyebrow,
  .pro .store-actions {
    justify-content: center;
  }
  .pro-list {
    text-align: left;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .pro-inner > div > p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 760px) {
  .header-links {
    display: none;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .stats .container {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .ba-card {
    grid-template-columns: 1fr;
  }
  .ba-side {
    min-height: 220px;
  }
  .ba-priorities {
    padding: 22px 20px;
  }
  .float-tag {
    display: none;
  }
  .cta-inner,
  .pro-inner {
    padding: 36px 24px;
  }
  .site-footer .container {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .header-cta {
    display: none;
  }
}
