/* =========================================================
   Mobile first: estilos-base servem às telas pequenas.
   ========================================================= */
:root {
  --black: #080808;
  --black-soft: #111111;
  --gold: #d8b56d;
  --gold-light: #f1d898;
  --white: #ffffff;
  --gray: #cfcfcf;
  --muted: #8d8d8d;
  --green: #8bc34a;
  --line: rgba(255, 255, 255, 0.1);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--white);
  background: var(--black);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 36px), 1120px);
  margin-inline: auto;
}

.section {
  padding: 76px 0;
}

.page-grain {
  position: fixed;
  inset: 0;
  z-index: 30;
  opacity: 0.025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 0.9;
  text-transform: uppercase;
}

.brand span {
  color: var(--gray);
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.brand strong {
  margin-top: 6px;
  color: var(--gold-light);
  font-size: 1.08rem;
  letter-spacing: 0.22em;
}

.header-tag {
  color: #777;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 64px;
  background:
    radial-gradient(circle at 50% 54%, rgba(216, 181, 109, 0.1), transparent 27%),
    var(--black);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 49.8%, rgba(255, 255, 255, 0.025) 50%, transparent 50.2%);
}

.hero-grid {
  position: relative;
}

.eyebrow,
.section-label {
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.eyebrow i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(139, 195, 74, 0.65);
}

h1 {
  margin: 19px 0 20px;
  font-size: clamp(2.55rem, 12.3vw, 4rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

h1 em,
.section-heading h2 em,
.conversion-card h2 em {
  display: block;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-description {
  max-width: 570px;
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.72;
}

/* Imagem real e fallback visual */
.hero-visual {
  position: relative;
  min-height: 390px;
  margin: 32px -8px 14px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(216, 181, 109, 0.08);
  filter: blur(34px);
  transform: translate(-50%, -50%);
}

.visual-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(82vw, 330px);
  aspect-ratio: 1;
  border: 1px solid rgba(216, 181, 109, 0.17);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.visual-ring::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: inherit;
}

.image-frame {
  position: relative;
  z-index: 2;
  width: min(92%, 390px);
  height: 360px;
  display: grid;
  place-items: center;
}

.hero-image {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 30px 32px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 22px rgba(216, 181, 109, 0.16));
  animation: image-float 6s ease-in-out infinite;
}

.image-frame.has-error .hero-image {
  display: none;
}

.image-fallback {
  display: none;
}

.image-frame.has-error .image-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.fallback-phone {
  position: relative;
  width: 178px;
  height: 340px;
  border: 2px solid #8b7651;
  border-radius: 32px;
  background: linear-gradient(145deg, #29241d, #0e0e0e 70%);
  box-shadow:
    0 34px 40px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(216, 181, 109, 0.13);
  transform: rotate(-8deg);
  animation: fallback-float 6s ease-in-out infinite;
}

.fallback-phone::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 25px;
}

.fallback-phone b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(216, 181, 109, 0.17);
  font-size: 2.7rem;
  font-weight: 500;
}

.fallback-camera {
  position: absolute;
  z-index: 2;
  top: 26px;
  left: 23px;
  width: 43px;
  height: 43px;
  border: 4px solid #49443d;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #3d5571 0 8%, #070a0f 18% 45%, #262626 48%);
}

.fallback-camera.second {
  top: 70px;
  left: 64px;
}

.visual-label {
  position: absolute;
  z-index: 3;
  top: 29px;
  right: 0;
  padding: 8px 11px;
  border: 1px solid rgba(216, 181, 109, 0.25);
  color: var(--gold);
  background: rgba(8, 8, 8, 0.72);
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hero-visual figcaption {
  position: absolute;
  z-index: 3;
  right: 4px;
  bottom: 25px;
  left: 4px;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.hero-visual figcaption span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  color: #aaa;
  background: rgba(8, 8, 8, 0.72);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hero-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.button {
  width: 100%;
  min-height: 60px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.button:active {
  transform: scale(0.98);
}

.button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
}

.button > span {
  margin-left: auto;
  font-size: 1rem;
}

.button-gold {
  color: #111;
  background: linear-gradient(110deg, var(--gold), var(--gold-light));
  box-shadow: 0 15px 35px rgba(216, 181, 109, 0.17);
}

.hero-action small {
  color: #7e7e7e;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
}

.hero-action small i {
  margin-right: 5px;
  color: var(--green);
  font-style: normal;
}

/* Títulos de seção */
.section-heading {
  margin-bottom: 34px;
}

.section-heading h2,
.conversion-card h2 {
  margin-top: 13px;
  font-size: clamp(2rem, 9.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.05em;
}

/* Benefícios */
.benefits {
  border-top: 1px solid rgba(216, 181, 109, 0.1);
  background: var(--black-soft);
}

.benefit-list {
  display: grid;
  gap: 12px;
}

.benefit-card {
  min-height: 154px;
  padding: 22px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s ease;
}

.line-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 181, 109, 0.28);
  border-radius: 50%;
}

.line-icon svg {
  width: 22px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card span {
  display: block;
  margin-bottom: 14px;
  color: #484848;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.benefit-card h3 {
  margin-bottom: 7px;
  font-size: 0.98rem;
  font-weight: 600;
}

.benefit-card p {
  color: #969696;
  font-size: 0.78rem;
  line-height: 1.65;
}

/* Módulos */
.method {
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    var(--black);
  background-size: 58px 58px;
}

.module-list {
  display: grid;
  gap: 12px;
}

.module-card {
  padding: 23px 20px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  border: 1px solid var(--line);
  background: rgba(17, 17, 17, 0.76);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s ease;
}

.module-number {
  color: #4b4b4b;
  font-size: 1.05rem;
  font-weight: 500;
}

.module-card small {
  color: var(--gold);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.module-card h3 {
  margin: 5px 0 8px;
  font-size: 1rem;
  font-weight: 600;
}

.module-card p {
  color: #919191;
  font-size: 0.78rem;
  line-height: 1.65;
}

/* Conversão final */
.conversion {
  padding-top: 18px;
  background: var(--black);
}

.conversion-card {
  position: relative;
  overflow: hidden;
  padding: 42px 26px 28px;
  border: 1px solid rgba(216, 181, 109, 0.18);
  background:
    radial-gradient(circle at 90% 5%, rgba(216, 181, 109, 0.12), transparent 34%),
    linear-gradient(145deg, #181714, #101010 65%);
}

.conversion-card::after {
  content: "G";
  position: absolute;
  right: -28px;
  bottom: -105px;
  color: rgba(216, 181, 109, 0.035);
  font-family: Georgia, serif;
  font-size: 17rem;
  line-height: 1;
}

.conversion-card > * {
  position: relative;
  z-index: 2;
}

.conversion-text {
  margin: 20px 0 25px;
  color: #aaa;
  font-size: 0.84rem;
  line-height: 1.72;
}

.conversion-card ul {
  margin-bottom: 28px;
  list-style: none;
}

.conversion-card li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 500;
}

.conversion-card li span {
  margin-right: 10px;
  color: var(--green);
  font-weight: 800;
}

.button-outline {
  color: #101010;
  background: var(--gold-light);
}

/* Rodapé */
.footer {
  padding: 40px 0 105px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer strong {
  color: var(--gold-light);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer p {
  margin-top: 8px;
  color: #666;
  font-size: 0.67rem;
}

/* CTA fixo: oculto até o JavaScript adicionar .is-visible. */
.mobile-cta {
  position: fixed;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 12px;
  z-index: 25;
  opacity: 0;
  visibility: hidden;
  transform: translateY(22px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s var(--ease);
}

.mobile-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-cta a {
  min-height: 56px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid rgba(241, 216, 152, 0.65);
  border-radius: 4px;
  color: #111;
  background: linear-gradient(110deg, var(--gold), var(--gold-light));
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.52);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-cta a:active {
  transform: scale(0.985);
}

.mobile-cta a span {
  font-size: 1rem;
}

/* Elementos entram suavemente conforme aparecem na tela. */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes image-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes fallback-float {
  0%,
  100% {
    transform: rotate(-8deg) translateY(0);
  }
  50% {
    transform: rotate(-8deg) translateY(-9px);
  }
}

/* =========================================================
   Tablet: expande cards e composição sem mudar a identidade.
   ========================================================= */
@media (min-width: 700px) {
  .container {
    width: min(calc(100% - 64px), 1120px);
  }

  .section {
    padding: 100px 0;
  }

  .header-inner {
    height: 92px;
  }

  .hero {
    padding: 70px 0 85px;
  }

  h1 {
    max-width: 750px;
    font-size: 4.3rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-visual {
    min-height: 500px;
  }

  .image-frame {
    width: 500px;
    height: 470px;
  }

  .visual-ring {
    width: 430px;
  }

  .hero-action {
    max-width: 420px;
    margin-inline: auto;
  }

  .benefit-list,
  .module-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-card,
  .module-card {
    min-height: 175px;
  }

  .conversion-card {
    padding: 60px;
  }

  .conversion-card > * {
    max-width: 650px;
  }
}

/* =========================================================
   Desktop: adapta o mobile first para uma composição em colunas.
   ========================================================= */
@media (min-width: 1024px) {
  .header-inner {
    height: 104px;
  }

  .brand span {
    font-size: 0.64rem;
  }

  .brand strong {
    font-size: 1.3rem;
  }

  .hero {
    min-height: 720px;
    padding: 52px 0 72px;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-rows: auto auto;
    column-gap: 65px;
    align-items: center;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
  }

  h1 {
    max-width: 680px;
    font-size: clamp(3.7rem, 5.2vw, 5rem);
  }

  .hero-visual {
    grid-column: 2;
    grid-row: 1 / 3;
    min-height: 540px;
    margin: 0;
  }

  .image-frame {
    width: 100%;
    height: 520px;
  }

  .hero-action {
    grid-column: 1;
    grid-row: 2;
    width: 330px;
    margin: 34px 0 0;
    align-self: start;
  }

  .benefit-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .benefit-card {
    min-height: 260px;
    display: block;
    padding: 28px;
  }

  .line-icon {
    margin-bottom: 55px;
  }

  .benefit-card:hover,
  .module-card:hover {
    transform: translateY(-6px);
    border-color: rgba(216, 181, 109, 0.35);
  }

  .module-list {
    grid-template-columns: repeat(5, 1fr);
  }

  .module-card {
    min-height: 245px;
    display: block;
    padding: 28px 23px;
  }

  .module-number {
    display: block;
    margin-bottom: 52px;
  }

  .conversion-card {
    padding: 75px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    column-gap: 80px;
  }

  .conversion-card .section-label,
  .conversion-card h2,
  .conversion-text {
    grid-column: 1;
  }

  .conversion-card ul,
  .conversion-card .button {
    grid-column: 2;
  }

  .conversion-card ul {
    grid-row: 1 / 4;
    align-self: center;
    margin-bottom: 80px;
  }

  .conversion-card .button {
    grid-row: 3;
    align-self: end;
  }

  .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(216, 181, 109, 0.24);
  }

  .footer {
    padding-bottom: 44px;
  }

  .mobile-cta {
    display: none;
  }
}

@media (max-width: 360px) {
  .container {
    width: min(calc(100% - 28px), 1120px);
  }

  h1 {
    font-size: 2.35rem;
  }

  .hero-visual {
    min-height: 360px;
    margin-inline: -12px;
  }

  .image-frame {
    height: 335px;
  }

  .button {
    padding-inline: 16px;
    font-size: 0.64rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
