/* ==========================================================================
   AXIS — Landing page oficial
   Paleta e raios reutilizados 1:1 de apps/web/src/styles/tokens.css (AUREN)
   para manter consistência visual com o aplicativo real.
   ========================================================================== */

:root {
  --bg: #000000;
  --card: #0a0a0a;
  --card-2: #0f0f0f;
  --border: #242424;
  --border-soft: #1a1a1a;
  --border-strong: #3a3a3a;

  --text: #ffffff;
  --text-muted: #9a9a9a;
  --text-dim: #8a8a8a;
  --text-faint: #7a7a7a;
  --text-disabled: #5a5a5a;

  --accent: #b7a6f2;
  --accent-soft: rgba(183, 166, 242, 0.14);
  --accent-glow: rgba(183, 166, 242, 0.35);
  --green: #4ade80;
  /** Só para distinguir a categoria Feminina da Masculina (mesmo tom usado no app real para o badge "Maquiagem"). */
  --pink: #e6a6c9;

  --radius-sm: 11px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 32px;

  --container: 1160px;
  --gutter: 20px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

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

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

button {
  font-family: inherit;
}

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

section {
  position: relative;
}

#evolucao {
  scroll-margin-top: 88px;
}

/* ---- Tipografia utilitária ---- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--accent);
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(22px, 3.6vw, 36px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 12px 0 0;
}

.section-subtitle {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 14px 0 0;
}

/* ---- Botões ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  border: none;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--text);
  color: #000000;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.12);
  opacity: 0.94;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
  height: 42px;
  padding: 0 20px;
  font-size: 12.5px;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   Logo (reaparece no rodapé)
   ========================================================================== */

.logo {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--text);
}

.logo span {
  color: var(--accent);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 88px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 620px 420px at 78% 8%, rgba(183, 166, 242, 0.16), transparent 60%),
    radial-gradient(ellipse 500px 500px at 8% 90%, rgba(183, 166, 242, 0.08), transparent 60%);
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 48px;
}

.hero-copy {
  max-width: 960px;
}

.hero-title {
  font-size: clamp(24px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.8px;
  margin: 0;
}

.hero-subtitle {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 20px auto 0;
  max-width: 480px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Captura real do aplicativo AXIS, usada como imagem principal do Hero. */
.hero-image-wrap {
  position: relative;
  width: 100%;
  max-width: 620px;
}

.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse 60% 55% at 50% 42%, rgba(183, 166, 242, 0.28), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

.hero-app-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.65),
    0 0 90px rgba(183, 166, 242, 0.18);
}

/* Entrada: a imagem/vídeo "cai" de cima bem devagar até se encaixar no lugar. */
.hero-image-wrap,
.hero-media-wrap {
  animation: hero-drop-in 3.2s cubic-bezier(0.3, 0.05, 0.2, 1) both;
}

@keyframes hero-drop-in {
  0% {
    transform: translateY(-160px);
    opacity: 0;
  }
  62% {
    transform: translateY(12px);
    opacity: 1;
  }
  80% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}


/* ==========================================================================
   Mockups de telas reais (fiéis às classes/tokens de AnalysisResultScreen,
   EvolutionScreen etc. do app — apenas em HTML/CSS estático, com dados
   de demonstração claramente identificados como tal).
   ========================================================================== */

.phone {
  position: relative;
  width: 258px;
  border-radius: 40px;
  border: 1px solid var(--border-strong);
  background: #000;
  padding: 10px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 20px;
  background: #000;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}

.phone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 30px;
  overflow: hidden;
  background: var(--bg);
  padding: 22px 14px 16px;
}

.phone-float {
  position: absolute;
  border-radius: 26px;
  border: 1px solid var(--border-strong);
  background: #000;
  padding: 8px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

.demo-flag {
  position: absolute;
  top: 10px;
  right: -6px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--text-faint);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  padding: 3px 7px;
  border-radius: 20px;
  z-index: 4;
}

/* mini header dentro da tela */
.scr-topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 14px;
}

.scr-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text);
  text-align: center;
}

.scr-subtitle {
  font-size: 8px;
  color: var(--text-faint);
  text-align: center;
  margin-top: 1px;
}

/* foto/frame com cantos (idêntico ao .frame/.cornerTopLeft do app) */
.scr-frame {
  position: relative;
  width: 100%;
  max-width: 150px;
  margin: 6px auto 0;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, #1c1626, #060606 70%);
  overflow: hidden;
}

.scr-frame::before,
.scr-frame::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--accent);
  border-style: solid;
  border-width: 0;
}

.scr-frame::before {
  top: 8px;
  left: 8px;
  border-top-width: 2px;
  border-left-width: 2px;
  border-top-left-radius: 5px;
}

.scr-frame::after {
  bottom: 8px;
  right: 8px;
  border-bottom-width: 2px;
  border-right-width: 2px;
  border-bottom-right-radius: 5px;
}

.scr-frame .face-glyph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}

/* painel de pontuação com anel */
.scr-score-panel {
  margin-top: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scr-score-label {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-faint);
}

.ring {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}

.ring-text {
  position: absolute;
  display: flex;
  align-items: baseline;
}

.ring-number {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}

.ring-outof {
  font-size: 8px;
  color: var(--text-dim);
  margin-left: 1px;
}

.scr-overall-label {
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--text-faint);
  margin-top: 6px;
}

.scr-metric-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 12px;
}

.scr-metric-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.scr-metric-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.scr-metric-label {
  font-size: 8.5px;
  font-weight: 600;
  color: var(--text);
}

.scr-metric-value {
  font-size: 7.5px;
  color: var(--text-dim);
}

.scr-track {
  height: 3px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
}

.scr-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--accent);
}

.scr-section-title {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text);
  margin: 16px 0 8px;
}

.scr-points-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 11px;
  margin-bottom: 8px;
}

.scr-points-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--accent);
}

.scr-point-row {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: 8px;
  font-size: 8.5px;
  line-height: 12px;
  color: var(--text);
}

.scr-point-row svg {
  flex-shrink: 0;
  margin-top: 1px;
}

/* card de evolução (gráfico) */
.scr-chart-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 12px;
  margin-top: 4px;
}

.scr-chart-label {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--text-faint);
  margin-bottom: 8px;
  display: block;
}

.scr-chart-scores {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
}

.scr-chart-scores span {
  font-size: 8px;
  font-weight: 600;
  color: var(--text-dim);
}

.scr-chart-scores span:last-child {
  color: var(--accent);
  font-weight: 700;
}

.scr-evo-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.scr-evo-card {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 9px 10px;
}

.scr-evo-thumb {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(160deg, #1c1626, #0a0a0a 70%);
  flex-shrink: 0;
}

.scr-evo-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.scr-evo-title {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--text);
}

.scr-evo-date {
  font-size: 7px;
  color: var(--text-faint);
}

.mini-ring {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mini-ring-text {
  position: absolute;
  font-size: 7px;
  font-weight: 700;
  color: var(--text);
}

/* ==========================================================================
   Posicionamento
   ========================================================================== */

.positioning {
  padding: 130px 0;
  text-align: center;
}

.positioning-quote {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(21px, 3vw, 32px);
  line-height: 1.38;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.positioning-quote .fade {
  color: var(--text-faint);
}

.positioning-text {
  max-width: 540px;
  margin: 24px auto 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ==========================================================================
   O que o AXIS analisa
   ========================================================================== */

.observes {
  padding: 110px 0;
  border-top: 1px solid var(--border-soft);
}

/* ---- Carrossel automático (uma faixa por categoria, looping infinito).
   O avanço é feito via JS ajustando scrollLeft (ver assets/js/main.js,
   setupObserveMarquees) — assim dá pra tocar, segurar e arrastar com o
   dedo (scroll nativo) e o avanço automático retoma sozinho ao soltar. */

.observe-marquee {
  margin-top: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.observe-marquee::-webkit-scrollbar {
  display: none;
}

.observe-track {
  display: flex;
  width: max-content;
  gap: 14px;
}

.observe-card {
  flex: 0 0 auto;
  width: 168px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.observe-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.observe-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.observe-name {
  font-size: 13px;
  font-weight: 700;
  margin-top: 12px;
}

.observe-tag {
  font-size: 10px;
  color: var(--text-faint);
  margin-top: 4px;
  letter-spacing: 0.3px;
}

.observes-note {
  margin-top: 32px;
  font-size: 12.5px;
  color: var(--text-faint);
  max-width: 640px;
  line-height: 1.6;
}

/* ---- Categorias (Masculina / Feminina) ---- */

.observe-category {
  margin-top: 64px;
}

.observe-category:first-of-type {
  margin-top: 0;
}

.observe-category-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.observe-category-tag {
  align-self: flex-start;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.observe-category-tag.pink {
  color: var(--pink);
  border-color: rgba(230, 166, 201, 0.4);
}

.observe-category-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.observe-category-subtitle {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 480px;
}

/* ==========================================================================
   Resultado personalizado
   ========================================================================== */

.result-section {
  padding: 110px 0;
  border-top: 1px solid var(--border-soft);
}

.result-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.result-grid-single {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0 auto;
}

.result-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 40px;
}

.result-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.result-block-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent);
}

.result-block-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-top: 8px;
}

.result-media {
  position: relative;
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: zoom-in;
  transition: border-color 0.25s ease;
}

.result-media:hover {
  border-color: var(--border-strong);
}

.result-media img {
  width: 100%;
  height: auto;
  display: block;
}

.result-media-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

/* ==========================================================================
   Lightbox (zoom das telas de resultado)
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  z-index: 1;
}

.lightbox-scroll {
  width: 100%;
  height: 100%;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 16px;
  -webkit-overflow-scrolling: touch;
  touch-action: pinch-zoom;
}

.lightbox-img {
  max-width: 100%;
  max-height: calc(100dvh - 96px);
  width: auto;
  height: auto;
  display: block;
  margin: auto;
  border-radius: 12px;
}

.result-disclaimer {
  margin-top: 24px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-faint);
  max-width: 480px;
}

/* ==========================================================================
   Evolução
   ========================================================================== */

.evolution-section {
  padding: 110px 0;
  border-top: 1px solid var(--border-soft);
  background:
    radial-gradient(ellipse 560px 360px at 12% 20%, rgba(183, 166, 242, 0.07), transparent 60%);
}

/* ---- Galeria (evolução masculina + feminina, telas reais) ---- */

.evolution-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 56px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.evolution-photo {
  margin: 0;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 70px rgba(183, 166, 242, 0.12);
}

/* Entrada bem devagar: masculina vem da esquerda, feminina da direita, até encaixar. */
.evolution-photo.reveal-left,
.evolution-photo.reveal-right {
  transition: opacity 2s ease, transform 2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.evolution-photo.reveal-left {
  transform: translateX(-110px);
}

.evolution-photo.reveal-right {
  transform: translateX(110px);
}

.evolution-photo.reveal-left.in,
.evolution-photo.reveal-right.in {
  transform: translateX(0);
}

.evolution-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.evolution-photo:hover,
.evolution-photo.reveal-left.in:hover,
.evolution-photo.reveal-right.in:hover {
  transform: translateY(-6px);
  box-shadow:
    0 48px 110px rgba(0, 0, 0, 0.65),
    0 0 90px rgba(183, 166, 242, 0.2);
}

.evolution-photo.offset {
  margin-top: 44px;
}

.evolution-footer {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.evolution-timeline {
  max-width: 320px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
}

.evolution-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.evolution-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
}

.evolution-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.evolution-node-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.evolution-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-strong), var(--accent));
  margin-top: -22px;
}

.evolution-note {
  margin-top: 28px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 460px;
  font-style: normal;
  border-left: 2px solid var(--accent);
  padding-left: 18px;
}

/* ==========================================================================
   Diferentes objetivos
   ========================================================================== */

.goals {
  padding: 110px 0;
  border-top: 1px solid var(--border-soft);
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.goal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.goal-title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent);
}

.goal-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ==========================================================================
   CTA final
   ========================================================================== */

.final-cta {
  padding: 90px 0;
  text-align: center;
  border-top: 1px solid var(--border-soft);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-faint);
}

.footer-links a:hover {
  color: var(--text-muted);
}

.footer-note {
  font-size: 12px;
  color: var(--text-disabled);
}

/* ==========================================================================
   Reveal on scroll (discreto)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Cards que entram deslizando de um lado — bem devagar (ver .goal-card e .result-block). */
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 1.3s ease, transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  transform: translateX(-70px);
}

.reveal-right {
  transform: translateX(70px);
}

.reveal-left.in,
.reveal-right.in {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   Recorte do Hero por perfil (a foto original tem os dois telefones lado a
   lado — cada landing de perfil mostra só o seu lado, via crop em CSS, sem
   precisar de um arquivo de imagem separado).
   ========================================================================== */

.hero-image-crop {
  position: relative;
  overflow: hidden;
  aspect-ratio: 512 / 980;
  width: 340px;
  max-width: 100%;
  flex-shrink: 0;
  margin: 0 auto;
  border-radius: 28px;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.65),
    0 0 90px rgba(183, 166, 242, 0.18);
}

.hero-image-crop .hero-app-image {
  position: absolute;
  top: 0;
  width: 200%;
  max-width: 200%;
  height: 100%;
  object-fit: cover;
  object-position: center 39%;
  border-radius: 0;
  box-shadow: none;
}

.hero-image-crop.crop-left .hero-app-image {
  left: 0;
}

/* Mídia única do Hero (uma tela real do app — foto ou vídeo — sem precisar
   de recorte, ex.: landing feminina/masculina com asset já individual). */
.hero-media-wrap {
  position: relative;
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.65),
    0 0 90px rgba(183, 166, 242, 0.18);
}

.hero-media-wrap img,
.hero-media-wrap video {
  width: 100%;
  height: auto;
  display: block;
}

.hero-image-crop.crop-right .hero-app-image {
  left: -100%;
}

/* ==========================================================================
   Como funciona
   ========================================================================== */

.how-it-works {
  padding: 110px 0;
  border-top: 1px solid var(--border-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
}

.step-number {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 1px;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  margin: 14px 0 0;
  letter-spacing: 0.1px;
}

.step-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 10px 0 0;
}

.how-it-works-media {
  width: 320px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.65),
    0 0 90px rgba(183, 166, 242, 0.18);
}

.how-it-works-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Evolução — foto única (landing de perfil único)
   ========================================================================== */

.evolution-gallery.single {
  grid-template-columns: 1fr;
  max-width: 300px;
}

/* ==========================================================================
   Escolha de perfil (página inicial)
   ========================================================================== */

.profile-select {
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  padding: 72px 0 60px;
}

.profile-select-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.profile-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-align: left;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.profile-card:hover {
  border-color: var(--border-strong);
  transform: translateX(4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.profile-card-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  margin: 0;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-card.feminino .profile-card-icon {
  background: rgba(230, 166, 201, 0.14);
  color: var(--pink);
}

.profile-card-body {
  flex: 1;
  min-width: 0;
}

.profile-card-title {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.profile-card-text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-top: 2px;
}

.profile-card-arrow {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

.profile-card.feminino .profile-card-arrow {
  color: var(--pink);
}

/* ==========================================================================
   Responsivo
   ========================================================================== */

@media (max-width: 980px) {
  .result-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 8px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .evolution-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .evolution-photo.offset {
    margin-top: 0;
  }

  .goals-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .profile-cards {
    max-width: 380px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 18px;
  }

  .hero {
    padding: 44px 0 64px;
  }

  .hero-title {
    font-size: clamp(22px, 7.5vw, 30px);
  }

  .positioning,
  .how-it-works,
  .observes,
  .result-section,
  .evolution-section,
  .goals,
  .profile-select {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-title {
    font-size: clamp(19px, 6vw, 26px);
  }

  .positioning-quote {
    font-size: clamp(18px, 5.5vw, 26px);
  }

  .steps {
    gap: 14px;
  }

  .step-card {
    padding: 18px 16px;
  }

  .step-title {
    font-size: 15px;
    margin-top: 10px;
  }

  .step-text {
    font-size: 12.5px;
  }

  .observe-card {
    width: 148px;
    padding: 16px 14px;
  }

  .result-blocks {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
  }

  .result-block {
    padding: 16px;
  }

  .goals-grid {
    gap: 14px;
  }

  .goal-card {
    padding: 16px;
  }

  .evolution-photo {
    max-width: 240px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image-crop {
    max-width: 240px;
  }

  .phone {
    width: 220px;
  }

  .evolution-node-label {
    font-size: 10px;
  }

  .btn-primary {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
