/* CF Com Design System - CSS Puro */

:root {
  /* Core brand colors - Modern dark & vibrant orange */
  --background: hsl(0, 0%, 98%);
  --foreground: hsl(0, 0%, 15%);
  
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(0, 0%, 15%);
  
  --popover: hsl(0, 0%, 100%);
  --popover-foreground: hsl(0, 0%, 15%);
  
  /* Deep black primary */
  --primary: hsl(0, 0%, 12%);
  --primary-foreground: hsl(0, 0%, 98%);
  
  /* Light gray secondary */
  --secondary: hsl(0, 0%, 96%);
  --secondary-foreground: hsl(0, 0%, 15%);
  
  /* Muted tones */
  --muted: hsl(0, 0%, 94%);
  --muted-foreground: hsl(0, 0%, 45%);
  
  /* Vibrant pink accent */
  --accent: rgb(248, 68, 129);
  --accent-foreground: hsl(0, 0%, 98%);
  
  --destructive: hsl(0, 84.2%, 60.2%);
  --destructive-foreground: hsl(0, 0%, 98%);
  
  --border: hsl(0, 0%, 88%);
  --input: hsl(0, 0%, 88%);
  --ring: rgb(248, 68, 129);
  
  --radius: 0.5rem;
  
  /* Custom tokens */
  --pink: rgb(248, 68, 129);
  --pink-light: rgb(250, 110, 160);
  --black: hsl(0, 0%, 12%);
  --black-light: hsl(0, 0%, 25%);
  --white: hsl(0, 0%, 98%);
  --gray-light: hsl(0, 0%, 96%);
}

/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: var(--border);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

/* Utilitários */
.container-wide {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container-wide {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-wide {
    padding: 0 2rem;
  }
}

.container-narrow {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container-narrow {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-narrow {
    padding: 0 2rem;
  }
}

.section-padding {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 6rem 0;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding: 8rem 0;
  }
}

/* Layout */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

/* Grid */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Espaçamento */
.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

/* Tipografia */
.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

@media (min-width: 768px) {
  .md\:text-4xl {
    font-size: 2.25rem;
  }
  
  .md\:text-5xl {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .lg\:text-5xl {
    font-size: 3rem;
  }
  
  .lg\:text-6xl {
    font-size: 3.75rem;
  }
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.text-center {
  text-align: center;
}

.leading-tight {
  line-height: 1.25;
}

.leading-relaxed {
  line-height: 1.75;
}

/* Cores */
.bg-background {
  background-color: var(--background);
}

.bg-primary {
  background-color: var(--primary);
}

.bg-secondary {
  background-color: var(--secondary);
}

.bg-card {
  background-color: var(--card);
}

.bg-accent {
  background-color: var(--accent);
}

.text-foreground {
  color: var(--foreground);
}

.text-primary-foreground {
  color: var(--primary-foreground);
}

.text-secondary-foreground {
  color: var(--secondary-foreground);
}

.text-muted-foreground {
  color: var(--muted-foreground);
}

.text-accent {
  color: var(--accent);
}

.text-primary-foreground\/80 {
  color: rgba(250, 250, 250, 0.8);
}

.text-primary-foreground\/70 {
  color: rgba(250, 250, 250, 0.7);
}

.text-primary-foreground\/50 {
  color: rgba(250, 250, 250, 0.5);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(250, 250, 250, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

header .container-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 768px) {
  header .container-wide {
    height: 5rem;
  }
}

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo .accent {
  color: var(--accent);
}

/* Navegação Desktop */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

.desktop-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(38, 38, 38, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}
.desktop-nav a:last-child {color:#fff;}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--accent);
}

/* Botão Mobile Menu */
.mobile-menu-button {
  display: block;
  padding: 0.5rem;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-button {
    display: none;
  }
}

/* Menu Mobile */
.mobile-menu {
  display: none;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.mobile-menu.open {
  display: block;
  max-height: 500px;
  opacity: 1;
}

.mobile-nav {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  color: rgba(38, 38, 38, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--accent);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: var(--black-light);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.btn-accent:hover {
  background-color: hsl(22, 96%, 45%);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid rgba(250, 250, 250, 0.3);
  color: var(--primary-foreground);
}

.btn-outline:hover {
  background-color: rgba(250, 250, 250, 0.1);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Cards */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(255, 107, 0, 0.3);
}

.card-content {
  padding: 1.5rem;
}

/* Hero Section (legado — páginas internas) */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(31, 31, 31, 0.95) 0%,
    rgba(31, 31, 31, 0.8) 50%,
    rgba(31, 31, 31, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 42rem;
}

.hero-badge {
  display: inline-block;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

/* Hero Editorial — home */
.hero-editorial {
  position: relative;
  padding: 3rem 0 4rem;
  background-color: hsl(0, 0%, 96%);
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-editorial {
    padding: 4rem 0 6rem;
  }
}

@media (min-width: 1024px) {
  .hero-editorial {
    min-height: calc(100vh - 5rem);
    display: flex;
    align-items: center;
    padding: 5rem 0;
  }
}

.hero-editorial-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-editorial-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem 4rem;
  }
}

/* Composição visual: tipografia + arco + figura */
.hero-editorial-composition {
  position: relative;
  min-height: 22rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-editorial-composition {
    min-height: 28rem;
  }
}

@media (min-width: 1024px) {
  .hero-editorial-composition {
    min-height: 34rem;
  }
}

.hero-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 0.5rem;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.hero-watermark-word {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(3.5rem, 11vw, 7.5rem);
  font-weight: 200;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.07);
}

.hero-watermark-word--outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.14);
  margin-top: -0.05em;
}

.hero-orbit {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 26rem);
  z-index: 2;
}

@media (min-width: 768px) {
  .hero-orbit {
    width: min(100%, 32rem);
    top: 4%;
  }
}

.hero-orbit-arc {
  width: 100%;
  height: auto;
  color: rgba(0, 0, 0, 0.22);
}

.hero-orbit-labels {
  list-style: none;
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
}

.hero-orbit-labels li {
  position: absolute;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.hero-orbit-labels li:nth-child(1) { left: 8%;  top: 78%; }
.hero-orbit-labels li:nth-child(2) { left: 22%; top: 38%; }
.hero-orbit-labels li:nth-child(3) { left: 38%; top: 14%; }
.hero-orbit-labels li:nth-child(4) { left: 50%; top: 6%; }
.hero-orbit-labels li:nth-child(5) { left: 62%; top: 14%; }
.hero-orbit-labels li:nth-child(6) { left: 78%; top: 38%; }
.hero-orbit-labels li:nth-child(7) { left: 92%; top: 78%; }

.hero-orbit-labels__peak {
  font-weight: 600;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .hero-orbit-labels li {
    font-size: 0.625rem;
  }
}

.hero-figure {
  position: relative;
  z-index: 3;
  margin: 0;
  width: min(72%, 16rem);
  align-self: flex-end;
}

@media (min-width: 768px) {
  .hero-figure {
    width: min(68%, 20rem);
  }
}

@media (min-width: 1024px) {
  .hero-figure {
    width: min(62%, 22rem);
  }
}

.hero-figure-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 22rem;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%) contrast(1.08);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}

@media (min-width: 768px) {
  .hero-figure-img {
    max-height: 26rem;
  }
}

/* Conteúdo editorial */
.hero-editorial-content {
  max-width: 34rem;
}

@media (min-width: 1024px) {
  .hero-editorial-content {
    padding-top: 2rem;
  }
}

.hero-eyebrow {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 1.25rem;
}

.hero-editorial-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--foreground);
  margin-bottom: 2rem;
}

.hero-editorial-title em {
  font-style: italic;
  color: var(--foreground);
}

.hero-editorial-blocks {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.hero-editorial-block {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  align-items: start;
}

.hero-block-rule {
  display: block;
  width: 2rem;
  height: 1px;
  margin-top: 0.85rem;
  background: linear-gradient(to right, var(--accent) 0%, var(--accent) 35%, rgba(0, 0, 0, 0.15) 35%);
}

.hero-editorial-block p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted-foreground);
  margin: 0;
}

.hero-editorial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-ghost {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-ghost:hover {
  background-color: var(--card);
  border-color: rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

footer .container-wide {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-section h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section p {
  font-size: 0.875rem;
  color: rgba(250, 250, 250, 0.7);
  line-height: 1.75;
}

.footer-section nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-section nav a {
  font-size: 0.875rem;
  color: rgba(250, 250, 250, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section nav a:hover {
  color: var(--accent);
}

.footer-section .contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(250, 250, 250, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section .contact-item:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: rgba(250, 250, 250, 0.7);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 250, 250, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(250, 250, 250, 0.5);
}

footer .logo {color:#fff;}

/* Formulários */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  background-color: var(--background);
  border: 1px solid var(--input);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.1);
}

.form-textarea {
  resize: none;
  min-height: 120px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 1000;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-content strong {
  display: block;
  margin-bottom: 0.25rem;
}

.toast-content p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Animações */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Utilitários */
.hidden {
  display: none;
}

@media (min-width: 768px) {
  .md\:block {
    display: block;
  }
  
  .md\:flex {
    display: flex;
  }
  
  .md\:hidden {
    display: none;
  }
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-10 {
  z-index: 10;
}

.overflow-hidden {
  overflow: hidden;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9999px;
}

/* Espaçamento adicional */
.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.pt-16 {
  padding-top: 4rem;
}

@media (min-width: 768px) {
  .md\:pt-20 {
    padding-top: 5rem;
  }
}

main {
  padding-top: 4rem;
}

@media (min-width: 768px) {
  main {
    padding-top: 5rem;
  }
}

/* Ícones SVG */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-lg {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-xl {
  width: 1.75rem;
  height: 1.75rem;
}

/* Responsive utilities */
@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }
}

/* Hero title responsive (legado) */
@media (min-width: 1400px) {
  .hero-content .hero-title {
    font-size: 3.75rem !important;
  }
}

@media (max-width: 767px) {
  .hero-orbit-labels li:nth-child(3),
  .hero-orbit-labels li:nth-child(5) {
    display: none;
  }
}

/* Página de Clientes */
.clients-page-header {
  padding: 3rem 0 2rem;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .clients-page-header {
    padding: 4rem 0 2.5rem;
  }
}

.clients-page-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.clients-page-intro {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.7;
  text-align: center;
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 0 auto;
}

.clients-segments-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.clients-segments-nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.875rem 0;
  margin: 0;
  justify-content: center;
}

.clients-segments-nav-list a {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.clients-segments-nav-list a:hover {
  color: var(--foreground);
}

.clients-page-body {
  padding: 3rem 0 5rem;
  background-color: var(--background);
}

.clients-segment + .clients-segment {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
}

.clients-segment-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--foreground);
  margin-bottom: 2rem;
}

.clients-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  background-color: var(--card);
}

@media (min-width: 640px) {
  .clients-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .clients-logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .clients-logo-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.clients-logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 6.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  margin: -1px 0 0 -1px;
  background-color: var(--card);
  transition: background-color 0.2s;
}

.clients-logo-cell:hover {
  background-color: var(--secondary);
}

.clients-logo-img {
  display: block;
  max-width: 100%;
  max-height: 3.5rem;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: filter 0.25s, opacity 0.25s;
}

.clients-logo-cell:hover .clients-logo-img {
  filter: grayscale(0%);
  opacity: 1;
}

.clients-logo-fallback {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--muted-foreground);
  line-height: 1.4;
}

.clients-empty {
  text-align: center;
  color: var(--muted-foreground);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 32rem;
  margin: 2rem auto 0;
}

.clients-empty code {
  font-size: 0.875rem;
  background-color: var(--secondary);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
}
