:root {
  --black: #070707;
  --black-2: #0e0e0e;
  --black-3: #151515;
  --white: #ffffff;
  --paper: #f6f5f1;
  --muted: #6f706f;
  --line: #e5e3dc;
  --gold: #d5ad36;
  --gold-light: #f2d36e;
  --gold-dark: #a87d11;
  --radius: 24px;
  --shadow: 0 24px 60px rgba(0,0,0,.09);
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 110px 0; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 82px;
  z-index: 1000;
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  align-items: center;
  padding: 0 max(24px, calc((100vw - var(--container))/2));
  background: rgba(7,7,7,.78);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  transition: .25s ease;
}
.site-header.scrolled { height: 72px; background: rgba(7,7,7,.94); }
.brand img { width: 112px; height: 58px; object-fit: contain; }
.main-nav { display: flex; justify-content: center; gap: 34px; }
.main-nav a { color: #d9d9d9; font-size: 14px; font-weight: 700; transition: .2s; }
.main-nav a:hover { color: var(--gold-light); }
.header-cta {
  justify-self: end;
  background: var(--gold);
  color: #080808;
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 900;
  transition: .2s;
  cursor: pointer;
}
.header-cta:hover { transform: translateY(-2px); background: var(--gold-light); }
.menu-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: white; margin: 5px auto; transition: .2s; }

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: center;
  padding: 132px 0 72px;
  color: white;
  background:
    radial-gradient(circle at 70% 30%, rgba(213,173,54,.15), transparent 27%),
    linear-gradient(135deg, #050505 0%, #0b0b0b 58%, #12100b 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 68px; position: relative; z-index: 2; }
.eyebrow { display: inline-block; color: var(--gold-light); font-size: 12px; letter-spacing: .2em; font-weight: 900; margin-bottom: 18px; }
.eyebrow.dark { color: var(--gold-dark); }
.hero h1 { font-size: clamp(46px, 5.7vw, 78px); line-height: .98; letter-spacing: -.055em; max-width: 780px; }
.hero h1 span { color: var(--gold-light); }
.hero-copy > p { max-width: 650px; color: #c9c9c9; font-size: 18px; margin: 28px 0 34px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; border-radius: 13px; padding: 0 21px; font-weight: 900; font-size: 14px; transition: .22s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #070707; box-shadow: 0 12px 30px rgba(213,173,54,.17); }
.btn-primary:hover { box-shadow: 0 16px 34px rgba(213,173,54,.28); }
.btn-ghost { border: 1px solid rgba(255,255,255,.2); color: white; background: rgba(255,255,255,.03); }
.btn-ghost:hover { background: white; color: black; }
.btn-dark { background: var(--black); color: white; }
.btn-large { min-height: 58px; padding-inline: 29px; }
.full { width: 100%; }

.hero-proof { display: flex; gap: 28px; margin-top: 46px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); max-width: 620px; }
.hero-proof div { display: flex; align-items: center; gap: 10px; }
.hero-proof strong { color: var(--gold-light); font-size: 12px; letter-spacing: .12em; }
.hero-proof span { color: #bdbdbd; font-size: 13px; font-weight: 700; }

.dashboard-frame { position: relative; border-radius: 30px; padding: 14px; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 35px 90px rgba(0,0,0,.55); transform: perspective(1000px) rotateY(-5deg) rotateX(2deg); }
.dashboard-frame::after { content: ""; position: absolute; inset: -1px; border-radius: 30px; box-shadow: inset 0 0 55px rgba(213,173,54,.08); pointer-events: none; }
.dashboard-frame img { border-radius: 20px; min-height: 430px; object-fit: cover; object-position: center; filter: saturate(.88) contrast(1.05); }
.floating-card { position: absolute; background: rgba(11,11,11,.9); border: 1px solid rgba(213,173,54,.3); backdrop-filter: blur(12px); padding: 14px 18px; border-radius: 16px; box-shadow: 0 16px 42px rgba(0,0,0,.35); }
.floating-card span { display: block; color: #a8a8a8; font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }
.floating-card strong { color: white; font-size: 16px; }
.fc-one { top: 10%; left: -8%; }
.fc-two { bottom: 8%; right: -7%; }

.hero-orb { position: absolute; width: 300px; height: 300px; border-radius: 50%; filter: blur(80px); opacity: .16; background: var(--gold); }
.hero-orb-one { top: 10%; right: -100px; }
.hero-orb-two { left: 30%; bottom: -200px; }

.signal-strip { background: var(--gold); padding: 18px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.signal-grid span { text-align: center; font-size: 13px; font-weight: 900; color: #17130a; }

.section-heading { max-width: 800px; margin-bottom: 52px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading h2 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.05; letter-spacing: -.045em; }
.section-heading h2 span { color: #9a7619; }
.section-heading p { color: var(--muted); font-size: 17px; margin-top: 18px; max-width: 710px; }
.center p { margin-inline: auto; }

.services { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card { position: relative; min-height: 300px; background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; overflow: hidden; box-shadow: 0 14px 36px rgba(0,0,0,.04); transition: .25s ease; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(213,173,54,.55); box-shadow: var(--shadow); }
.service-card::after { content: ""; position: absolute; width: 160px; height: 160px; right: -70px; bottom: -70px; border-radius: 50%; background: rgba(213,173,54,.09); transition: .25s; }
.service-card:hover::after { transform: scale(1.45); }
.icon-box { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--black); margin-bottom: 30px; }
.icon-box svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-light); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-number { position: absolute; top: 31px; right: 31px; color: #c7c3b8; font-weight: 900; font-size: 12px; letter-spacing: .16em; }
.service-card h3 { font-size: 25px; letter-spacing: -.03em; margin-bottom: 10px; }
.service-card p { color: var(--muted); max-width: 530px; }
.service-card a { display: inline-block; margin-top: 26px; font-size: 14px; font-weight: 900; border-bottom: 2px solid var(--gold); position: relative; z-index: 1; cursor: pointer; }

.plans { color: white; background: var(--black); position: relative; overflow: hidden; }
.plans::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(213,173,54,.12), transparent 33%); pointer-events: none; }
.plans .section-heading { position: relative; z-index: 1; }
.plans .section-heading p { color: #aaa; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; position: relative; z-index: 1; }
.price-card { display: flex; flex-direction: column; position: relative; background: #101010; border: 1px solid rgba(255,255,255,.1); border-radius: 26px; padding: 31px; }
.price-card.featured { background: linear-gradient(180deg, #17150d, #11100c); border-color: rgba(213,173,54,.58); box-shadow: 0 26px 60px rgba(0,0,0,.32); transform: translateY(-10px); }
.popular-badge { position: absolute; top: 16px; right: 16px; background: var(--gold); color: #111; border-radius: 99px; font-size: 10px; font-weight: 950; letter-spacing: .12em; padding: 7px 10px; }
.plan-label { color: var(--gold-light); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.price-top h3 { margin-top: 13px; font-size: 27px; letter-spacing: -.035em; }
.price-top p { color: #9b9b9b; font-size: 14px; min-height: 66px; margin-top: 8px; }
.price { margin: 26px 0; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.price small { display: block; color: #838383; font-size: 11px; }
.price strong { display: block; font-size: 38px; letter-spacing: -.04em; margin-top: 3px; }
.price-card ul { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; flex: 1; }
.price-card li { color: #d3d3d3; font-size: 14px; padding-left: 23px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-light); font-weight: 900; }
.btn-card { border: 1px solid rgba(255,255,255,.18); color: white; width: 100%; }
.btn-card:hover { background: white; color: black; }
.pricing-note { text-align: center; color: #777; font-size: 12px; margin-top: 26px; position: relative; z-index: 1; }

.process { background: white; }
.process-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; align-items: start; }
.process-copy { position: sticky; top: 115px; }
.process-copy h2 { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.04; letter-spacing: -.045em; }
.process-copy p { color: var(--muted); font-size: 17px; margin: 20px 0 28px; }
.steps { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 74px 1fr; gap: 22px; padding: 31px 4px; border-bottom: 1px solid var(--line); }
.step > span { color: var(--gold-dark); font-size: 12px; font-weight: 950; letter-spacing: .15em; padding-top: 8px; }
.step h3 { font-size: 25px; letter-spacing: -.03em; margin-bottom: 5px; }
.step p { color: var(--muted); }

.recurring { padding-top: 0; background: white; }
.recurring-box { display: grid; grid-template-columns: 1.03fr .97fr; gap: 72px; align-items: center; background: var(--black); color: white; border-radius: 32px; padding: 58px; position: relative; overflow: hidden; }
.recurring-box::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: rgba(213,173,54,.12); filter: blur(20px); left: -260px; top: -220px; }
.recurring-copy, .recurring-list { position: relative; z-index: 1; }
.recurring-copy h2 { font-size: clamp(34px, 4vw, 50px); line-height: 1.04; letter-spacing: -.045em; }
.recurring-copy > p { color: #aaa; margin: 18px 0; }
.monthly-price { margin: 24px 0; }
.monthly-price small { display: block; color: #888; font-size: 11px; }
.monthly-price strong { color: var(--gold-light); font-size: 42px; line-height: 1; }
.monthly-price strong span { font-size: 17px; color: #bbb; }
.recurring-list { display: grid; gap: 14px; }
.recurring-list > div { display: grid; grid-template-columns: 35px 1fr; gap: 13px; padding: 17px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.035); border-radius: 16px; }
.recurring-list > div > span { color: var(--gold-light); font-weight: 950; }
.recurring-list p { color: #a9a9a9; font-size: 13px; }
.recurring-list strong { color: white; font-size: 15px; }

.ideal { background: var(--paper); }
.ideal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ideal-card { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px; }
.ideal-card > strong { display: inline-block; color: var(--gold-dark); font-size: 11px; letter-spacing: .16em; margin-bottom: 30px; }
.ideal-card h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: -.025em; }
.ideal-card p { color: var(--muted); font-size: 14px; }

.final-cta { min-height: 630px; position: relative; display: grid; align-items: center; color: white; background: #070707 url("assets/fundo-servidores-contato.png") center/cover no-repeat; overflow: hidden; }
.final-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,5,.96) 0%, rgba(5,5,5,.85) 48%, rgba(5,5,5,.65) 100%), radial-gradient(circle at 22% 50%, rgba(213,173,54,.13), transparent 34%); }
.final-content { position: relative; z-index: 1; max-width: 870px; margin-left: max(20px, calc((100vw - var(--container))/2)); margin-right: 20px; width: auto; }
.final-content h2 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1; letter-spacing: -.05em; }
.final-content p { color: #c4c4c4; max-width: 700px; font-size: 17px; margin: 22px 0 30px; }

.floating-wa { position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); box-shadow: 0 14px 35px rgba(0,0,0,.28); z-index: 950; transition: .2s; cursor: pointer; }
.floating-wa:hover { transform: translateY(-3px) scale(1.04); background: var(--gold-light); }
.floating-wa svg { width: 29px; height: 29px; fill: #0a0a0a; }

footer { background: #050505; border-top: 1px solid rgba(255,255,255,.08); color: #8c8c8c; padding: 26px 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.footer-inner img { width: 86px; }
.footer-inner p { font-size: 12px; }
.footer-inner a { justify-self: end; color: #bbb; font-size: 12px; font-weight: 800; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; padding-inline: 20px; }
  .brand img { width: 104px; }
  .menu-toggle { display: block; grid-column: 2; grid-row: 1; z-index: 2; }
  .header-cta { display: none; }
  .main-nav { position: fixed; inset: 82px 0 auto 0; padding: 24px 20px 28px; background: rgba(7,7,7,.98); border-bottom: 1px solid rgba(255,255,255,.08); flex-direction: column; gap: 0; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .2s; }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav a { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.07); width: 100%; }
  .hero-grid { grid-template-columns: 1fr; gap: 55px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 720px; width: 100%; margin-inline: auto; }
  .dashboard-frame { transform: none; }
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: 1fr; max-width: 700px; margin-inline: auto; }
  .price-card.featured { transform: none; order: -1; }
  .process-grid { grid-template-columns: 1fr; gap: 48px; }
  .process-copy { position: static; }
  .recurring-box { grid-template-columns: 1fr; gap: 38px; }
  .ideal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 80px 0; }
  .site-header { height: 72px; }
  .main-nav { inset: 72px 0 auto; }
  .hero { min-height: auto; padding-top: 122px; padding-bottom: 66px; }
  .hero h1 { font-size: clamp(42px, 13vw, 61px); }
  .hero-copy > p { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .hero-proof div { display: block; }
  .hero-proof strong, .hero-proof span { display: block; }
  .dashboard-frame img { min-height: 280px; }
  .floating-card { padding: 10px 12px; }
  .floating-card strong { font-size: 13px; }
  .fc-one { left: -4%; }
  .fc-two { right: -3%; }
  .signal-strip { padding: 14px 0; }
  .signal-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .signal-grid span { font-size: 11px; text-align: left; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2 { font-size: 38px; }
  .price-card { padding: 26px 22px; }
  .step { grid-template-columns: 50px 1fr; gap: 13px; }
  .recurring-box { padding: 34px 24px; border-radius: 24px; }
  .monthly-price strong { font-size: 36px; }
  .ideal-grid { grid-template-columns: 1fr; }
  .final-cta { min-height: 580px; }
  .final-content { margin-left: 14px; margin-right: 14px; }
  .final-content h2 { font-size: 43px; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-inner p { grid-column: 1 / -1; grid-row: 2; }
  .footer-inner a { grid-column: 2; grid-row: 1; }
}

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

/* Projetos realizados — prova social objetiva */
.portfolio { background: #fff; border-top: 1px solid var(--line); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; transition: .25s ease; }
.project-card:hover { transform: translateY(-5px); border-color: rgba(213,173,54,.55); box-shadow: var(--shadow); }
.project-preview { position: relative; height: 230px; overflow: hidden; background: #0a0a0a; }
.browser-bar { height: 28px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #111; border-bottom: 1px solid rgba(255,255,255,.08); }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.28); }
.project-preview img { width: 100%; height: calc(100% - 28px); display: block; object-fit: cover; object-position: top center; transition: transform .45s ease; }
.project-card:hover .project-preview img { transform: scale(1.025); }
.project-info { padding: 22px 22px 24px; }
.project-label { display: inline-block; margin-bottom: 8px; color: #9b7a1d; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.project-info h3 { margin: 0 0 8px; font-size: 22px; color: #111; }
.project-info p { margin: 0; color: #5f5f5f; line-height: 1.65; font-size: 14px; }
@media (max-width: 980px) {
  .portfolio-grid { grid-template-columns: 1fr; max-width: 720px; }
  .project-card { display: grid; grid-template-columns: .95fr 1.05fr; }
  .project-preview { height: 210px; }
  .project-info { display: flex; flex-direction: column; justify-content: center; }
}

@media (max-width: 650px) {
  .project-card { display: block; }
  .project-preview { height: 190px; }
}
