/* ============================================
   CIS Tecnologia — Home Page Styles
   ============================================ */

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero__bg {
  position: absolute; inset: 0;
  background: url('../assets/images/hero-familia.png') center right / cover no-repeat;
}

.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(8, 14, 28, 0.92) 0%,
    rgba(8, 14, 28, 0.78) 35%,
    rgba(8, 14, 28, 0.38) 60%,
    rgba(8, 14, 28, 0.08) 80%,
    transparent 100%
  );
}

.hero__content {
  position: relative; z-index: 2;
  text-align: left;
  width: 520px;
  flex-shrink: 0;
  padding-top: 80px;
  margin-left: max(48px, calc((100vw - 1280px) / 2 + 48px));
}

.hero__label {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: var(--space-3);
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: var(--space-6);
}

.hero h1 em {
  font-style: normal;
  color: #0C62A5;
}

.hero__sub {
  font-size: var(--text-base);
  font-weight: var(--fw-light, 300);
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  margin-bottom: var(--space-10);
}

.hero__btns {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: flex-start;
}

.btn--hero-primary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.65);
  border-radius: var(--radius-md);
  padding: 13px 32px;
  font-weight: var(--fw-semibold);
  font-size: var(--text-sm);
  transition: all 0.3s;
}
.btn--hero-primary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.9);
}

.btn--hero-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-8);
  font-weight: var(--fw-semibold);
  font-size: var(--text-base);
  transition: all 0.2s;
}
.btn--hero-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

@media (max-width: 768px) {
  .hero__bg {
    background-image: url('../assets/images/hero-familia%20mobile.jpg');
    background-position: center center;
  }
  .hero__overlay {
    background: linear-gradient(
      to bottom,
      rgba(8, 14, 28, 0.82) 0%,
      rgba(8, 14, 28, 0.70) 50%,
      rgba(8, 14, 28, 0.55) 100%
    );
  }
  .hero__content {
    width: 100%;
    margin-left: 0;
    padding: 100px 20px 48px;
    text-align: center;
  }
  .hero h1 {
    font-size: clamp(1.45rem, 5.5vw, 1.75rem);
    line-height: 1.25;
    margin-bottom: var(--space-4);
  }
  .hero__sub {
    font-size: var(--text-sm);
    margin-bottom: var(--space-8);
  }
  .hero__btns {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }
  .hero__btns a {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  .hero__label {
    display: block;
    text-align: center;
  }
  .hero__credential {
    text-align: center;
  }
}

/* === HERO CREDENTIAL === */
.hero__credential {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: var(--text-xs); font-weight: var(--fw-semibold);
  color: rgba(255,255,255,0.45);
  text-transform: uppercase; letter-spacing: 1.5px;
}

/* === PROOF BAR (PROVA SOCIAL) === */
.proof-bar {
  background: #fff;
  padding: 40px 0;
  overflow: hidden;
}
.proof-bar__inner {
  display: flex;
  align-items: center;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.proof-bar__label {
  flex-shrink: 0;
  font-size: var(--text-xs); font-weight: var(--fw-semibold);
  color: var(--color-text-muted);
  text-transform: uppercase; letter-spacing: var(--tracking-wider);
  line-height: 1.7;
  padding-right: var(--space-8);
  border-right: 1px solid var(--color-border);
  margin-right: var(--space-8);
}
.proof-bar__track-wrapper {
  overflow: hidden;
  flex: 1;
  min-width: 0;
  /* fade apenas no lado direito */
  -webkit-mask-image: linear-gradient(to right, black 0%, black 88%, transparent 100%);
  mask-image: linear-gradient(to right, black 0%, black 88%, transparent 100%);
}
.proof-bar__track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: marquee-logos 30s linear infinite;
}
.proof-bar__track:hover { animation-play-state: paused; }

@keyframes marquee-logos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.proof-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.proof-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 90px;
  opacity: 0.5;
  transition: opacity 0.25s, filter 0.25s;
  filter: grayscale(1);
}
.proof-logo:hover {
  opacity: 1;
  filter: grayscale(0);
}
.proof-logo svg,
.proof-logo img {
  height: auto;
  max-height: 80px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .proof-bar { padding: 40px 0; }
  .proof-bar__track { gap: 48px; animation-duration: 22s; }
  .proof-logo svg,
  .proof-logo img { max-height: 52px; max-width: 140px; }
}

/* === SEGMENTOS SECTION === */
.segmentos-section {
  background: #fff;
  padding: 64px 0 56px;
}
.segmentos-section .section-header__title { font-size: clamp(1.5rem, 1.3rem + 1.2vw, 2rem); }
.segmentos-header {
  text-align: center;
  margin-bottom: 40px;
}
.segmentos-header__sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
}
.segmentos-header h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.segmentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* Card */
.seg-card { display: block; }

.seg-card__img {
  position: relative;
  height: 420px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out);
}
.seg-card:hover .seg-card__img { transform: scale(1.02); }

.seg-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.78) 100%);
  border-radius: 16px;
  transition: background 0.4s;
}
.seg-card:hover .seg-card__overlay {
  background: linear-gradient(to bottom, transparent 20%, rgba(0,0,0,0.85) 100%);
}

/* Footer dentro do card: nome + botão */
.seg-card__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 28px 28px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.seg-card__name {
  color: #fff;
  font-size: clamp(1.35rem, 1.9vw, 1.65rem);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

/* CTA pill — dentro do card, sobre a imagem */
.seg-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1.5px solid rgba(255,255,255,0.65);
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: #fff;
  background: transparent;
  width: fit-content;
  transition: all 0.22s var(--ease-out);
}
.seg-card__cta svg {
  width: 15px; height: 15px;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.seg-card__cta:hover {
  background: #fff;
  border-color: #fff;
  color: #111;
}
.seg-card__cta:hover svg { transform: translateX(3px); }

@media (max-width: 1024px) {
  .segmentos-grid { grid-template-columns: 1fr; gap: 20px; }
  .seg-card__img { height: 340px; }
}
@media (max-width: 640px) {
  .segmentos-section { padding: 48px 0 40px; }
  .seg-card__img { height: 280px; }
}

/* === 4 CAMADAS === */
/* === CAMADAS SECTION (carousel) === */
.camadas-section {
  background: #fff;
  padding: 72px 0 56px;
}
.camadas-section__header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 52px;
}
.camadas-section__header h2 {
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-3);
}
.camadas-section__sub {
  font-size: clamp(0.9375rem, 1vw, 1.0625rem);
  font-weight: var(--fw-regular);
  color: var(--color-text-secondary);
  white-space: nowrap;
  line-height: 1;
}

/* Body: 2 colunas */
.camadas-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-12);
  min-height: 280px;
}

/* Carousel (coluna esquerda) */
.camadas-carousel {
  position: relative;
}

/* Slides */
.camadas-slide {
  display: none;
  padding: var(--space-2) 0;
}
.camadas-slide.is-active {
  display: block;
  animation: fadeSlide 0.4s var(--ease-out);
}
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.camadas-slide__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.camadas-slide__title {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}
.camadas-slide__desc {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 38ch;
}

/* Visual 3D estático (coluna direita) */
.camada-visual-3d {
  position: relative;
  width: 440px;
  height: 260px;
  margin: 0 auto;
  cursor: grab;
  user-select: none;
}
.camada-visual-3d.is-dragging { cursor: grabbing; }

.cvl {
  position: absolute;
  bottom: 0;
  border-radius: 16px;
  width: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 18px 20px;
  transform: perspective(900px) rotateY(-22deg);
  transform-origin: left center;
  /* Anima posição, cor, opacidade e sombra juntos */
  transition:
    left 0.5s var(--ease-out),
    height 0.5s var(--ease-out),
    background-color 0.5s var(--ease-out),
    color 0.5s var(--ease-out),
    opacity 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
}
.cvl span {
  font-size: 13px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Posições fixas — card de qualquer camada assume a posição ao girar */
.cvl[data-pos="0"] {
  left: 0; height: 250px;
  background: #074682; color: rgba(255,255,255,0.92);
  box-shadow: 8px 20px 48px rgba(7,70,130,0.28);
  opacity: 1; z-index: 4;
  transform: perspective(900px) rotateY(-22deg) translateY(-8px);
}
.cvl[data-pos="1"] {
  left: 80px; height: 232px;
  background: #1a6bb5; color: rgba(255,255,255,0.85);
  box-shadow: 6px 14px 32px rgba(7,70,130,0.18);
  opacity: 0.88; z-index: 3;
}
.cvl[data-pos="2"] {
  left: 158px; height: 214px;
  background: #c8ddf0; color: #074682;
  box-shadow: 4px 10px 20px rgba(7,70,130,0.10);
  opacity: 0.75; z-index: 2;
}
.cvl[data-pos="3"] {
  left: 234px; height: 196px;
  background: #e4f0f9; color: #074682;
  box-shadow: 2px 6px 12px rgba(7,70,130,0.06);
  opacity: 0.55; z-index: 1;
}

/* Nav: setas + dots */
.camadas-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
}
.camadas-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--color-text-secondary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.camadas-arrow svg { width: 18px; height: 18px; }
.camadas-arrow:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(7,70,130,0.25);
}

/* Dots */
.camadas-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
}
.camadas-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s;
}
.camadas-dot.is-active {
  background: var(--color-primary);
  width: 28px;
  border-radius: 5px;
}

@media (max-width: 900px) {
  .camadas-body { grid-template-columns: 1fr; }
  .camada-visual-3d { display: none; }
}
@media (max-width: 768px) {
  .camadas-section { padding: 48px 0 40px; }
  .camadas-arrow { display: none; }
  .camadas-nav { justify-content: center; }
}

/* === RESULTADOS (dark) === */
.resultados-section {
  background-color: #080a0f;
  background-image: radial-gradient(circle, rgba(100,181,246,0.13) 1px, transparent 1px);
  background-size: 28px 28px;
  padding: var(--space-20) 0;
}
.resultados__heading {
  color: #fff;
}

/* Grid */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}

/* Card */
.case-block {
  position: relative;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}
.case-block::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary-light) 0%, transparent 100%);
}
.case-block:hover {
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.07);
}

/* Label */
.case-block__label {
  display: block;
  font-size: var(--text-xs); font-weight: var(--fw-semibold);
  color: rgba(255,255,255,0.38);
  text-transform: uppercase; letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-5);
}

/* Número animado */
.case-block__metric { margin-bottom: var(--space-5); }
.case-block__num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 4.5vw, 4.5rem);
  font-weight: var(--fw-extrabold);
  color: #64B5F6;
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-2);
}
.case-block__stat {
  display: block;
  font-size: var(--text-sm); font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.42);
}

/* Divisor */
.case-block__divider {
  width: 36px; height: 1px;
  background: rgba(255,255,255,0.14);
  margin: var(--space-6) 0;
}

/* Texto */
.case-block__context {
  font-size: var(--text-sm); color: rgba(255,255,255,0.58);
  line-height: var(--leading-relaxed); margin-bottom: var(--space-4);
}
.case-block__result {
  font-size: var(--text-sm); font-weight: var(--fw-semibold);
  color: rgba(255,255,255,0.88); line-height: var(--leading-relaxed);
}

@media (max-width: 1024px) { .cases-grid { grid-template-columns: 1fr; } }

/* === CREDENCIAL === */
.credencial-section {
  background: #fff;
  padding: var(--space-20) 0;
}

/* Split 55/45 */
.credencial__split {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: var(--space-16);
  align-items: center;
}

/* Badge */
.credencial__badge {
  display: inline-block;
  font-size: var(--text-xs); font-weight: var(--fw-semibold);
  color: var(--color-primary);
  text-transform: uppercase; letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-5);
}

/* Âncora */
.credencial__anchor {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: var(--fw-semibold);
  color: var(--color-text-primary); line-height: var(--leading-snug);
  max-width: 52ch; margin-bottom: var(--space-5);
}

/* Label intro */
.credencial__intro {
  font-size: var(--text-xs); font-weight: var(--fw-semibold);
  color: var(--color-text-muted);
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: var(--space-6);
}

/* Itens */
.credencial__items {
  display: flex; flex-direction: column; gap: var(--space-5);
  margin-bottom: var(--space-8);
}
.credencial__item p {
  font-size: var(--text-sm); color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  padding-left: var(--space-5);
  border-left: 2px solid var(--color-border);
  margin: 0;
}

/* Frase final */
.credencial__close {
  font-size: var(--text-base); font-weight: var(--fw-medium);
  color: var(--color-text-primary); margin-bottom: var(--space-8);
}

/* CTA */
.credencial__cta { display: inline-flex; }

/* Direita — imagem */
.credencial__right { position: relative; }
.credencial__img-wrap { position: relative; }
.credencial__img {
  width: 100%; height: 500px; object-fit: cover;
  border-radius: var(--radius-2xl); display: block;
  box-shadow: 0 24px 60px rgba(7,70,130,0.13);
  filter: contrast(1.05) saturate(1.1) brightness(0.97);
}

/* Card flutuante */
.credencial__float-card {
  position: absolute; bottom: -20px; left: -24px;
  background: #fff; border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-6);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  border: 1px solid var(--color-border);
  display: flex; align-items: center; gap: var(--space-4);
}
.credencial__float-num {
  font-family: var(--font-heading);
  font-size: 2.75rem; font-weight: var(--fw-extrabold);
  color: var(--color-primary); line-height: 1;
}
.credencial__float-label {
  font-size: var(--text-sm); font-weight: var(--fw-medium);
  color: var(--color-text-secondary); line-height: var(--leading-snug);
}

@media (max-width: 1024px) {
  .credencial__split { grid-template-columns: 1fr; }
  .credencial__right { order: -1; }
  .credencial__img { height: 280px; }
  .credencial__float-card { bottom: -16px; left: 16px; }
}

/* === LOGOS === */
.logos-section { text-align: center; }
.logos-section__title {
  font-size: var(--text-sm); font-weight: var(--fw-semibold);
  color: var(--color-text-secondary);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: var(--space-8);
}
.logos-section__grid {
  min-height: 64px;
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-10); flex-wrap: wrap;
  color: var(--color-text-muted); font-size: var(--text-xs);
}

/* === CTA FINAL === */
.cta-section__sub {
  margin-top: var(--space-4);
  font-size: var(--text-sm); color: rgba(255,255,255,0.55);
}

/* === DIFFERENTIALS === */
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.diff-item { padding: var(--space-8) var(--space-6); border-radius: var(--radius-lg); transition: all var(--duration-base) var(--ease-out); }
.diff-item:hover { background: var(--color-bg-alt); }
.diff-item__icon {
  width: 48px; height: 48px; margin-bottom: var(--space-4);
  background: var(--color-accent); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.diff-item__icon svg { width: 24px; height: 24px; color: var(--color-primary); }
.diff-item h4 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.diff-item p { font-size: var(--text-sm); color: var(--color-text-secondary); }
@media (max-width: 1024px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .diff-grid { grid-template-columns: 1fr; } }

/* === STATS BAR === */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.stats-bar__item { text-align: center; padding: var(--space-6); }
.stats-bar__number {
  font-family: var(--font-heading); font-weight: var(--fw-extrabold);
  font-size: var(--text-4xl); color: #fff; line-height: 1;
}
.stats-bar__label { font-size: var(--text-sm); color: rgba(255,255,255,0.65); margin-top: var(--space-2); font-weight: var(--fw-medium); }
@media (max-width: 768px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } }

/* === TESTIMONIALS === */
.testimonial-card {
  background: var(--color-bg-white); border-radius: var(--radius-lg);
  padding: var(--space-8); border: 1px solid var(--color-border);
}
.testimonial-card__quote {
  font-size: var(--text-lg); font-style: italic;
  color: var(--color-text-primary); line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6); position: relative;
  padding-left: var(--space-6); border-left: 3px solid var(--color-primary);
}
.testimonial-card__author { display: flex; align-items: center; gap: var(--space-3); }
.testimonial-card__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-accent); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: var(--fw-bold);
  color: var(--color-primary); font-size: var(--text-lg);
}
.testimonial-card__name { font-weight: var(--fw-semibold); font-size: var(--text-sm); }
.testimonial-card__role { font-size: var(--text-xs); color: var(--color-text-muted); }

/* === CTA FINAL === */
.cta-section {
  background-color: #080a0f;
  background-image: radial-gradient(circle, rgba(100,181,246,0.11) 1px, transparent 1px);
  background-size: 28px 28px;
  padding: var(--space-16) 0; text-align: center; position: relative; overflow: hidden;
}

.cta-section .container { position: relative; z-index: 1; }

.cta-section h2 {
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: var(--fw-semibold);
  max-width: 54ch; margin: 0 auto var(--space-6);
  line-height: var(--leading-snug);
}

/* Subtexto */
.cta-section__sub {
  font-size: var(--text-base); color: rgba(255,255,255,0.62);
  max-width: 48ch; margin: 0 auto var(--space-8);
  line-height: var(--leading-relaxed);
}

/* Botão */
.cta-section__btn {
  position: relative; z-index: 1;
  background: #fff; color: var(--color-primary);
  display: inline-flex; align-items: center; gap: var(--space-2);
}
.cta-section__btn:hover {
  background: rgba(255,255,255,0.92); color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

/* Chips */
.cta-section__chips {
  display: flex; justify-content: center; align-items: center;
  gap: var(--space-5); margin-top: var(--space-6);
  flex-wrap: wrap;
}
.cta-chip {
  font-size: var(--text-xs); font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.52);
  letter-spacing: 0.01em;
}

/* === FEATURES (shared) === */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
@media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  padding: var(--space-8); border-radius: var(--radius-lg);
  border: 1px solid var(--color-border); transition: all var(--duration-base) var(--ease-out);
}
.feature-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.feature-card__icon {
  width: 52px; height: 52px; margin-bottom: var(--space-4);
  background: var(--color-accent); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.feature-card__icon svg { width: 24px; height: 24px; color: var(--color-primary); }
.feature-card h4 { font-size: var(--text-lg); margin-bottom: var(--space-3); }
.feature-card p { font-size: var(--text-sm); color: var(--color-text-secondary); }

/* === CASE CARD === */
.case-card {
  background: var(--color-bg-white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--color-border);
  transition: all var(--duration-base) var(--ease-out);
}
.case-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.case-card__badge {
  display: inline-block; padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs); font-weight: var(--fw-semibold);
  background: var(--color-accent); color: var(--color-primary);
  border-radius: var(--radius-full); margin-bottom: var(--space-3);
}
.case-card__body { padding: var(--space-6); }
.case-card h4 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.case-card p { font-size: var(--text-sm); color: var(--color-text-secondary); }
.case-card__stats {
  display: flex; gap: var(--space-6); margin-top: var(--space-4);
  padding-top: var(--space-4); border-top: 1px solid var(--color-border);
}
.case-card__stat-value { font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: var(--text-xl); color: var(--color-primary); }
.case-card__stat-label { font-size: var(--text-xs); color: var(--color-text-muted); }

/* === PAGES COMMON === */
.page-content { padding: var(--space-16) 0; }
.page-content--alt { background: var(--color-bg-alt); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: var(--space-8); } }

.pain-point {
  display: flex; gap: var(--space-4); padding: var(--space-5);
  border-radius: var(--radius-lg); transition: background 0.2s;
}
.pain-point:hover { background: var(--color-bg-alt); }
.pain-point__number {
  flex-shrink: 0; width: 36px; height: 36px;
  border-radius: 50%; background: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: var(--fw-bold);
  font-size: var(--text-sm); color: var(--color-primary);
}
.pain-point h4 { font-size: var(--text-base); margin-bottom: var(--space-1); }
.pain-point p { font-size: var(--text-sm); color: var(--color-text-secondary); }

/* === CONTACT FORM === */
.contact-form { max-width: 600px; }
.form-group { margin-bottom: var(--space-5); }
.form-group label {
  display: block; font-size: var(--text-sm); font-weight: var(--fw-medium);
  margin-bottom: var(--space-2); color: var(--color-text-primary);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  font-size: var(--text-base); color: var(--color-text-primary);
  background: var(--color-bg-white); transition: border-color 0.2s;
  min-height: 48px;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(7,70,130,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* === BLOG === */
.blog-card { background: var(--color-bg-white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border); transition: all var(--duration-base) var(--ease-out); }
.blog-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.blog-card__img { height: 200px; background: var(--color-bg-alt); }
.blog-card__body { padding: var(--space-6); }
.blog-card__category { font-size: var(--text-xs); font-weight: var(--fw-semibold); color: var(--color-primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: var(--space-2); }
.blog-card h4 { font-size: var(--text-lg); margin-bottom: var(--space-3); }
.blog-card p { font-size: var(--text-sm); color: var(--color-text-secondary); }

/* ============================================
   MOBILE — Ajustes gerais (max 640px)
   ============================================ */
@media (max-width: 640px) {

  /* --- Títulos de seção --- */
  h2 { font-size: clamp(1.35rem, 5vw, 1.65rem); }
  h3 { font-size: clamp(1.15rem, 4vw, 1.35rem); }

  .section-header { margin-bottom: var(--space-8); }
  .section-header__title { font-size: clamp(1.35rem, 5vw, 1.65rem); line-height: 1.25; }
  .section-header__desc { font-size: var(--text-sm); }
  .section-header__label { font-size: 10px; }

  /* --- Padding das seções --- */
  .segmentos-section { padding: 40px 0 36px; }
  .camadas-section   { padding: 40px 0 36px; }
  .resultados-section { padding: 40px 0; }
  .credencial-section { padding: 40px 0; }
  .cta-section { padding: 40px 0; }
  .logos-section { padding: 32px 0; }

  /* --- Prova Social (resultados dark) --- */
  .case-block__num { font-size: clamp(2rem, 8vw, 2.75rem); }

  /* --- Credencial / Rafael --- */
  .credencial__anchor { font-size: 1rem; }
  .credencial__img { height: 220px; }
  .credencial__float-card { left: 50%; transform: translateX(-50%); bottom: -20px; white-space: nowrap; }

  /* --- Segmentos --- */
  .seg-card__img { height: 240px; }
  .seg-card__name { font-size: 1.15rem; }

  /* --- CTA final --- */
  .cta-section h2 { font-size: clamp(1.15rem, 4.5vw, 1.4rem); }
  .cta-section__sub { font-size: var(--text-sm); }
  .cta-section__chips { gap: var(--space-3); }

  /* --- Camadas carousel --- */
  .camadas-slide__title { font-size: clamp(1.35rem, 5vw, 1.65rem); }
  .camadas-slide__desc { font-size: var(--text-sm); max-width: 100%; }

  /* --- Stats bar --- */
  .stats-bar__number { font-size: var(--text-3xl); }
  .stats-bar__label { font-size: var(--text-xs); }
}
.blog-card__meta { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-3); }
