/* ==========================================================
   RBTEC — Estilos
   Cores da marca: preto profundo + azul elétrico
   ========================================================== */
:root {
  --black: #05070D;
  --ink: #0B1020;
  --ink-2: #121a33;
  --blue: #1F6BFF;
  --blue-2: #3D8BFF;
  --cyan: #38D1FF;
  --whats: #25D366;
  --whats-dark: #1DA851;
  --text: #0E1424;
  --muted: #5B6478;
  --line: #E4E8F0;
  --bg: #FFFFFF;
  --bg-alt: #F4F7FC;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(10, 20, 50, .18);
  --shadow-lg: 0 30px 60px -20px rgba(10, 30, 90, .35);
  --grad: linear-gradient(100deg, var(--blue) 0%, var(--cyan) 100%);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Sora", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; margin-top: 2rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: .95em 1.5em; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  font-family: inherit; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .7em 1.2em; font-size: .92rem; }
.btn--lg { padding: 1.1em 1.8em; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(31, 107, 255, .8); }
.btn--primary:hover { background: var(--blue-2); }
.btn--whats { background: var(--whats); color: #fff; box-shadow: 0 12px 28px -10px rgba(37, 211, 102, .7); }
.btn--whats:hover { background: var(--whats-dark); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn--ghost-dark { color: var(--text); border-color: var(--line); background: #fff; }
.btn--ghost-dark:hover { border-color: var(--blue); color: var(--blue); }
.ico { width: 1.3em; height: 1.3em; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.header.is-scrolled {
  background: rgba(5, 7, 13, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; color: #fff; }
.logo img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(56, 209, 255, .35); }
.logo__text { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.logo__text b { color: var(--cyan); font-weight: 800; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { color: rgba(255, 255, 255, .78); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav a:not(.btn):hover { color: #fff; }

.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, #0f2a6b 0%, transparent 60%), var(--black);
  color: #fff; padding: 140px 0 90px;
}
.hero__glow {
  position: absolute; width: 700px; height: 700px; right: -200px; top: 10%;
  background: radial-gradient(circle, rgba(31, 107, 255, .35), transparent 65%);
  filter: blur(20px); pointer-events: none;
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 800; margin-bottom: .4em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 1.15rem; color: rgba(255, 255, 255, .75); max-width: 560px; }
.hero__lead strong { color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0 2.6rem; }

.pill {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .5em 1em; border-radius: 999px; font-size: .88rem; font-weight: 500;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .9); margin-bottom: 1.6rem; transition: border-color .2s;
}
.pill:hover { border-color: rgba(56, 209, 255, .6); }
.stars { color: #FFC531; letter-spacing: 1px; }

.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 32px; }
.hero__trust li { display: flex; flex-direction: column; padding-left: 16px; border-left: 2px solid var(--blue); }
.hero__trust strong { font-family: var(--font-head); font-size: 1.3rem; }
.hero__trust span { font-size: .85rem; color: rgba(255, 255, 255, .6); }

.hero__visual { position: relative; justify-self: center; width: 100%; max-width: 420px; }
.hero__photo {
  border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: 0 40px 80px -30px rgba(31, 107, 255, .55), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: rotate(2deg);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }


/* ---------- Marcas ---------- */
.brands { background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .06); padding: 26px 0; }
.brands__label { text-align: center; color: rgba(255, 255, 255, .45); font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 14px; }
.brands__track { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; }
.brands__track span { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: rgba(255, 255, 255, .55); transition: color .2s; }
.brands__track span:hover { color: #fff; }

/* ---------- Seções ---------- */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.section__head--left { text-align: left; margin: 0; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); background: rgba(31, 107, 255, .1); padding: .45em 1em; border-radius: 999px; margin-bottom: 1rem;
}
.eyebrow--light { color: var(--cyan); background: rgba(56, 209, 255, .12); }

/* ---------- Serviços ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(31, 107, 255, .35); }
.service p { color: var(--muted); font-size: .96rem; flex: 1; }
.service__ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(31, 107, 255, .12), rgba(56, 209, 255, .12));
}
.service__ico svg { width: 28px; height: 28px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service__link { font-weight: 600; font-size: .95rem; margin-top: 6px; }
.service__link:hover { text-decoration: underline; }
.service--featured { background: linear-gradient(160deg, var(--ink) 0%, #0d1c45 100%); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); }
.service--featured p { color: rgba(255, 255, 255, .72); }
.service--featured .service__ico { background: rgba(56, 209, 255, .15); }
.service--featured .service__ico svg { stroke: var(--cyan); }
.service--featured .service__link { color: var(--cyan); }
.service__tag {
  position: absolute; top: 18px; right: 18px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  background: var(--grad); color: #fff; padding: .35em .8em; border-radius: 999px;
}

/* ---------- Passos ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); }
.step__num { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 52px; right: -16px; width: 10px; height: 10px;
  border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: rotate(45deg); opacity: .4;
}

/* ---------- Acessórios ---------- */
.acc { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.acc__text > p { color: var(--muted); font-size: 1.08rem; }
.acc__list { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acc__list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.acc__list li > span { font-size: 1.4rem; line-height: 1; }
.acc__list b { display: block; font-size: .98rem; }
.acc__list small { color: var(--muted); font-size: .85rem; }
.acc__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.acc__gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 9 / 14; box-shadow: var(--shadow); }
.acc__gallery figure:nth-child(2) { transform: translateY(40px); }
.acc__gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.acc__gallery figure:hover img { transform: scale(1.05); }

/* ---------- Diferenciais ---------- */
.diffs { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.diffs__intro > p { color: var(--muted); font-size: 1.08rem; }
.counters { display: flex; gap: 40px; margin-top: 2rem; flex-wrap: wrap; }
.counters strong { display: block; font-family: var(--font-head); font-size: 2.4rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.counters span { color: var(--muted); font-size: .9rem; }
.diffs__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.diff { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.diff:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.diff__ico { font-size: 1.6rem; display: block; margin-bottom: 10px; }
.diff h3 { font-size: 1.05rem; margin-bottom: .3em; }
.diff p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Avaliações ---------- */
.rating { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.rating__num { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--text); }
.stars--lg { font-size: 1.3rem; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 2px 0 rgba(0,0,0,.02); }
.review blockquote { margin: 0; font-size: 1rem; color: var(--text); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review small { color: var(--muted); font-size: .82rem; display: block; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; display: grid; place-items: center; }
.highlights { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.highlights li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: .6em 1.2em; font-size: .92rem; color: var(--muted); }

/* ---------- Orçamento ---------- */
.quote-section { background: radial-gradient(900px 500px at 10% 0%, #0f2a6b 0%, transparent 60%), var(--black); color: #fff; }
.quote { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.quote__text p { color: rgba(255, 255, 255, .72); font-size: 1.08rem; }
.checks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .88); }
.checks li::before { content: "✓"; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(37, 211, 102, .18); color: var(--whats); font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.quote__form { background: #fff; color: var(--text); border-radius: 24px; padding: 34px; box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); width: 100%;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .8em 1em; background: #fff;
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 107, 255, .14); }
.is-invalid { border-color: #E5484D !important; }
.check { display: flex; align-items: center; gap: 10px; font-size: .92rem; cursor: pointer; color: var(--muted); }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.form-msg { color: #E5484D; font-size: .9rem; margin: 0; min-height: 1em; text-align: center; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: rgba(31, 107, 255, .4); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 30px 20px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--blue); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: stretch; }
.open-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; margin-bottom: 1.2rem; }
.open-status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.open-status.is-open { color: var(--whats-dark); }
.open-status.is-closed { color: #D9822B; }
.contact__list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-alt); display: grid; place-items: center; flex-shrink: 0; color: #fff; }
.contact__ico svg { width: 24px; height: 24px; }
.contact__ico--map { background: #EA4335; }
.contact__ico--whats { background: var(--whats); }
.contact__ico--clock { background: var(--blue); }
.contact__ico--insta { background: radial-gradient(circle at 30% 110%, #FDD15D 0%, #F56040 30%, #E1306C 55%, #C13584 75%, #5B51D8 100%); }
.contact__list b { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; }
.contact__list a, .contact__list div > span { color: var(--text); font-weight: 500; }
.contact__list a:hover { color: var(--blue); }
.contact__map { border-radius: var(--radius); overflow: hidden; min-height: 400px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact__map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: rgba(255, 255, 255, .65); padding: 70px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer__brand p { margin-top: 1rem; max-width: 300px; font-size: .95rem; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.footer__inner > div:not(.footer__brand) a { display: block; color: rgba(255, 255, 255, .65); margin-bottom: .6rem; font-size: .94rem; transition: color .2s; }
.footer__inner a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 20px; font-size: .85rem; }
.footer__bottom p { margin: 0; }

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  background: var(--whats); color: #fff; border-radius: 999px; padding: 14px;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .65); transition: transform .2s, background .2s;
}
.whats-float:hover { transform: scale(1.05); background: var(--whats-dark); }
.whats-float svg { width: 30px; height: 30px; }
.whats-float__label { font-weight: 600; padding-right: 6px; }
.whats-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--whats);
  animation: pulse 2.2s ease-out infinite; pointer-events: none;
}
@keyframes pulse { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .whats-float::before { animation: none; }
}

/* ==========================================================
   Responsivo
   ========================================================== */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .reviews { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 76px 0 0 0; background: var(--black);
    flex-direction: column; align-items: stretch; gap: 0; padding: 20px;
    transform: translateX(100%); transition: transform .35s ease; overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav a:not(.btn) { padding: 16px 4px; font-size: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__cta { margin-top: 20px; }
  .menu-toggle { display: block; }
  .header { background: rgba(5, 7, 13, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

  .hero { padding: 120px 0 70px; }
  .hero__inner, .acc, .diffs, .quote, .faq-wrap, .contact { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { max-width: 360px; margin-top: 10px; }
  .section { padding: 76px 0; }
  .section__head--left { text-align: center; margin: 0 auto; }
  .acc__gallery figure:nth-child(2) { transform: translateY(24px); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .services, .steps, .reviews, .diffs__grid, .acc__list { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { gap: 18px; }
  .hero__trust li { flex: 1 1 40%; }
  .quote__form { padding: 24px; }
  .whats-float__label { display: none; }
  .brands__track { gap: 10px 26px; }
  .brands__track span { font-size: 1rem; }
  .counters { gap: 28px; }
}
