:root {
  --ink: #f8f1ef;
  --muted: #c8aaa8;
  --paper: #12090b;
  --paper-2: #1d0c10;
  --line: rgba(122, 22, 37, 0.42);
  --white: #fff7f3;
  --black: #070405;
  --accent: #8f1d33;
  --accent-2: #b12a43;
  --max: 1500px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

body::selection {
  background: var(--black);
  color: var(--white);
}

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

.mobile-break {
  display: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(7, 4, 5, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.top-cta {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0;
}

.nav {
  gap: 28px;
  font-size: 14px;
  font-weight: 650;
}

.top-cta {
  justify-self: end;
  min-height: 40px;
  padding: 0 18px;
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: calc(100svh - 77px);
  overflow: hidden;
}

.hero-showroom {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(360px, 1fr) auto;
  gap: clamp(16px, 2.2vw, 28px);
  width: 100%;
  min-height: calc(100svh - 77px);
  padding: clamp(24px, 3.4vw, 42px) clamp(18px, 5vw, 76px) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -20%, rgba(177, 42, 67, 0.32), transparent 42%),
    linear-gradient(180deg, #070405 0%, #12090b 100%);
}

.hero-intro {
  position: relative;
  z-index: 2;
  display: block;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

.hero-intro h1 {
  max-width: 980px;
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(42px, 5.6vw, 86px);
  line-height: 0.94;
  text-wrap: balance;
}

.hero-intro p:not(.kicker) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.42;
}

.showroom-frame {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: 42px 1fr;
  width: min(1280px, 92vw);
  min-height: min(56vh, 620px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--black);
  border: 1px solid rgba(177, 42, 67, 0.66);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.42),
    0 0 0 12px rgba(143, 29, 51, 0.12);
  transform: perspective(1200px) rotateX(1.2deg);
}

.showroom-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: #19080c;
  border-bottom: 1px solid rgba(177, 42, 67, 0.44);
}

.showroom-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
}

.showroom-bar strong {
  margin-left: 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showroom-stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.showroom-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.03);
  animation: showroomFade 24s infinite;
}

.showroom-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.showroom-slide figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 9px 12px;
  background: rgba(7, 4, 5, 0.72);
  border: 1px solid rgba(177, 42, 67, 0.56);
  color: var(--white);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.slide-two {
  animation-delay: 6s;
}

.slide-three {
  animation-delay: 12s;
}

.slide-four {
  animation-delay: 18s;
}

.project-ticker {
  position: relative;
  z-index: 2;
  width: calc(100% + 2px);
  margin-inline: -1px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--accent);
}

.project-ticker div {
  display: flex;
  width: max-content;
  animation: tickerMove 28s linear infinite;
}

.project-ticker span {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 32px;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.kicker {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 0.92;
}

h1 {
  max-width: 850px;
  margin-bottom: 26px;
  font-size: clamp(64px, 8.2vw, 150px);
}

.browser-frame {
  position: relative;
  overflow: hidden;
  background: var(--black);
  border: 1px solid var(--ink);
  box-shadow: 18px 18px 0 rgba(143, 29, 51, 0.26);
}

.browser-frame img {
  width: 100%;
  height: 112%;
  display: block;
  object-fit: cover;
  object-position: top center;
  background: var(--black);
}

.site-tour {
  isolation: isolate;
}

.site-tour::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 104px;
  left: 12%;
  width: 16px;
  height: 16px;
  background: var(--accent-2);
  border: 2px solid var(--white);
  border-radius: 999px;
  box-shadow: 0 0 0 9px rgba(177, 42, 67, 0.22);
  animation: cursorTour 12s ease-in-out infinite;
  pointer-events: none;
}

.site-tour::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-2), rgba(177, 42, 67, 0));
  transform-origin: left center;
  animation: tourProgress 12s ease-in-out infinite;
  pointer-events: none;
}

.site-tour img {
  animation: siteNavigate 12s ease-in-out infinite;
  will-change: transform;
}

.site-tour:hover img,
.site-tour:hover::before,
.site-tour:hover::after {
  animation-play-state: paused;
}

.tour-two img,
.tour-two::before,
.tour-two::after {
  animation-delay: -2.5s;
}

.tour-three img,
.tour-three::before,
.tour-three::after {
  animation-delay: -5s;
}

.tour-four img,
.tour-four::before,
.tour-four::after {
  animation-delay: -7.5s;
}

.projects,
.features,
.process,
.cta-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 126px) clamp(18px, 4vw, 54px);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 32px;
  margin-bottom: clamp(48px, 8vw, 100px);
}

.section-heading h2,
.features h2,
.process h2,
.cta-section h2 {
  margin: 0;
  font-size: clamp(44px, 6.5vw, 104px);
}

.project {
  display: grid;
  grid-template-columns: minmax(250px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(38px, 6vw, 80px) 0;
  border-top: 1px solid var(--line);
}

.project.reverse {
  grid-template-columns: minmax(0, 0.64fr) minmax(250px, 0.36fr);
}

.project.reverse .project-copy {
  order: 2;
}

.project-copy .number {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.project-copy h3 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4vw, 68px);
  font-weight: 500;
  line-height: 0.96;
}

.project-copy p,
.feature-grid p,
.process p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.browser-frame {
  height: min(74vh, 760px);
  min-height: 560px;
  display: grid;
  grid-template-rows: 42px 1fr;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: #210b10;
  border-bottom: 1px solid var(--line);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border: 1px solid var(--accent-2);
  border-radius: 50%;
}

.browser-bar strong {
  margin-left: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.features {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(34px, 6vw, 90px);
  border-top: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article {
  min-height: 220px;
  padding: 26px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.feature-grid h3 {
  margin-bottom: 34px;
  font-size: 22px;
}

.process {
  border-top: 1px solid var(--line);
}

.process ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0;
  margin: clamp(40px, 6vw, 78px) 0 0;
  list-style: none;
}

.process li {
  padding: 28px;
  min-height: 250px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.process span {
  display: block;
  margin-bottom: 46px;
  color: var(--accent);
  font-weight: 900;
}

.process strong {
  display: block;
  margin-bottom: 12px;
  font-size: 23px;
}

.cta-section {
  min-height: 70svh;
  display: grid;
  place-items: center;
  text-align: center;
  border-top: 1px solid var(--line);
}

.cta-section h2 {
  max-width: 920px;
}

.big-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-top: 34px;
  padding: 0 30px;
  background: var(--accent);
  color: var(--white);
  font-weight: 900;
}

@keyframes showroomFade {
  0%,
  20% {
    opacity: 1;
    transform: scale(1);
  }
  25%,
  95% {
    opacity: 0;
    transform: scale(1.04);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes siteNavigate {
  0%,
  12% {
    transform: translateY(0) scale(1);
  }
  34%,
  46% {
    transform: translateY(-6.5%) scale(1.035);
  }
  66%,
  76% {
    transform: translateY(-11%) scale(1.055);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes cursorTour {
  0%,
  10% {
    transform: translate(0, 0) scale(1);
  }
  30% {
    transform: translate(36vw, 11vh) scale(0.92);
  }
  52% {
    transform: translate(18vw, 34vh) scale(1);
  }
  72% {
    transform: translate(45vw, 48vh) scale(0.92);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes tourProgress {
  0% {
    transform: scaleX(0.05);
    opacity: 0.55;
  }
  52% {
    transform: scaleX(0.72);
    opacity: 1;
  }
  100% {
    transform: scaleX(1);
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

  .nav {
    display: none;
  }

  .section-heading,
  .features,
  .project {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
  }

  .browser-frame {
    height: auto;
    min-height: auto;
    max-height: none;
    aspect-ratio: 4 / 3;
    box-shadow: 8px 8px 0 rgba(143, 29, 51, 0.26);
  }

  .browser-frame img {
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .showroom-frame {
    width: 100%;
    height: auto;
    min-height: auto;
    aspect-ratio: 4 / 3;
    transform: none;
    box-shadow:
      0 15px 40px rgba(0, 0, 0, 0.42),
      0 0 0 6px rgba(143, 29, 51, 0.14);
  }

  .showroom-slide {
    width: 100%;
    height: 100%;
  }

  .showroom-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }
}

@media (max-width: 600px) {
  .hero-showroom {
    padding: 32px 16px 0;
    grid-template-rows: auto auto auto;
  }

  .hero-intro h1 {
    font-size: 36px;
    line-height: 1.1;
    margin-bottom: 12px;
  }

  .mobile-break {
    display: block;
  }

  .showroom-frame {
    aspect-ratio: 1 / 1; /* Quadrado no celular mostra mais do site */
    margin-bottom: 20px;
  }

  .project-ticker {
    width: 100%;
    margin-inline: 0;
  }

  .project-ticker span {
    padding: 0 16px;
    font-size: 10px;
  }
}

/* Planos e preços */
.plans {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 126px) clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
}

.plans .section-heading {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.plans h2 {
  margin: 0;
  font-size: clamp(44px, 6.5vw, 104px);
}

.plans-lede {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 22px);
}

.promo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-bottom: 42px;
  padding: 18px 22px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-2);
}

.promo-strip span {
  padding: 7px 12px;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.promo-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.plans strong,
.plans b {
  color: var(--white);
  font-weight: 750;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 28px 28px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.plan.featured {
  border-color: var(--accent-2);
  box-shadow: 14px 14px 0 rgba(143, 29, 51, 0.26);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  padding: 6px 12px;
  background: var(--accent-2);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plans h3 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 2.4vw, 38px);
  font-weight: 500;
  line-height: 1;
}

.plan-for {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.plan-price {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.plan-price s {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 15px;
  text-decoration-color: var(--accent-2);
  text-decoration-thickness: 2px;
}

.plan-price strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 4vw, 60px);
  font-weight: 500;
  line-height: 1;
}

.plan-price strong small {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: var(--muted);
  font-size: 16px;
}

.plan-price > span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.plans ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plans li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.45;
}

.plans li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(-45deg);
}

.plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: auto;
  padding: 0 22px;
  border: 1px solid var(--accent-2);
  color: var(--white);
  font-size: 15px;
  font-weight: 850;
  transition: background 0.2s;
}

.plan ul {
  margin-bottom: 30px;
}

.plan-cta:hover,
.featured .plan-cta {
  background: var(--accent);
  border-color: var(--accent);
}

.featured .plan-cta:hover {
  background: var(--accent-2);
}

.maintenance {
  display: grid;
  grid-template-columns: minmax(240px, 0.4fr) minmax(0, 0.6fr);
  gap: 20px 48px;
  align-items: start;
  margin-top: 18px;
  padding: 34px 28px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.maintenance .plan-price {
  margin: 0;
  padding: 0;
  border: 0;
}

.maintenance ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  padding-top: 8px;
}

.plan-gift {
  display: inline-block !important;
  padding: 6px 12px;
  background: var(--accent);
  color: var(--white) !important;
  font-size: 11px !important;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.terms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: 42px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.terms dt {
  margin-bottom: 10px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.terms dd {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
}

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

  .plan-grid {
    gap: 30px;
  }

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

@media (max-width: 600px) {
  .maintenance ul,
  .terms {
    grid-template-columns: 1fr;
  }

  .plan,
  .maintenance {
    padding: 30px 20px 22px;
  }
}
