:root {
  --bg: #03050a;
  --bg2: #070b14;
  --text: #f7fbff;
  --muted: #9aa7bb;
  --line: rgba(255, 255, 255, .12);
  --glass: rgba(255, 255, 255, .06);
  --glass2: rgba(255, 255, 255, .105);
  --blue: #1597ff;
  --blue2: #63c9ff;
  --gold: #f7c858;
  --shadow: 0 24px 80px rgba(0, 0, 0, .46);
  --radius: 28px;
  --max: 1160px;
}

/* RESET */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 20% 0%, rgba(21, 151, 255, .17), transparent 34%),
    radial-gradient(circle at 80% 10%, rgba(247, 200, 88, .12), transparent 31%),
    linear-gradient(180deg, var(--bg), #020307 55%, var(--bg2));
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .032) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .7), transparent 72%);
}

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

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

strong {
  color: #fff;
}

/* EFEITOS GERAIS */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  z-index: 999;
}

.cursor-glow {
  position: fixed;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 151, 255, .12), transparent 65%);
  left: 0;
  top: 0;
  translate: -50% -50%;
  pointer-events: none;
  z-index: 1;
  opacity: .85;
}

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

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max), calc(100% - 32px));
  height: 72px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(3, 5, 10, .72);
  backdrop-filter: blur(20px);
  z-index: 50;
  transition: .3s;
}

.site-header.scrolled {
  height: 64px;
  background: rgba(3, 5, 10, .88);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: .3px;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: .94rem;
}

.nav-links a {
  transition: .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  position: relative;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 7px;
  border-radius: 99px;
  transition: .25s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ESTRUTURA */
.section {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 110px 0;
}

.compact {
  padding: 82px 0;
}

.glass {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--glass2), var(--glass));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

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

/* HERO */
.hero {
  min-height: 96vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 126px;
  gap: 26px;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.hero-mark {
  width: 145px;
  height: 160px;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .55));
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--blue2);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .74rem;
}

.hero h1,
.section-head h2 {
  margin: 0;
  line-height: 1;
  letter-spacing: -.055em;
}

.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 6.2rem);
  max-width: 940px;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, #fff, var(--blue2), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  transition: .25s;
}

.hero-text,
.muted {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
  max-width: 670px;
}

.hero-text {
  margin: 22px auto 0;
}

.hero-actions,
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  flex-wrap: wrap;
}

.hero-actions {
  margin: 30px 0 22px;
}

.trust-row span {
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 999px;
  color: #c8d2e2;
  background: rgba(255, 255, 255, .035);
  font-size: .9rem;
}

.hero-strip {
  width: min(890px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 12px;
  background: linear-gradient(180deg, var(--glass2), var(--glass));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-strip article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(0, 0, 0, .2);
  border: 1px solid rgba(255, 255, 255, .075);
  text-align: left;
}

.hero-strip strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #0b38ff);
  font-weight: 900;
  flex: 0 0 auto;
}

.hero-strip span {
  color: #d7e0ef;
  font-weight: 750;
  font-size: .94rem;
}

/* BOTÕES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 850;
  cursor: pointer;
  transition: transform .2s, filter .2s, background .2s;
  color: #fff;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #0069d9 55%, #093cff);
  box-shadow: 0 14px 40px rgba(21, 151, 255, .24);
}

.btn-ghost {
  background: rgba(255, 255, 255, .06);
}

.btn-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: .9rem;
}

.btn:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
}

/* SEÇÕES */
.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head h2 {
  font-size: clamp(2.15rem, 4.6vw, 4.65rem);
}

.info-card {
  border-radius: var(--radius);
  padding: 34px;
  max-width: 950px;
  margin: 0 auto;
}

.info-card p {
  color: #c5cfdf;
  line-height: 1.82;
  font-size: 1.04rem;
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--blue2);
  font-weight: 850;
}

/* CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  border-radius: 24px;
  padding: 24px;
  min-height: 226px;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 20% 0%, rgba(21, 151, 255, .18), transparent 36%);
  opacity: 0;
  transition: .25s;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card > * {
  position: relative;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  color: var(--gold);
  font-weight: 900;
  background: rgba(255, 255, 255, .05);
}

.service-card h3 {
  font-size: 1.18rem;
  margin: 24px 0 10px;
}

.service-card p,
.step p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* PROCESSO */
.split-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.timeline {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, .045);
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.step:last-child {
  border-bottom: 0;
}

.step span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #0b38ff);
  font-weight: 900;
}

.step h3 {
  margin: 0 0 6px;
}

/* ORÇAMENTO */
.quote-section {
  padding-top: 80px;
}

.quote-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 38px;
  align-items: start;
}

.quote-form {
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 16px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: #dce7f7;
  font-weight: 750;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0, 0, 0, .22);
  color: #fff;
  padding: 14px 15px;
  outline: 0;
  font: inherit;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: rgba(100, 200, 255, .65);
  box-shadow: 0 0 0 4px rgba(21, 151, 255, .12);
}

.estimate,
.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, .045);
}

.estimate span,
.contact-box span {
  color: var(--muted);
}

.estimate strong {
  color: var(--gold);
  font-size: 1.16rem;
}

.copy-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 13px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .05);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  padding: 20px;
  text-align: left;
  background: transparent;
  color: #fff;
  border: 0;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.faq-item button::after {
  content: "+";
  color: var(--blue2);
  font-size: 1.4rem;
}

.faq-item.open button::after {
  content: "−";
}

.faq-item div {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s ease;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.65;
}

/* CTA */
.cta-box {
  border-radius: var(--radius);
  text-align: center;
  padding: 50px 24px;
}

.cta-box h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  margin: 0 0 14px;
  letter-spacing: -.045em;
}

.cta-box p {
  color: var(--muted);
  margin: 0 0 24px;
}

/* FOOTER */
.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 46px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center !important;
  text-align: center;
  gap: 10px;
  color: var(--muted);
}

.site-footer p {
  width: 100%;
  margin: 0;
  text-align: center;
}

.site-footer a {
  color: var(--blue2);
  text-align: center;
}

/* TOAST */
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  background: #09111f;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  color: #fff;
  box-shadow: var(--shadow);
  transition: .25s;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* EXEMPLO / PORTFÓLIO */
.example-card {
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 24px;
  overflow: hidden;
}

.example-preview {
  height: 310px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .04);
}

.example-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease;
}

.example-card:hover .example-preview img {
  transform: scale(1.04);
}

.example-content {
  padding: 14px 12px;
}

.example-content h3 {
  margin: 18px 0 10px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -.03em;
}

.example-content p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 460px;
}

/* BOTÃO WHATSAPP FOOTER */
.whatsapp-footer-btn {
  width: 62px !important;
  height: 62px;
  min-height: 62px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(99, 201, 255, .35);
  background: rgba(21, 151, 255, .10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 40px rgba(21, 151, 255, .24);
  transition: .25s;
}

.whatsapp-footer-btn svg {
  width: 32px;
  height: 32px;
  fill: #1597ff;
}

.whatsapp-footer-btn:hover {
  transform: translateY(-2px) scale(1.04);
  background: rgba(21, 151, 255, .18);
  border-color: rgba(99, 201, 255, .65);
  filter: brightness(1.12);
}

/* RESPONSIVO TABLET */
@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 84px 0 auto auto;
    width: min(360px, calc(100vw - 32px));
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(3, 5, 10, .96);
    backdrop-filter: blur(18px);
    padding: 20px;
    display: grid;
    gap: 8px;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: .25s;
  }

  .nav-links.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 12px;
  }

  .quote-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

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

  .cursor-glow {
    display: none;
  }
}

/* RESPONSIVO CELULAR */
@media (max-width: 640px) {
  html {
    background: var(--bg);
    
  }

  body {
    min-height: 100svh;
    background-color: var(--bg);
  }

  .section {
    width: min(100% - 22px, var(--max));
    padding: 74px 0;
  }

  .compact {
    padding: 58px 0;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 18px);
    height: 70px;
    padding: 0 18px;
    background: rgba(3, 5, 10, .82);
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .nav-toggle {
    width: 50px;
    height: 50px;
  }

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

  .hero {
    min-height: auto;
    padding-top: 116px;
    padding-bottom: 52px;
    gap: 18px;
  }

  .hero-mark {
    width: 170px;
    height: 170px;
    margin-bottom: 10px;
  }

  .eyebrow {
    font-size: .66rem;
    letter-spacing: .15em;
    margin-bottom: 10px;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 10.6vw, 3.35rem);
    line-height: 1.04;
    letter-spacing: -.045em;
  }

  .hero-text {
    font-size: .98rem;
    line-height: 1.58;
    margin-top: 16px;
    max-width: 340px;
  }

  .hero-actions {
    width: 100%;
    margin: 24px 0 18px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 50px;
  }

  .trust-row {
    gap: 8px;
  }

  .trust-row span {
    font-size: .78rem;
    padding: 8px 10px;
  }

  .hero-strip {
    grid-template-columns: 1fr;
    padding: 10px;
    border-radius: 22px;
  }

  .hero-strip article {
    padding: 12px;
  }

  .section-head h2 {
    font-size: clamp(1.9rem, 10vw, 2.75rem);
    line-height: 1.04;
  }

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

  .info-card,
  .quote-form {
    padding: 22px;
  }

  .estimate,
  .contact-box,
  .site-footer {
    align-items: center;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .whatsapp-footer-btn {
    width: 58px !important;
    height: 58px;
    min-height: 58px;
  }

  .whatsapp-footer-btn svg {
    width: 30px;
    height: 30px;
  }
}

/* PORTFÓLIO MOBILE */
@media (max-width: 760px) {
  .example-card {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .example-preview {
    height: 230px;
  }

  .example-content {
    padding: 8px 4px 4px;
  }

  .example-content .btn {
    width: 100%;
  }
}

/* ACESSIBILIDADE */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .cursor-glow {
    display: none;
  }

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