/* ═══════════════════════════════════════════════════
   INJECTALAB — PREMIUM EDITORIAL DESIGN SYSTEM
   Paleta: Vermelho #C8102E | Preto #0A0A0A | Branco #F8F6F2
═══════════════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:       #C8102E;
  --red-dark:  #a00d24;
  --black:     #0A0A0A;
  --black-2:   #111111;
  --off-white: #F8F6F2;
  --white:     #FFFFFF;
  --gray-100:  #F0EEEA;
  --gray-200:  #D9D7D3;
  --gray-400:  #999793;
  --gray-600:  #5A5856;

  --font-sans: 'DM Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);

  --nav-h: 68px;
  --page-w: 95%;
  --max-w: 1440px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--off-white);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.6;
}

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

a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
em { font-style: italic; font-family: var(--font-serif); font-weight: 300; }

/* ─── UTILITY ─── */
.page-width {
  width: var(--page-w);
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

/* Nav link/cta colours are always white — the nav backdrop is always dark-tinted
   so white text works universally. No need to flip link colours per section. */

.section--white { background: var(--off-white); color: var(--black); }
.section--black { background: var(--black); color: var(--off-white); }

.section-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
  display: block;
}
.section-label--light { color: rgba(248,246,242,0.65); }

.br-desk { display: none; }
@media (min-width: 1024px) { .br-desk { display: inline; } }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95rem 2.2rem;
  border: 1px solid transparent;
  transition: all 0.35s var(--ease-out);
  cursor: pointer;
}
.btn--red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn--ghost {
  background: transparent;
  color: var(--off-white);
  border-color: rgba(248,246,242,0.4);
}
.btn--ghost:hover { border-color: var(--off-white); }

/* ─── SCROLL ANIMATIONS ─── */
.reveal-up, .reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-right {
  transform: translateX(60px);
}
.reveal-up.visible, .reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}
[data-delay="50"]  { transition-delay: 0.05s !important; }
[data-delay="100"] { transition-delay: 0.1s !important; }
[data-delay="150"] { transition-delay: 0.15s !important; }
[data-delay="200"] { transition-delay: 0.2s !important; }

/* ═══════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
  height: var(--nav-h);
}
/* Solid dark backdrop once past hero — always dark tint because
   dark sections dominate and the nav text/logo must stay readable */
.nav.scrolled {
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
/* Light section: slightly lighter tint but still a dark glass effect
   so white logo stays readable over light page content */
.nav.scrolled.nav--light {
  background: rgba(10,10,10,0.82);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 95%;
  max-width: var(--max-w);
  margin: 0 auto;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo-img { height: 30px; width: auto; object-fit: contain; }

/* Logo: versão fundo branco — fixa, sem troca */
.nav__links {
  display: none;
  list-style: none;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .nav__links { display: flex; }
}
.nav__links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248,246,242,0.7);
  transition: color 0.25s;
}
.nav__links a:hover { color: var(--off-white); }
.nav__cta {
  display: none;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--off-white);
  border: 1px solid rgba(248,246,242,0.35);
  padding: 0.6rem 1.4rem;
  transition: all 0.3s;
}
.nav__cta:hover { background: var(--red); border-color: var(--red); }
@media (min-width: 1024px) { .nav__cta { display: block; } }

.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
@media (min-width: 1024px) { .nav__hamburger { display: none; } }
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--off-white);
  transition: all 0.3s;
}
.nav__hamburger.open span:first-child { transform: translateY(6px) rotate(45deg); }
.nav__hamburger.open span:last-child  { transform: translateY(-6px) rotate(-45deg); }

.nav__mobile {
  display: none;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
  position: absolute;
  top: var(--nav-h);
  left: 0; right: 0;
  padding: 2rem 5%;
}
.nav__mobile.open { display: block; }
.nav__mobile ul { list-style: none; }
.nav__mobile ul li + li { border-top: 1px solid rgba(248,246,242,0.08); }
.nav__mobile ul a {
  display: block;
  padding: 1.1rem 0;
  font-size: 1rem;
  font-weight: 300;
  color: var(--off-white);
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}
.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,10,10,0.55) 0%,
    rgba(10,10,10,0.42) 40%,
    rgba(10,10,10,0.78) 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 95%;
  max-width: var(--max-w);
  margin: 0 auto;
  /* Push content well below the header so nothing overlaps */
  padding-top: calc(var(--nav-h) + 6vh);
  padding-bottom: clamp(4rem, 8vh, 7rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
}

/* Wide text block — 55–62% of layout on desktop, full width on mobile */
.hero__left {
  width: 100%;
  max-width: 100%;
}
@media (min-width: 900px) {
  .hero__left {
    width: 58%;
    max-width: 860px;
    flex-shrink: 0;
  }
}
@media (min-width: 1280px) {
  .hero__left {
    width: 55%;
    max-width: 920px;
  }
}
.hero__eyebrow {
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.8rem;
  /* Safe distance from top nav — extra breathing */
  padding-top: 0;
}
.hero__title {
  font-family: var(--font-sans);
  /* Wider column = larger comfortable type size */
  font-size: clamp(2.2rem, 4.8vw, 5.2rem);
  font-weight: 200;
  line-height: 1.10;
  letter-spacing: -0.025em;
  color: var(--off-white);
  margin-bottom: 2rem;
  /* Let the wider container breathe — no forced narrow wrapping */
  max-width: none;
}
.hero__title em {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 5.6rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  color: rgba(248,246,242,0.72);
  display: block;
  line-height: 1.12;
}
.hero__sub {
  font-size: clamp(0.84rem, 1.05vw, 0.98rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(248,246,242,0.82);
  margin-bottom: 2rem;
  /* Slightly narrower than the title for visual hierarchy */
  max-width: min(620px, 90%);
}
.hero__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 2.5rem;
}
.hero__bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(248,246,242,0.85);
}
.bullet-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__right { display: none; }
@media (min-width: 1200px) { .hero__right { display: flex; align-items: flex-end; flex-shrink: 0; } }
.hero__badge {
  border: 1px solid rgba(248,246,242,0.2);
  padding: 2rem 2.5rem;
  text-align: center;
  backdrop-filter: blur(8px);
}
.badge__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 300;
  color: var(--off-white);
  line-height: 1;
}
.badge__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248,246,242,0.65);
  margin-top: 0.5rem;
  line-height: 1.6;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: 5%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(248,246,242,0.55);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(248,246,242,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:0.4;} 50%{opacity:1;} }

/* ═══════════════════════════════════════════════════
   SOBRE
═══════════════════════════════════════════════════ */
.sobre {
  padding: clamp(6rem, 10vh, 10rem) 0;
}
.sobre__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}
@media (min-width: 900px) {
  .sobre__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 6rem;
  }
}
.sobre__title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.8rem;
  color: var(--black);
}
.sobre__title em {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.9rem);
  color: var(--red);
}
.sobre__body {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--gray-600);
  margin-bottom: 1.2rem;
}
.sobre__stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat__num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1;
  color: var(--black);
}
.stat__label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.stat__divider {
  width: 1px;
  height: 48px;
  background: var(--gray-200);
  flex-shrink: 0;
}
.sobre__image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.sobre__image img {
  transition: transform 0.8s var(--ease-out);
}
.sobre__image:hover img { transform: scale(1.03); }
.sobre__image-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248,246,242,0.7);
  background: rgba(10,10,10,0.5);
  padding: 0.4rem 0.8rem;
  backdrop-filter: blur(4px);
}

/* ═══════════════════════════════════════════════════
   SOLUÇÕES — Horizontal sticky scroll
═══════════════════════════════════════════════════ */
.solucoes {
  padding-top: clamp(5rem, 8vh, 8rem);
  padding-bottom: 0;
  /* Needs relative so sticky child is contained within it */
  position: relative;
}
.solucoes__header {
  padding-bottom: 3rem;
}
.solucoes__title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--off-white);
}
.solucoes__title em {
  font-family: var(--font-serif);
  color: rgba(248,246,242,0.75);
}

/* Sticky horizontal scroll — desktop */
.solucoes__sticky-wrap {
  display: none;
  /* Sticky: pins the track in the viewport while section scrolls */
  position: sticky;
  top: 0;
  overflow: hidden;
  /* Full viewport height so cards look cinematic */
  height: 100vh;
  /* Flex column to stack track + progress bar */
  display: none;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 768px) {
  .solucoes__sticky-wrap {
    display: flex;
  }
}
/* Track takes all available height inside sticky wrapper */
.solucoes__sticky-wrap .solucoes__track {
  flex: 1;
  align-items: stretch;
}

.solucoes__track {
  display: flex;
  will-change: transform;
  /* Left inset matches page-width grid so first card aligns with section header text.
     Right side is open to let cards exit cleanly. */
  padding-left: 2.5%;
  padding-right: 8vw; /* trailing breath after last card */
  padding-top: 0;
  padding-bottom: 0;
  gap: 2px;
}

.sol-card {
  /* Card width: ~44% of viewport — two cards peek at once, first fully readable */
  flex: 0 0 clamp(340px, 44vw, 660px);
  max-width: 660px;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(248,246,242,0.08);
  overflow: hidden;
  position: relative;
  transition: border-color 0.4s;
}
.sol-card:hover { border-color: rgba(248,246,242,0.2); }
.sol-card__img-wrap {
  flex: 0 0 60%;
  overflow: hidden;
}
.sol-card__img-wrap img {
  transition: transform 0.9s var(--ease-out);
  height: 100%;
}
.sol-card:hover .sol-card__img-wrap img { transform: scale(1.04); }
.sol-card__body {
  flex: 1;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sol-card__num {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: var(--red);
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}
.sol-card__title {
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 200;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--off-white);
  margin-bottom: 1rem;
}
.sol-card__text {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(248,246,242,0.82);
  margin-bottom: 1.5rem;
  flex: 1;
}
.sol-card__link {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s;
}
.sol-card__link:hover { gap: 0.9rem; }

.solucoes__progress-bar {
  width: 95%;
  max-width: var(--max-w);
  /* Absolute bottom of the sticky viewport — always visible */
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  background: rgba(248,246,242,0.1);
}
.solucoes__progress-fill {
  height: 100%;
  background: var(--red);
  width: 0%;
  transition: width 0.08s linear;
}

/* Mobile carousel */
.solucoes__mobile-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2px;
  padding: 0 2.5% 2rem;
  scrollbar-width: none;
}
.solucoes__mobile-carousel::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .solucoes__mobile-carousel { display: none; } }

.sol-mob-card {
  flex: 0 0 88vw;
  max-width: 380px;
  scroll-snap-align: start;
  border: 1px solid rgba(248,246,242,0.1);
  overflow: hidden;
}
.sol-mob-card img {
  height: 55vw;
  max-height: 260px;
}
.sol-mob-card__body {
  padding: 1.5rem;
}
.sol-mob-card__body h3 {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 200;
  color: var(--off-white);
  margin: 0.5rem 0;
}
.sol-mob-card__body p {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(248,246,242,0.82);
}

/* ═══════════════════════════════════════════════════
   ÁREAS
═══════════════════════════════════════════════════ */
.areas { padding: clamp(6rem, 10vh, 10rem) 0 0; overflow: hidden; }
.areas__inner { position: relative; }
.areas__header { margin-bottom: 4rem; }
.areas__title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 1.2rem;
}
.areas__title em {
  font-family: var(--font-serif);
  color: var(--red);
}
.areas__intro {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray-600);
  max-width: 620px;
}
.areas__image-col {
  display: none;
  position: absolute;
  top: 0; right: 0;
  width: 32%;
  height: 500px;
  overflow: hidden;
}
@media (min-width: 1100px) { .areas__image-col { display: block; } }
.areas__image-col img { height: 100%; }

.areas__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 768px) {
  .areas__list { grid-template-columns: 1fr 1fr; }
}
.area-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--gray-200);
  position: relative;
  cursor: default;
  transition: padding-left 0.35s var(--ease-out);
}
.area-item:last-child { border-bottom: 1px solid var(--gray-200); }
.area-item:hover { padding-left: 1rem; }
.area-item__num {
  font-family: var(--font-serif);
  font-size: 0.7rem;
  color: var(--red);
  letter-spacing: 0.1em;
  min-width: 24px;
  flex-shrink: 0;
}
.area-item__name {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--black);
  flex: 1;
  letter-spacing: 0.01em;
  transition: color 0.3s;
}
.area-item:hover .area-item__name { color: var(--red); }
.area-item__line {
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.4s var(--ease-out);
  flex-shrink: 0;
}
.area-item:hover .area-item__line { width: 24px; }

/* Marquee */
.marquee-strip {
  margin-top: 5rem;
  overflow: hidden;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.2rem 0;
  background: var(--black);
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  animation: marqueeScroll 22s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-track span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248,246,242,0.6);
}
.marquee-dot { color: var(--red) !important; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════════════════
   INOVAÇÃO
═══════════════════════════════════════════════════ */
.inovacao { padding: clamp(6rem, 10vh, 10rem) 0; }
.inovacao__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .inovacao__inner { grid-template-columns: 1fr 1fr; gap: 6rem; }
}
.inovacao__title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--off-white);
  margin-bottom: 2rem;
}
.inovacao__title em {
  font-family: var(--font-serif);
  color: rgba(248,246,242,0.75);
}
.inovacao__body {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(248,246,242,0.82);
  margin-bottom: 1.2rem;
}
.inov-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
.inov-pill {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid rgba(248,246,242,0.1);
  transition: border-color 0.35s, background 0.35s;
}
.inov-pill:hover {
  border-color: var(--red);
  background: rgba(200,16,46,0.05);
}
.inov-pill__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--red);
}
.inov-pill__icon svg { width: 100%; height: 100%; }
.inov-pill span {
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(248,246,242,0.82);
  letter-spacing: 0.04em;
}
.inovacao__visuals {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.inov-img-main {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.inov-img-sub {
  aspect-ratio: 16/7;
  overflow: hidden;
  transition-delay: var(--delay, 0s) !important;
}
.inov-img-main img, .inov-img-sub img {
  transition: transform 0.9s var(--ease-out);
}
.inov-img-main:hover img, .inov-img-sub:hover img { transform: scale(1.04); }

/* ═══════════════════════════════════════════════════
   QUALIDADE
═══════════════════════════════════════════════════ */
.qualidade { padding: clamp(6rem, 10vh, 10rem) 0 0; }
.qualidade__header { margin-bottom: 4rem; }
.qualidade__title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--black);
}
.qualidade__title em {
  font-family: var(--font-serif);
  color: var(--red);
}
.qualidade__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 5rem;
}
@media (min-width: 900px) {
  .qualidade__split { grid-template-columns: 1fr 1fr; gap: 6rem; }
}
.qualidade__text p {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--gray-600);
  margin-bottom: 1rem;
}
.qualidade__bullets {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.q-bullet {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--gray-100);
}
.q-bullet:last-child { border-bottom: none; padding-bottom: 0; }
.q-bullet__num {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--red);
  flex-shrink: 0;
  line-height: 1.6;
}
.q-bullet p {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--black);
}
.qualidade__image-full {
  position: relative;
  width: 100%;
  height: clamp(300px, 55vw, 600px);
  overflow: hidden;
}
.qualidade__image-full img { height: 100%; }
.qualidade__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.65) 0%, rgba(10,10,10,0.1) 60%);
  display: flex;
  align-items: flex-end;
  padding: 3rem 5%;
}
.qualidade__image-overlay blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--off-white);
  line-height: 1.3;
  max-width: 500px;
}

/* ═══════════════════════════════════════════════════
   DIFERENCIAIS — Horizontal sticky
═══════════════════════════════════════════════════ */
.diferenciais {
  padding: clamp(6rem, 10vh, 10rem) 0 0;
  position: relative;
}
.diferenciais__header { margin-bottom: 4rem; }
.diferenciais__title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--off-white);
}
.diferenciais__title em {
  font-family: var(--font-serif);
  color: rgba(248,246,242,0.75);
}
.diferenciais__sub {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(248,246,242,0.80);
  max-width: 600px;
  margin-top: 1.2rem;
}

/* sticky horizontal — desktop */
.diferenciais__sticky-wrap {
  display: none;
  /* Sticky pin: same pattern as Soluções */
  position: sticky;
  top: 0;
  overflow: hidden;
  height: 100vh;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 768px) {
  .diferenciais__sticky-wrap {
    display: flex;
  }
}
.diferenciais__sticky-wrap .diferenciais__track {
  flex: 1;
  align-items: stretch;
}
.diferenciais__track {
  display: flex;
  gap: 2px;
  will-change: transform;
  /* Match grid inset — first panel aligns with section heading */
  padding-left: 2.5%;
  padding-right: 8vw;
  padding-top: 0;
  padding-bottom: 0;
}
.dif-panel {
  /* Slightly wider than before: first panel well-framed in viewport */
  flex: 0 0 clamp(320px, 42vw, 600px);
  min-height: 80vh;
  border: 1px solid rgba(248,246,242,0.08);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s;
}
.dif-panel:hover { border-color: rgba(248,246,242,0.2); }
.dif-panel__num {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: var(--red);
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}
.dif-panel__title {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 200;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--off-white);
  margin-bottom: 1.2rem;
}
.dif-panel__text {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(248,246,242,0.82);
  flex: 1;
  margin-bottom: 2rem;
}
.dif-panel__img {
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}
.dif-panel__img img {
  transition: transform 0.9s var(--ease-out);
}
.dif-panel:hover .dif-panel__img img { transform: scale(1.05); }

.diferenciais__progress-bar {
  width: 95%;
  max-width: var(--max-w);
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  background: rgba(248,246,242,0.1);
}
.diferenciais__progress-fill {
  height: 100%;
  background: var(--red);
  width: 0%;
  transition: width 0.08s linear;
}

/* Mobile diferenciais */
.diferenciais__mobile {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) { .diferenciais__mobile { display: none; } }
.dif-mob {
  border-top: 1px solid rgba(248,246,242,0.12);
  padding-top: 1.8rem;
}
.dif-mob h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--off-white);
  margin: 0.4rem 0 0.8rem;
}
.dif-mob p {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(248,246,242,0.82);
}

/* ═══════════════════════════════════════════════════
   CONTATO
═══════════════════════════════════════════════════ */
.contato { padding: clamp(6rem, 10vh, 10rem) 0 0; }
.contato__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}
@media (min-width: 900px) {
  .contato__inner { grid-template-columns: 1fr 1fr; align-items: start; }
}
.contato__title {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 1.2rem;
}
.contato__title em {
  font-family: var(--font-serif);
  color: var(--red);
}
.contato__sub {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 2rem;
}
.contato__cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contato__card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--gray-100);
  transition: padding-left 0.3s var(--ease-out);
}
.contato__card:first-child { border-top: none; }
.contato__card:hover { padding-left: 0.5rem; }
.contato__card-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--red);
  margin-top: 2px;
}
.contato__card-icon svg { width: 100%; height: 100%; }
.contato__card-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.25rem;
}
.contato__card-val {
  display: block;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--black);
  line-height: 1.6;
  transition: color 0.25s;
}
a.contato__card-val:hover { color: var(--red); }

.contato__img-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: clamp(160px, 22vw, 280px);
  gap: 2px;
  overflow: hidden;
}
.contato__img-strip img {
  transition: transform 0.8s var(--ease-out);
  cursor: pointer;
}
.contato__img-strip img:hover { transform: scale(1.06); }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.footer {
  background: var(--black-2);
  padding: clamp(4rem, 6vh, 6rem) 0 2rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer__top { grid-template-columns: 1.5fr 1fr 0.8fr; gap: 4rem; }
}
.footer__logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}
.footer__brand p {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(248,246,242,0.65);
}
.footer__nav, .footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer__nav a, .footer__contact a {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(248,246,242,0.72);
  letter-spacing: 0.05em;
  transition: color 0.25s;
}
.footer__nav a:hover, .footer__contact a:hover { color: var(--off-white); }
.footer__divider {
  height: 1px;
  background: rgba(248,246,242,0.08);
  margin-bottom: 2rem;
}
.footer__disclaimer {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.footer__disclaimer p {
  font-size: 0.68rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(248,246,242,0.52);
  letter-spacing: 0.02em;
}
.footer__bottom {
  border-top: 1px solid rgba(248,246,242,0.06);
  padding-top: 1.5rem;
}
.footer__bottom span {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248,246,242,0.42);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE TWEAKS
═══════════════════════════════════════════════════ */
@media (max-width: 767px) {
  /* Hero — mobile: full width, clear of header */
  .hero__inner {
    padding-top: calc(var(--nav-h) + 4vh);
    padding-bottom: clamp(3rem, 6vh, 5rem);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .hero__left {
    width: 100%;
    max-width: 100%;
  }
  .hero__title {
    font-size: clamp(2rem, 9.5vw, 3.2rem);
    line-height: 1.12;
    margin-bottom: 1.4rem;
  }
  .hero__title em {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }
  .hero__sub {
    font-size: 0.86rem;
    max-width: 100%;
    margin-bottom: 1.6rem;
  }
  .hero__bullets { margin-bottom: 2rem; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }

  /* Other sections */
  .sobre__stats { gap: 1.2rem; }
  .stat__num { font-size: 2rem; }
  .areas__list { grid-template-columns: 1fr; }
  .inovacao__visuals { order: -1; }
  .inov-pillars { grid-template-columns: 1fr; }
  .contato__img-strip { display: none; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }

  /* Portfólio — tighter vertical rhythm on mobile */
  .solucoes {
    padding-top: clamp(2.5rem, 5vw, 3.5rem);
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  }
  .solucoes__header { padding-bottom: 1.75rem; }
}

/* Tablet — hero refine */
@media (min-width: 768px) and (max-width: 899px) {
  .hero__inner {
    padding-top: calc(var(--nav-h) + 5vh);
  }
  .hero__left {
    width: 72%;
    max-width: 100%;
  }
  .hero__title { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
}

/* ═══════════════════════════════════════════════════
   SMOOTH CURSOR HINT
═══════════════════════════════════════════════════ */
@media (pointer: fine) {
  .sol-card, .dif-panel { cursor: default; }
}
