/* RS Layout — landing dark / azul elétrico (identidade do logo) */
:root {
  --bg: #05070c;
  --bg-2: #0a0d14;
  --panel: #11151d;
  --panel-2: #161b25;
  --accent: #0b78ff;
  --accent-deep: #0660d6;
  --accent-bright: #3ba0ff;
  --accent-soft: rgba(11, 120, 255, 0.18);
  --blue: #3ba0ff;
  --blue-soft: rgba(58, 160, 255, 0.15);
  --chrome: #c8ced8;
  --white: #ffffff;
  --text: #f3f5f8;
  --muted: #a8b0bd;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 76px;
  --font: "Montserrat", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-accent: 0 10px 28px rgba(11, 120, 255, 0.28);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.text-red,
.text-blue {
  color: var(--accent-bright);
}

.section-label {
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: var(--accent-deep);
}

.btn-sm {
  padding: 0.7rem 1.1rem;
  font-size: 0.78rem;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.btn-arrow {
  color: var(--accent-bright);
  font-size: 1.1em;
  line-height: 1;
}

.btn-whatsapp {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  font-weight: 600;
  min-width: 0;
  padding: 0.85rem 1.1rem;
  justify-content: flex-start;
}

.btn-whatsapp .wa-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
}

.btn-whatsapp:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(37, 211, 102, 0.45);
  transform: none;
}

.btn-contact {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.92rem;
  font-weight: 600;
  min-width: 0;
  padding: 0.85rem 1.1rem;
  justify-content: flex-start;
  word-break: break-word;
}

.btn-contact .contact-icon {
  flex-shrink: 0;
  color: var(--accent-bright);
}

.btn-contact .contact-icon.ig {
  color: #e1306c;
}

.btn-contact:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(11, 120, 255, 0.45);
  transform: none;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(5, 7, 12, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(5, 7, 12, 0.94);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 0.92rem;
  font-weight: 800;
}

.brand-rs {
  letter-spacing: 0.02em;
}

.brand-rs .r {
  color: var(--accent-bright);
}

.brand-rs .s {
  color: var(--chrome);
}

.brand-text small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav > a:not(.btn) {
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.35rem 0;
  position: relative;
}

.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav > a:not(.btn):hover,
.nav > a:not(.btn).is-active {
  color: var(--white);
}

.nav > a:not(.btn).is-active::after,
.nav > a:not(.btn):hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2.5rem) 0 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.96) 0%, rgba(5, 7, 12, 0.78) 42%, rgba(5, 7, 12, 0.35) 70%, rgba(5, 7, 12, 0.55) 100%),
    linear-gradient(180deg, rgba(5, 7, 12, 0.35) 0%, rgba(5, 7, 12, 0.15) 40%, rgba(5, 7, 12, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 2.5rem;
  width: min(1180px, calc(100% - 2.5rem));
}

.hero-eyebrow {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-lead {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.75rem;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-features li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.feat-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  color: var(--blue);
}

.feat-icon svg {
  width: 100%;
  height: 100%;
}

.hero-features strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.hero-features span:not(.feat-icon) {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

/* Stats */
.stats {
  background: #07090f;
  border-block: 1px solid var(--border);
  padding: 1.75rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.stat-icon {
  width: 34px;
  height: 34px;
  color: var(--accent-bright);
  flex-shrink: 0;
}

.stat-icon svg {
  width: 100%;
  height: 100%;
}

.stat-item strong {
  display: block;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.1;
}

.stat-item span {
  color: var(--muted);
  font-size: 0.82rem;
}

/* About */
.about-intro {
  max-width: 48rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.about-intro p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.about-copy h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  margin-bottom: 1rem;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 1rem;
  max-width: 36rem;
}

.about-visual {
  position: relative;
}

.about-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--accent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.about-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(8, 10, 16, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  backdrop-filter: blur(8px);
  max-width: min(280px, calc(100% - 2rem));
}

.experience-badge strong {
  color: var(--accent-bright);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.3;
}

.about-pillars .section-head {
  margin-bottom: 1.5rem;
  max-width: 48rem;
}

.about-pillars .section-head h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  margin-bottom: 0.85rem;
}

.about-pillars .section-head p {
  color: var(--muted);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.pillar-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.pillar-card:hover {
  border-color: rgba(11, 120, 255, 0.4);
  transform: translateY(-3px);
}

.pillar-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  color: var(--accent-bright);
}

.pillar-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.about-quote {
  border-left: 3px solid var(--accent);
  padding: 1rem 0 1rem 1.25rem;
  margin: 0 0 1.5rem;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
  max-width: 48rem;
  font-style: italic;
}

/* Services */
.services {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(11, 120, 255, 0.08), transparent 60%),
    var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.service-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 120, 255, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.service-media {
  position: relative;
}

.service-media img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.service-icon {
  position: absolute;
  left: 0.85rem;
  bottom: -16px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-accent);
}

.service-icon svg {
  width: 18px;
  height: 18px;
}

.service-card h3,
.service-card p,
.service-card .service-link {
  padding-inline: 1rem;
}

.service-card h3 {
  margin-top: 1.6rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.86rem;
  flex: 1;
  margin-bottom: 1rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-bright);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 1.15rem;
}

.service-link:hover {
  color: #6bb8ff;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.process-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  position: relative;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.process-card:hover {
  border-color: rgba(11, 120, 255, 0.4);
  transform: translateY(-3px);
}

.process-num {
  display: block;
  color: var(--accent-bright);
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.process-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* CTA */
.cta-panel {
  background:
    radial-gradient(600px 240px at 15% 20%, rgba(11, 120, 255, 0.14), transparent 60%),
    linear-gradient(145deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(1.75rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.cta-copy p {
  color: var(--muted);
  max-width: 34rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: stretch;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  background: #04060a;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  font-size: 0.95rem;
}

.footer-brand p,
.footer-note {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--accent-bright);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    background: rgba(5, 7, 12, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.35rem;
    gap: 0.35rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav > a:not(.btn) {
    padding: 0.85rem 0.25rem;
    font-size: 0.85rem;
  }

  .btn-header {
    width: 100%;
    margin-top: 0.5rem;
  }

  .hero-features,
  .stats-grid,
  .about-grid,
  .process-grid,
  .pillars-grid,
  .cta-panel {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1180px, calc(100% - 1.5rem));
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 1.5rem);
  }

  .hero-bg img {
    object-position: 80% center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-features,
  .stats-grid,
  .about-grid,
  .services-grid,
  .process-grid,
  .pillars-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .brand-text small {
    display: none;
  }

  .cta-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .experience-badge {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    max-width: none;
  }
}

body.nav-open {
  overflow: hidden;
}
