/* Master styles.css - 8 paginas de servico Reggio - mesclado automaticamente */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

site-header, site-footer {
  display: contents;
}

html {
  scroll-behavior: smooth;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

address {
  font-style: normal;
}

:root {
  --red-primary: #c41700;
  --red-dark: #aa1206;
  --red-darker: #960000;
  --black: #0a0a0a;
  --gray-light: #e5e5e5;
  --white-off: #fafafa;
  --white: #ffffff;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-display: "Unbounded", sans-serif;
  --font-figtree: "Figtree", sans-serif;
  --container: 1280px;
  --pad: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html, body {
  background: var(--white-off);
  color: var(--black);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

::selection {
  background: var(--red-primary);
  color: var(--white);
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--red-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--red-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--red-primary);
}

.eyebrow.eyebrow-center {
  justify-content: center;
}

.eyebrow.eyebrow-center::before {
  display: none;
}

.eyebrow.eyebrow-on-dark {
  color: var(--white);
  opacity: 0.85;
}

.eyebrow.eyebrow-on-dark::before {
  background: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  border-radius: 100px;
  padding: 12px 24px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--red-primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(196, 23, 0, 0.35);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(10, 10, 10, 0.25);
  color: var(--black);
}

.btn-outline:hover {
  border-color: var(--black);
  background: rgba(10, 10, 10, 0.05);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-dark:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
}

.btn-ghost-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--white);
  padding: 10px 28px;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1.in-view {
  transition-delay: 0.1s;
}

.reveal-delay-2.in-view {
  transition-delay: 0.2s;
}

.reveal-delay-3.in-view {
  transition-delay: 0.3s;
}

.img-placeholder {
  position: relative;
  background: repeating-linear-gradient(45deg, #e5e5e5, #e5e5e5 10px, #dcdcdc 10px, #dcdcdc 20px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(10, 10, 10, 0.4);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  overflow: hidden;
  min-height: 100%;
}

.img-placeholder span {
  padding: 8px;
}

.img-placeholder.img-placeholder--dark {
  background: repeating-linear-gradient(115deg, #7a0e00, #7a0e00 22px, #8f1400 22px, #8f1400 44px);
  border: none;
  color: rgba(255, 255, 255, 0.4);
}

.img-placeholder.img-placeholder--black {
  background: repeating-linear-gradient(45deg, #1a1a1a, #1a1a1a 10px, #151515 10px, #151515 20px);
  border: none;
  color: rgba(255, 255, 255, 0.4);
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, calc(100% - 32px));
  z-index: 1000;
  background: rgba(196, 23, 0, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 100px;
  padding: 10px 10px 10px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.site-header.scrolled {
  background: rgba(196, 23, 0, 0.85);
  border-color: rgba(255, 255, 255, 0.18);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo .bracket {
  color: var(--white);
  font-weight: 400;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 16px;
  border-radius: 100px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.main-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.main-nav a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.burger span {
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.burger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

.burger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--white-off);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--black);
}

.mobile-nav a:hover {
  color: var(--red-primary);
}

section {
  padding: 110px 0;
  position: relative;
}

.section-tight {
  padding: 70px 0;
}

.hero {
  position: relative;
  min-height: 80vh;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 140px;
  background: var(--red-darker);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg .img-placeholder {
  width: 100%;
  height: 100%;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(150, 0, 0, 0.35) 0%, rgba(10, 10, 10, 0.55) 78%, rgba(10, 10, 10, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad);
  max-width: var(--container);
  margin: 60px auto 0;
  width: 100%;
}

.hero-title {
  font-family: var(--font-body);
  font-size: clamp(32px, 5.5vw, 65px);
  font-weight: 500;
  color: var(--white-off);
  text-transform: uppercase;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line span {
  display: inline-block;
  transform: translateY(110%);
  animation: line-up 1.6s var(--ease) forwards;
}

.hero-title .line:nth-child(1) span {
  animation-delay: 0.3s;
}

.hero-title .line:nth-child(2) span {
  animation-delay: 0.6s;
}

.hero-title .line:nth-child(3) span {
  animation-delay: 0.9s;
}

.hero-sub {
  margin-top: 22px;
  font-family: var(--font-figtree);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-off);
  opacity: 0;
  animation: fade-in 1.6s var(--ease) forwards;
  animation-delay: 1.4s;
}

.logos-strip {
  position: relative;
  z-index: 2;
  margin-top: 120px;
  padding-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.marquee-track {
  display: flex;
  gap: 72px;
  overflow: hidden;
}

.marquee {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
  gap: 72px;
  align-items: center;
}

.marquee:hover {
  animation-play-state: paused;
}

.logo-item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: color 0.3s var(--ease);
}

.logo-item:hover {
  color: var(--white);
}

.about {
  background: var(--white-off);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-media .img-placeholder {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
}

.about-text h2 {
  font-size: clamp(26px, 3.4vw, 42px);
  color: var(--black);
  margin: 14px 0 22px;
}

.about-text p {
  color: rgba(10, 10, 10, 0.65);
  margin-bottom: 16px;
  max-width: 52ch;
  font-size: 15.5px;
}

.about-stats {
  display: flex;
  gap: 48px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--red-primary);
}

.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(10, 10, 10, 0.5);
  margin-top: 6px;
}

.cta-banner {
  background: var(--red-primary);
  padding: 56px var(--pad);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

.cta-banner-inner {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(22px, 2.6vw, 32px);
  max-width: 20ch;
}

.services {
  background: var(--white-off);
}

.services-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.services-head h2 {
  font-size: clamp(26px, 3.6vw, 44px);
  color: var(--black);
  margin-top: 14px;
  max-width: 14ch;
}

.services-head p {
  color: rgba(10, 10, 10, 0.65);
  max-width: 38ch;
  font-size: 15px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #141414;
  display: block;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card .img-placeholder {
  position: absolute;
  inset: 0;
  border-radius: 0;
  border: none;
  transition: transform 0.6s var(--ease);
}

.service-card:hover .img-placeholder {
  transform: scale(1.06);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.1) 55%, rgba(10, 10, 10, 0) 100%);
}

.service-card .card-label {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.service-card .card-label span {
  color: var(--white);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.3;
}

.card-arrow {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: transform 0.35s var(--ease);
}

.service-card:hover .card-arrow {
  transform: rotate(45deg);
}

.services-more {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}

.services-more h3 {
  font-family: var(--font-figtree);
  font-weight: 500;
  font-size: 26px;
  color: var(--black);
  max-width: 42ch;
}

.sla-banner {
  position: relative;
  border-radius: 24px;
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
}

.sla-banner .img-placeholder {
  position: absolute;
  inset: 0;
  border-radius: 0;
  border: none;
}

.sla-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 10, 10, 0.9) 20%, rgba(196, 23, 0, 0.55) 100%);
}

.sla-content {
  position: relative;
  z-index: 2;
  padding: 48px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  width: 100%;
}

.sla-content h3 {
  color: var(--white);
  font-size: clamp(30px, 4vw, 52px);
}

.purpose-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.purpose-head h2 {
  font-size: clamp(24px, 3vw, 38px);
  margin: 14px 0;
}

.purpose-head p {
  font-size: 16px;
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.purpose-card {
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 18px;
  padding: 32px;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), background 0.35s var(--ease);
}

.purpose-card:hover {
  border-color: var(--red-primary);
  transform: translateY(-6px);
  background: #fff5f4;
}

.purpose-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  margin-bottom: 14px;
  color: var(--black);
}

.purpose-card p {
  color: rgba(10, 10, 10, 0.7);
  font-size: 14.5px;
}

.purpose-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.purpose-card ul li {
  color: rgba(10, 10, 10, 0.7);
  font-size: 14px;
  display: flex;
  gap: 8px;
}

.purpose-card ul li::before {
  content: "●";
  color: var(--red-primary);
  font-size: 8px;
  margin-top: 6px;
}

.purpose-card.accent {
  background: var(--red-primary);
  border-color: var(--red-primary);
}

.purpose-card.accent h4, .purpose-card.accent p {
  color: var(--white);
}

.purpose-card.accent:hover {
  background: var(--red-dark);
}

.purpose.purpose--dark {
  background: var(--black);
}

.purpose--dark .eyebrow {
  color: var(--red-primary);
}

.purpose--dark .purpose-head h2 {
  color: var(--white);
}

.purpose--dark .purpose-head p {
  color: rgba(250, 250, 250, 0.65);
}

.purpose--dark .purpose-card {
  background: #131313;
  border-color: rgba(255, 255, 255, 0.08);
}

.purpose--dark .purpose-card:hover {
  background: #171313;
}

.purpose--dark .purpose-card h4 {
  color: var(--white);
}

.purpose--dark .purpose-card p, .purpose--dark .purpose-card ul li {
  color: rgba(250, 250, 250, 0.65);
}

.cases {
  background: var(--red-primary);
}

.cases-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.cases-head h2 {
  font-size: clamp(26px, 3.6vw, 44px);
  color: var(--white);
  margin-top: 14px;
}

.cases-head p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 40ch;
  font-size: 15px;
}

.cases-head .eyebrow {
  color: var(--white);
}

.cases-head .eyebrow::before {
  background: var(--white);
}

.cases-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.case-item {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.case-item .img-placeholder {
  border-radius: 0;
  border: none;
  height: 100%;
  transition: transform 0.6s var(--ease);
}

.case-item:hover .img-placeholder {
  transform: scale(1.05);
}

.testimonials {
  background: var(--white-off);
  overflow: hidden;
}

.testi-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.testi-head h2 {
  font-size: clamp(24px, 3vw, 38px);
  color: var(--black);
  margin: 14px 0;
}

.testi-head .eyebrow {
  color: var(--red-primary);
}

.testi-track-wrap {
  position: relative;
}

.testi-track {
  display: flex;
  gap: 22px;
  transition: transform 0.6s var(--ease);
}

.testi-card {
  flex: 0 0 calc(33.333% - 15px);
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 18px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.testi-card p {
  color: rgba(10, 10, 10, 0.7);
  font-size: 15px;
  line-height: 1.6;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
}

.testi-avatar .img-placeholder {
  border-radius: 50%;
  font-size: 8px;
}

.testi-name {
  color: var(--black);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-display);
}

.testi-role {
  color: var(--red-primary);
  font-size: 12.5px;
  margin-top: 2px;
}

.testi-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.2);
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
  cursor: pointer;
}

.testi-dot.active {
  background: var(--red-primary);
  width: 24px;
  border-radius: 5px;
}

.final-cta {
  background: var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 70px var(--pad);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  top: -300px;
  right: -200px;
}

.final-cta h2 {
  color: var(--white);
  font-size: clamp(28px, 4.4vw, 48px);
  max-width: 22ch;
  margin: 0;
  position: relative;
  z-index: 2;
  line-height: 1.15;
}

.final-cta .btn {
  position: relative;
  z-index: 2;
}

.page-hero {
  position: relative;
  min-height: 46vh;
  padding: 150px var(--pad) 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--red-darker);
  overflow: hidden;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(150, 0, 0, 0.35) 0%, rgba(10, 10, 10, 0.55) 78%, rgba(10, 10, 10, 0.92) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.page-hero h1 {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 500;
  color: var(--white-off);
  text-transform: uppercase;
}

.page-hero.page-hero--left {
  min-height: 46vh;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
}

.page-hero--left .page-hero-content {
  text-align: left;
}

.service-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.service-hero .hero-bg .img-placeholder {
  width: 100%;
  height: 100%;
}

.intro-text {
  padding: 90px 0 0;
}

.intro-text strong, .intro-text .highlight {
  color: var(--red-primary);
  font-weight: 600;
}

.scope-section {
  padding: 70px 0 110px;
}

.scope-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.scope-list {
  display: flex;
  flex-direction: column;
}

.scope-step {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
  align-items: center;
}

.scope-step .step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
}

.scope-step h4 {
  font-family: var(--font-figtree);
  font-weight: 700;
  font-size: 19px;
  color: var(--black);
  margin-bottom: 6px;
}

.scope-step p {
  color: rgba(10, 10, 10, 0.65);
  font-size: 14.5px;
  line-height: 1.6;
}

.scope-media {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.scope-media .img-placeholder {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
}

.benefits-box {
  border-radius: 18px;
  padding: 35px 51px;
  background: var(--red-primary);
}

.benefits-box h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 18px;
}

.benefit-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.benefit-item:last-child {
  margin-bottom: 0;
}

.benefit-item .dot {
  color: var(--white);
  font-size: 8px;
  margin-top: 7px;
  flex-shrink: 0;
}

.benefit-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
}

.benefit-item p strong {
  color: var(--white);
}

.application-banner {
  padding: 0 0 110px;
}

.application-box {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
  background: var(--black);
}

.application-box .box-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, #0a0a0a 0%, #0a0a0a 30%, #960000 90%, #c41700 100%);
}

.application-box::after {
  content: none;
}

.application-box p {
  position: relative;
  z-index: 2;
  padding: 48px var(--pad);
  color: var(--white-off);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.7;
  max-width: 60ch;
}

.application-box p strong {
  color: var(--white);
}

.clients-section {
  padding: 40px 0 40px;
  background: var(--red-primary);
  overflow: hidden;
}

.clients-head {
  text-align: center;
  margin-bottom: 64px;
  color: var(--white);
}

.clients-marquee {
  display: flex;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.clients-track {
  display: flex;
  flex-shrink: 0;
  gap: 16px;
  animation: clientsScroll 80s linear infinite;
}

.client-tile {
  width: 180px;
  aspect-ratio: 3 / 1.2;
  flex-shrink: 0;
  border-radius: 12px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.client-tile img {
  opacity: 0.7;
}

.stats-banner {
  position: relative;
  margin: 0 var(--pad) 100px;
  max-width: calc(var(--container) + var(--pad) * 2);
  margin-left: auto;
  margin-right: auto;
  border-radius: 24px;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
}

.stats-banner .box-bg {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, #1a1a1a, #1a1a1a 10px, #151515 10px, #151515 20px);
}

.stats-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 10, 10, 0.9) 20%, rgba(196, 23, 0, 0.55) 100%);
}

.stats-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 56px var(--pad);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
}

.stats-grid .stat-num {
  color: var(--white);
}

.stats-grid .stat-label {
  color: rgba(255, 255, 255, 0.65);
}

.journey-section {
  background: var(--white-off);
  padding: 100px 0;
}

.journey-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

.journey-text {
  max-width: 760px;
}

.journey-text h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  margin: 16px 0 24px;
  line-height: 1.15;
}

.journey-text p {
  color: rgba(10, 10, 10, 0.7);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.journey-text p:last-child {
  margin-bottom: 0;
}

.journey-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
}

.services-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.services-page-head h2 {
  font-size: clamp(26px, 3.6vw, 44px);
  margin-top: 14px;
  max-width: 14ch;
}

.services-page-head p {
  color: rgba(10, 10, 10, 0.65);
  max-width: 38ch;
  font-size: 15px;
}

.services-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-page-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  border: 1px solid rgba(10, 10, 10, 0.08);
  display: block;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}

.service-page-card:hover {
  transform: translateY(-8px);
  border-color: var(--red-primary);
}

.service-page-card .card-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.service-page-card .card-bg span {
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

.service-page-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.1) 55%, rgba(10, 10, 10, 0) 100%);
}

.service-page-card .card-label {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.service-page-card .card-label span {
  color: var(--white);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.3;
}

.cases-hero--simple {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--pad);
}

.cases-hero--simple .img-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cases-hero--simple::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 10, 10, 0.6);
}

.cases-hero--simple h1 {
  position: relative;
  z-index: 2;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 52px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--white-off);
}

.cases-hero--simple .img-placeholder span {
  display: none;
}

.cases-intro {
  padding: 90px 0 0;
}

.cases-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: end;
}

.cases-intro-heading {
  grid-column: span 2;
}

.cases-intro-heading h2 {
  font-size: clamp(26px, 3.6vw, 42px);
  margin-top: 14px;
  max-width: 20ch;
  text-wrap: balance;
}

.cases-intro-copy p {
  color: rgba(10, 10, 10, 0.65);
  font-size: 15px;
  max-width: none;
}

.cases-grid-section {
  padding: 56px 0 110px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  display: flex;
  flex-direction: column;
}

.case-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #141414;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}

.case-card-media .img-placeholder {
  position: absolute;
  inset: 0;
  border-radius: 0;
  border: none;
}

.case-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0) 65%);
}

.case-tag {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  background: var(--red-primary);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 4px;
  margin-bottom: auto;
}

.case-card-media p {
  position: relative;
  z-index: 2;
  color: var(--white-off);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  max-width: 26ch;
  text-wrap: balance;
  margin-left: 20px;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 1)) drop-shadow(0 4px 16px rgba(0, 0, 0, 1));
}

footer {
  background: var(--red-primary);
  padding: 80px 0 30px;
}

.footer-cta {
  padding: 0 200px 70px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 60px;
}

.footer-cta h2 {
  color: var(--white);
  font-size: clamp(26px, 3.4vw, 42px);
  max-width: 22ch;
  line-height: 1.15;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-brand .logo {
  margin-bottom: 18px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13.5px;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-col h5 {
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-col address, .footer-col p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13.5px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-col address strong {
  color: var(--white);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13.5px;
  transition: color 0.25s var(--ease);
}

.footer-col ul li a:hover {
  color: var(--black);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-section {
  padding: 90px 0 110px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(10, 10, 10, 0.55);
}

.form-group input, .form-group select, .form-group textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.15);
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  width: 100%;
}

.form-group select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(10,10,10,0.4) 50%), linear-gradient(135deg, rgba(10,10,10,0.4) 50%, transparent 50%);
  background-position: calc(100% - 22px) center, calc(100% - 16px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  font-family: var(--font-body);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px rgba(196, 23, 0, 0.12);
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.form-submit .btn[disabled] {
  opacity: 0.7;
  pointer-events: none;
}

.form-status {
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-status.success {
  color: #1a7a3c;
}

.form-status.error {
  color: var(--red-primary);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-box {
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 18px;
  padding: 28px;
  background: var(--white);
}

.contact-info-box h4 {
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 16px;
  color: var(--black);
}

.contact-info-box address, .contact-info-box p {
  color: rgba(10, 10, 10, 0.65);
  font-size: 14px;
  line-height: 1.8;
}

.contact-info-box address strong {
  color: var(--black);
}

.contact-info-box + .contact-info-box {
  margin-top: 0;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-channel .ic {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(196, 23, 0, 0.08);
  color: var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 13px;
}

.contact-channel a, .contact-channel span.txt {
  font-size: 14px;
  color: var(--black);
}

.contact-channel a:hover {
  color: var(--red-primary);
}

.contact-map {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.scope-grid h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  color: var(--black);
  margin: 14px 0 30px;
}

.scope-step:last-child {
  border-bottom: none;
}

.scope-step--center {
  align-items: center;
}

.scope-step--center h4 {
  font-family: var(--font-figtree);
  font-weight: 700;
  font-size: 19px;
}

.scope-media-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  object-fit: cover;
}

.application-box--gradient::after {
  background: linear-gradient(100deg, var(--black) 0%, var(--black) 30%, var(--red-darker) 90%, var(--red-primary) 100%);
}

.service-hero {
  position: relative;
  min-height: 64vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 160px 0 64px;
  background: #0a0a0a;
}

.service-hero .hero-bg-img, .service-hero .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.service-hero .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

.service-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px,5vw,64px);
  text-align: center;
}

.service-hero h1 {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
  font-size: 52px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fafafa;
  text-transform: uppercase;
  margin: 0;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.service-hero p {
  font-family: var(--font-figtree);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  color: rgba(255,255,255,0.85);
  margin: 22px auto 0;
  max-width: 68ch;
  text-align: center;
  text-wrap: pretty;
}

.intro-text p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: var(--black);
  margin: 0;
  text-wrap: pretty;
  hyphens: none;
}

.scope-media-img {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
}

.scope-media-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.benefits-box--wide {
  padding: 35px 51px;
}

body.page-integracao-hardware .scope-media .img-placeholder {
  aspect-ratio: 4 / 2.56;
  border-radius: 18px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.scope-media img {
  aspect-ratio: 3.65 / 5;
  border-radius: 18px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

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

}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .site-header .header-cta {
    display: none;
  }

  .burger {
    display: flex;
  }

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

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

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

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

  .testi-card {
    flex: 0 0 calc(50% - 11px);
  }

  .services-page-grid {
    grid-template-columns: 1fr;
  }

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

  .cases-intro-heading {
    grid-column: auto;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 600px) {
  .cta-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .sla-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cases-preview-grid {
    grid-template-columns: 1fr;
  }

  .testi-card {
    flex: 0 0 100%;
  }

  .scope-step {
    gap: 14px;
  }

  .cases-intro-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-cta {
    padding-right: 0;
  }

  .service-hero h1 {
    font-size: 30px;
  }

  .service-hero p br {
    display: none;
  }

  .intro-text p {
    font-size: 16px;
    line-height: 1.4;
  }

}

@media (max-width: 1100px) {
  .scope-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .scope-media {
    position: static;
  }

}

@media (max-width: 900px) {
  .service-hero {
    min-height: 56vh;
    padding-top: 130px;
  }

  .service-hero h1 {
    font-size: 38px;
  }

  .intro-text {
    padding-top: 70px;
  }

}


/* ===== Home vs Sobre - secoes institucionais compartilhadas com visual proprio ===== */
body.page-home .purpose--dark .purpose-head h2 {
  color: var(--white);
}
body.page-sobre .purpose--dark .purpose-head h2 {
  color: var(--red-primary);
}
body.page-home .purpose--dark .purpose-head p {
  color: rgba(250, 250, 250, 0.65);
}
body.page-sobre .purpose--dark .purpose-head p {
  color: var(--red-primary);
}
body.page-home .purpose.purpose--dark {
  background: var(--black);
}
body.page-sobre .purpose.purpose--dark {
  background: #fafafa;
}
body.page-home .journey-media {
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
}
body.page-sobre .journey-media {
  aspect-ratio: auto;
  border-radius: 20px;
  height: 100%;
  min-height: 480px;
  overflow: hidden;
  width: 100%;
}
body.page-home .journey-text {
  max-width: 760px;
}
body.page-sobre .journey-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
}
body.page-home .journey-grid {
  align-items: start;
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}
body.page-sobre .journey-grid {
  align-items: stretch;
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr 1fr;
}
body.page-home .stats-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 10, 10, 0.9) 20%, rgba(196, 23, 0, 0.55) 100%);
}
body.page-sobre .stats-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}
body.page-home .stats-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  padding: 56px var(--pad);
  position: relative;
  width: 100%;
  z-index: 2;
}
body.page-sobre .stats-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  padding: 56px var(--pad);
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 2;
}

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

@keyframes line-up {
  0% { transform: translateY(110%); }
  100% { transform: translateY(0); }
}

@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes clientsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
