/*
 * Menupi — landing page.
 * Réplica em CSS puro da landing do menupi-adm-app (antes em Tailwind). Os valores seguem a
 * escala do Tailwind (rem, sombras, breakpoints sm 640 / md 768 / lg 1024) para o visual ficar
 * idêntico.
 */

/* ===== Tokens ===== */
:root {
  --ink-950: #12100e;
  --ink-900: #1a1613;
  --ink-800: #26211d;

  --ember-50: #fff4ed;
  --ember-300: #ffa370;
  --ember-400: #ff7a3d;
  --ember-500: #f45a1a;
  --ember-600: #d9430f;
  --ember-700: #b3330f;
  --ember-800: #8f2b13;

  --neutral-100: #f5f5f5;
  --neutral-200: #e5e5e5;
  --neutral-300: #d4d4d4;
  --neutral-400: #a3a3a3;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;

  --cream: #f7f1ea;
  --paper: #fbf7f2;

  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* ===== Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background: var(--ink-950);
  color: #fff;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  font-size: inherit;
  font-weight: inherit;
}

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

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

svg {
  display: block;
  flex-shrink: 0;
}

[hidden] {
  display: none !important;
}

.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.container--5xl {
  max-width: 64rem;
}

.center {
  text-align: center;
}

.only-desktop {
  display: none;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }

  .only-mobile {
    display: none;
  }

  .only-desktop {
    display: inline;
  }
}

/* ===== Botões ===== */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--ember-500);
  color: #fff;
  font-weight: 600;
  box-shadow:
    0 10px 15px -3px rgb(116 38 19 / 0.3),
    0 4px 6px -4px rgb(116 38 19 / 0.3);
  transition:
    background-color 150ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 150ms,
    transform 150ms;
}

.cta:hover {
  background: var(--ember-400);
}

.cta:focus {
  outline: none;
}

.cta:focus-visible {
  box-shadow: 0 0 0 4px rgb(255 163 112 / 0.6);
}

.cta--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.cta--lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.cta--block {
  width: 100%;
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
}

.icon-arrow {
  width: 1.25rem;
  height: 1.25rem;
}

/* ===== Header ===== */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgb(255 255 255 / 0.05);
  background: rgb(18 16 14 / 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.header__inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header__login {
  border-radius: 9999px;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--neutral-300);
  transition: color 150ms;
}

.header__login:hover {
  color: #fff;
}

@media (min-width: 640px) {
  .header__nav {
    gap: 1rem;
  }
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.logo > span {
  color: var(--ember-500);
}

.logo--footer {
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: #fff;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5rem;
}

.hero__glow {
  pointer-events: none;
  position: absolute;
  top: -10rem;
  right: -10%;
  width: 520px;
  height: 520px;
  border-radius: 9999px;
  background: rgb(217 67 15 / 0.2);
  filter: blur(120px);
}

.hero__grid {
  position: relative;
  display: grid;
  align-items: center;
  gap: 3.5rem;
}

.hero__copy {
  text-align: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgb(244 90 26 / 0.3);
  border-radius: 9999px;
  background: rgb(244 90 26 / 0.1);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ember-300);
}

.hero__title {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.hero__title em {
  font-weight: 600;
  font-style: italic;
  color: var(--ember-400);
}

.hero__pillars {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.75rem;
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 500;
  color: var(--neutral-200);
}

.dot {
  color: var(--ember-500);
}

.hero__lead {
  max-width: 36rem;
  margin: 1rem auto 0;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--neutral-300);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2.25rem;
}

.hero__secondary {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: var(--neutral-300);
  text-underline-offset: 4px;
  transition: color 150ms;
}

.hero__secondary:hover {
  color: #fff;
  text-decoration: underline;
}

.hero__note {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--neutral-500);
}

@media (min-width: 640px) {
  .hero {
    padding: 9rem 0 7rem;
  }

  .hero__title {
    font-size: 3.4rem;
  }

  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hero__copy {
    text-align: left;
  }

  .hero__pillars,
  .hero__actions {
    justify-content: flex-start;
  }

  .hero__lead {
    margin-left: 0;
    margin-right: 0;
  }
}

/* ===== Celular do hero ===== */
.phone-wrap {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.phone-wrap__glow {
  position: absolute;
  inset: -2.5rem;
  border-radius: 9999px;
  background: rgb(244 90 26 / 0.25);
  filter: blur(64px);
}

.phone {
  position: relative;
  border: 10px solid var(--ink-800);
  border-radius: 2.75rem;
  background: var(--ink-800);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.6);
}

.phone__notch {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  z-index: 10;
  width: 6rem;
  height: 1.25rem;
  transform: translateX(-50%);
  border-radius: 9999px;
  background: var(--ink-950);
}

.phone__screen {
  overflow: hidden;
  border-radius: 2.1rem;
  background: var(--paper);
  color: var(--ink-900);
}

.phone__cover {
  position: relative;
  height: 8rem;
  background: linear-gradient(to bottom right, var(--ember-700), var(--ember-600), var(--ember-400));
}

.phone__cover-pizza {
  position: absolute;
  right: -2rem;
  bottom: -2.5rem;
  width: 10rem;
  height: 10rem;
  transform: rotate(12deg);
  filter: drop-shadow(0 20px 13px rgb(0 0 0 / 0.03)) drop-shadow(0 8px 5px rgb(0 0 0 / 0.08));
}

.phone__body {
  position: relative;
  padding: 0 1rem 0.75rem;
}

.phone__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-top: -2rem;
  border-radius: 1rem;
  background: var(--ink-900);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: var(--ember-400);
  box-shadow:
    0 0 0 4px var(--paper),
    0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.phone__name {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
}

.phone__status {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 11px;
  color: var(--neutral-500);
}

.phone__status > span {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: #10b981;
}

.phone__tabs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 11px;
  font-weight: 600;
}

.phone__tabs > span {
  border-radius: 9999px;
  background: #fff;
  padding: 0.25rem 0.75rem;
  color: var(--neutral-600);
  box-shadow: 0 0 0 1px var(--neutral-200);
}

.phone__tabs > .is-active {
  background: var(--ink-900);
  color: #fff;
  box-shadow: none;
}

.phone__items {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.phone__items > li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  background: #fff;
  padding: 0.5rem;
  box-shadow: 0 0 0 1px var(--neutral-100);
}

.phone__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: var(--ember-50);
}

.phone__thumb > svg {
  width: 2.5rem;
  height: 2.5rem;
}

.phone__item-text {
  min-width: 0;
  flex: 1;
}

.phone__item-name,
.phone__item-detail {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone__item-name {
  font-size: 13px;
  font-weight: 600;
}

.phone__item-detail {
  font-size: 10px;
  color: var(--neutral-500);
}

.phone__item-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--ember-700);
}

.phone__cart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  border-radius: 1rem;
  background: var(--ember-600);
  padding: 0.625rem 1rem;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.float-order,
.float-zero {
  position: absolute;
  display: none;
  border-radius: 1rem;
  box-shadow:
    0 20px 25px -5px rgb(0 0 0 / 0.4),
    0 8px 10px -6px rgb(0 0 0 / 0.4);
}

.float-order {
  top: 1.5rem;
  left: -1.5rem;
  width: 13rem;
  background: #fff;
  padding: 0.75rem;
  color: var(--ink-900);
}

.float-order__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--neutral-500);
}

.float-order__head > span:first-child {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--ember-500);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.float-order__title {
  margin-top: 0.25rem;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.375;
}

.float-order__price {
  margin-top: 0.25rem;
  font-size: 12px;
  font-weight: 700;
  color: var(--ember-700);
}

.float-zero {
  right: -1rem;
  bottom: 5rem;
  background: var(--ink-900);
  padding: 0.75rem 1rem;
  color: #fff;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.1),
    0 20px 25px -5px rgb(0 0 0 / 0.4),
    0 8px 10px -6px rgb(0 0 0 / 0.4);
}

.float-zero__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: var(--ember-400);
}

.float-zero__label {
  font-size: 11px;
  color: var(--neutral-300);
}

@media (min-width: 640px) {
  .phone-wrap {
    max-width: 320px;
  }

  .float-order,
  .float-zero {
    display: block;
  }
}

@media (min-width: 1024px) {
  .float-order {
    left: -6rem;
  }

  .float-zero {
    right: -4rem;
  }
}

/* ===== Seções ===== */
.section {
  padding: 5rem 1rem;
}

.section .container {
  padding: 0;
}

.section--cream {
  background: var(--cream);
  color: var(--ink-900);
}

.section--anchor {
  scroll-margin-top: 4rem;
}

.eyebrow {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ember-400);
}

.eyebrow--dark {
  color: var(--ember-700);
}

.section__title {
  max-width: 42rem;
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.section__title--narrow {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .section {
    padding: 7rem 1.5rem;
  }

  .section__title {
    font-size: 3rem;
  }
}

/* ===== Comparação ===== */
.calc {
  margin-top: 2.5rem;
  border-radius: 1.5rem;
  background: #fff;
  padding: 1.5rem;
  box-shadow:
    0 0 0 1px rgb(26 22 19 / 0.05),
    0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.calc__label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.calc__question {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--neutral-600);
}

.calc__revenue {
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
}

.calc__range {
  width: 100%;
  margin-top: 1rem;
  accent-color: var(--ember-600);
}

.calc__grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.calc__box {
  border-radius: 1rem;
  background: var(--neutral-100);
  padding: 1.5rem;
}

.calc__box--dark {
  background: var(--ink-900);
  color: #fff;
}

.calc__box-title {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: var(--neutral-500);
}

.calc__box-title--ember {
  color: var(--ember-300);
}

.calc__box-sub {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--neutral-500);
}

.calc__box-sub--dark,
.calc__box--dark .calc__per,
.calc__year--dark {
  color: var(--neutral-400);
}

.calc__value {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
}

.calc__value--muted {
  color: var(--neutral-700);
}

.calc__per {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  color: var(--neutral-500);
}

.calc__fixed {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.calc__year {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--neutral-500);
}

.calc__savings {
  margin-top: 1.5rem;
  border-radius: 1rem;
  background: var(--ember-50);
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--ink-900);
}

.calc__savings strong {
  font-weight: 700;
  color: var(--ember-700);
}

.calc__footnote {
  margin-top: 1rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--neutral-500);
}

@media (min-width: 640px) {
  .calc {
    padding: 2rem;
  }

  .calc__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc__savings {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

/* ===== Recursos ===== */
.features {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}

.feature {
  height: 100%;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 1.5rem;
  background: var(--ink-900);
  padding: 1.5rem;
  transition: border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.feature:hover {
  border-color: rgb(244 90 26 / 0.4);
}

.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: rgb(244 90 26 / 0.15);
  color: var(--ember-400);
}

.feature__icon > svg {
  width: 1.5rem;
  height: 1.5rem;
}

.feature__title {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
}

.feature__text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--neutral-400);
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ===== Preço ===== */
.plans {
  display: grid;
  gap: 1.5rem;
  max-width: 28rem;
  margin: 3rem auto 0;
}

.plans--multi {
  max-width: 56rem;
}

@media (min-width: 768px) {
  .plans--multi {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.plan {
  position: relative;
  height: 100%;
  border-radius: 2rem;
  background: var(--ink-900);
  padding: 2rem;
  color: #fff;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.1),
    0 25px 50px -12px rgb(26 22 19 / 0.2);
}

.plan__badge {
  position: absolute;
  top: -0.75rem;
  left: 2rem;
  border-radius: 9999px;
  background: var(--ember-500);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan__name {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: var(--ember-300);
}

.plan__pricing {
  margin-top: 1rem;
}

.plan__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.75rem;
}

.plan__price {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
}

.plan__per {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 500;
  color: var(--neutral-400);
}

.plan__old {
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--neutral-500);
}

.plan__expires {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--ember-300);
}

.plan__fallback {
  margin-top: 1rem;
  color: var(--neutral-300);
}

.plan__trial {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--neutral-400);
}

.plan__list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  padding-top: 1.75rem;
}

.plan__list > li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--neutral-200);
}

.plan__list svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  color: var(--ember-400);
}

/* Skeleton enquanto a API responde: sem valor de placeholder. */
.plan-skeleton {
  height: 520px;
  border-radius: 2rem;
  background: rgb(26 22 19 / 0.9);
  padding: 2rem;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.sk {
  border-radius: 0.25rem;
  background: rgb(255 255 255 / 0.1);
}

.sk--name {
  width: 6rem;
  height: 1rem;
}

.sk--price {
  width: 12rem;
  height: 3rem;
  margin-top: 1.5rem;
}

.sk-lines {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.sk-lines > div {
  height: 0.75rem;
  border-radius: 0.25rem;
  background: rgb(255 255 255 / 0.05);
}

/* ===== CTA final ===== */
.final-cta {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 2.5rem;
  background: linear-gradient(to bottom right, var(--ember-600), var(--ember-800));
  padding: 4rem 1.5rem;
  text-align: center;
}

.final-cta__glow {
  pointer-events: none;
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 18rem;
  height: 18rem;
  border-radius: 9999px;
  background: rgb(255 122 61 / 0.3);
  filter: blur(64px);
}

.final-cta__title {
  position: relative;
  max-width: 42rem;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.final-cta__text {
  position: relative;
  max-width: 32rem;
  margin: 1rem auto 0;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: rgb(255 244 237 / 0.9);
}

.cta-white {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.25rem;
  border-radius: 9999px;
  background: #fff;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: var(--ember-800);
  box-shadow:
    0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-white:hover {
  background: var(--ember-50);
}

.cta-white:focus {
  outline: none;
}

.cta-white:focus-visible {
  box-shadow: 0 0 0 4px rgb(255 255 255 / 0.6);
}

@media (min-width: 640px) {
  .final-cta {
    padding: 4rem 3rem;
  }

  .final-cta__title {
    font-size: 3rem;
  }
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid rgb(255 255 255 / 0.05);
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--neutral-500);
}

.footer__mail {
  transition: color 150ms;
}

.footer__mail:hover {
  color: #fff;
}

@media (min-width: 640px) {
  .footer__inner {
    flex-direction: row;
  }
}

/* ===== Botão do consultor ===== */
.consultant {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  box-shadow:
    0 20px 25px -5px rgb(116 38 19 / 0.3),
    0 8px 10px -6px rgb(116 38 19 / 0.3);
  pointer-events: none;
  opacity: 0;
  transform: translateY(1rem);
  transition:
    opacity 500ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 500ms cubic-bezier(0.4, 0, 0.2, 1),
    background-color 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.consultant.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: none;
}

@media (min-width: 640px) {
  .consultant {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

/* ===== Banner de cookies ===== */
.cookie {
  position: fixed;
  inset: auto 0 0;
  z-index: 60;
  padding: 0.75rem;
}

.cookie__box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 48rem;
  margin: 0 auto;
  border: 1px solid var(--neutral-200);
  border-radius: 1rem;
  background: #fff;
  padding: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--neutral-700);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.cookie__text {
  flex: 1;
}

.cookie__actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn--ghost {
  color: var(--neutral-700);
}

.btn--ghost:hover {
  background: var(--neutral-100);
}

.btn--primary {
  background: #2563eb;
  color: #fff;
}

.btn--primary:hover {
  background: #1d4ed8;
}

@media (min-width: 640px) {
  .cookie {
    padding: 1rem;
  }

  .cookie__box {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .btn {
    flex: none;
  }
}

/* Mesmo comportamento do painel: o banner segue o tema do sistema. */
@media (prefers-color-scheme: dark) {
  .cookie__box {
    border-color: var(--neutral-800);
    background: var(--neutral-900);
    color: var(--neutral-300);
  }

  .btn--ghost {
    color: var(--neutral-300);
  }

  .btn--ghost:hover {
    background: var(--neutral-800);
  }
}

/* ===== Animações de entrada ===== */
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
}

/* Hero: anima no carregamento, só com CSS (não espera o JS). */
.intro {
  animation: rise 700ms var(--ease-out) var(--delay, 0ms) both;
}

/* Demais seções: fade-in ao entrar na tela (classe .is-visible via script.js). Sem JS, nada
   fica escondido. */
.js .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition-delay: var(--delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .intro,
  .pulse-dot,
  .plan-skeleton {
    animation: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
