/* Cosmo design tokens (base page's compiled Tailwind CSS is a static snapshot with
   no live build step, so new brand colors/gradients are implemented here as plain
   CSS rather than as new Tailwind arbitrary-value classes that would never compile) */
:root {
  --c-black: #000000;
  --c-white: #F7F7F7;
  --c-magenta: #C463CC;
  --c-violeta: #8365F0;
  --c-azul: #36C8FF;
  --c-tiffany: #20D9D5;
  --c-amarelo: #EAE579;
  --c-coral: #DE8B7E;
  --c-gradient: linear-gradient(120deg, #C463CC, #8365F0, #36C8FF, #20D9D5, #EAE579, #DE8B7E);
}

/* Base type + surface: Inter for body copy, Manrope for headings and metrics */
html, body { background: var(--c-black); color: var(--c-white); }
body { font-family: 'Inter', sans-serif; }
h1, h2, h3 { font-family: 'Manrope', sans-serif; }
.cosmo-heading-font { font-family: 'Manrope', sans-serif; }
.cosmo-display-giga { font-family: 'Lexend Giga', sans-serif; }
::selection { background: var(--c-violeta); color: #000; }

/* Focus ring color, plugs into Tailwind's existing focus:ring-2 box-shadow mechanism */
.cosmo-ring { --tw-ring-color: var(--c-azul); }
.cosmo-ring-offset-light { --tw-ring-offset-color: var(--c-white); }

/* Signature gradient: text clip for flagship headline/number/wordmark moments */
.cosmo-grad-text {
  background: var(--c-gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.cosmo-stat { font-family: 'Lexend Giga', sans-serif; }

/* Signature gradient: primary buttons (header CTA, mobile CTA) */
.cosmo-btn-primary {
  background: var(--c-gradient);
  background-size: 200% 200%;
  background-position: 0% 50%;
  transition: background-position .5s ease, box-shadow .3s ease;
}
.cosmo-btn-primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 0 30px -6px rgba(131, 101, 240, .65), 0 0 60px -12px rgba(54, 200, 255, .45);
}

/* Signature gradient: full-bleed protagonist sections (final CTA) and featured card */
.cosmo-section-gradient { background: var(--c-gradient); }
.cosmo-contact-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.cosmo-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: rgba(0, 0, 0, .68);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}
.cosmo-whatsapp-link svg {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 1.35rem;
  fill: currentColor;
}
.cosmo-whatsapp-link:hover { color: #000; }
.cosmo-whatsapp-link:focus-visible { outline: 2px solid #000; outline-offset: 5px; }
@media (min-width: 640px) {
  .cosmo-contact-section { padding-top: 5rem; padding-bottom: 5rem; }
}
.cosmo-card-gradient { background: var(--c-gradient); border-color: transparent; }
.cosmo-work-format-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #000;
  color: var(--c-white);
  transition: border-color .45s ease, color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.cosmo-work-format-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c-gradient);
  opacity: 0;
  transition: opacity .45s ease;
}
.cosmo-work-format-card:hover {
  border-color: transparent;
  color: #000;
  transform: translateY(-4px);
  box-shadow: 0 18px 45px -25px rgba(54, 200, 255, .75);
}
.cosmo-work-format-card:hover::before { opacity: 1; }
.cosmo-work-format-card:hover p { color: rgba(0, 0, 0, .65); }
.cosmo-work-format-card:hover p:first-child,
.cosmo-work-format-card:hover p:last-child { color: rgba(0, 0, 0, .55); }

/* Carefully balanced, continuously moving client-logo row */
.cosmo-client-marquee-window { overflow: hidden; }
.cosmo-client-marquee-track {
  display: flex;
  width: max-content;
  animation: cosmo-client-scroll 28s linear infinite;
}
.cosmo-client-logo-list {
  display: flex;
  align-items: center;
  width: max-content;
  gap: .75rem;
  padding-right: .75rem;
}
.cosmo-client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 clamp(10rem, 16vw, 14rem);
  height: 5rem;
  padding: .5rem 1rem;
}
.cosmo-client-logo img {
  width: auto;
  max-width: 9rem;
  height: auto;
  max-height: 2.65rem;
  object-fit: contain;
  filter: grayscale(1) brightness(1.65);
  opacity: .72;
  transition: filter .35s ease, opacity .35s ease, transform .35s ease;
}
.cosmo-client-logo:hover img { filter: none; opacity: 1; transform: scale(1.04); }
.cosmo-client-logo-pequenos img { max-width: 8.5rem; max-height: 2.4rem; }
.cosmo-client-logo-serasa img {
  max-width: 10.25rem;
  max-height: 4.75rem;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: .9;
}
.cosmo-client-logo-serasa { height: 5.5rem; }
.cosmo-client-logo-vertical { height: 6rem; }
.cosmo-client-logo-vertical img { max-height: 4.65rem; max-width: 3.95rem; }
.cosmo-client-logo-moradavi img { max-width: 11.85rem; max-height: 3.5rem; }
.cosmo-client-logo-educar img { max-width: 10.9rem; max-height: 3.2rem; }
.cosmo-client-logo-ganesha img { max-width: 8.75rem; max-height: 2.4rem; }
.cosmo-client-logo-herself img,
.cosmo-client-logo-herself:hover img { max-width: 8.5rem; max-height: 1.8rem; filter: invert(1); }
.cosmo-client-logo-enap img { max-width: 8.5rem; max-height: 2.5rem; }
@keyframes cosmo-client-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .cosmo-client-marquee-track { animation: none; } }

/* Monochromatic secondary: testimonial section (violeta) */
.cosmo-section-violeta { background: var(--c-violeta); }

/* Institutional light surfaces */
.cosmo-section-light { background: var(--c-white); }

/* Mobile nav overlay */
.cosmo-menu-bg { background: rgba(0, 0, 0, .98); }

/* Header scrolled state (swaps the old bg-[#111213]/90 toggle) */
.cosmo-header-scrolled { background: rgba(0, 0, 0, .9); }
.desktop-nav-link { font-size: 1.05rem; }

/* Hero: holographic tint over the portrait + decorative glow blobs */
.cosmo-hero-tint { background: var(--c-gradient); mix-blend-mode: color; opacity: .45; }
.cosmo-hero-glow { position: absolute; border-radius: 9999px; filter: blur(120px); pointer-events: none; background: var(--c-gradient); }
.cosmo-hero-title { max-width: 40rem; }
.cosmo-hero-photo { object-position: center; }
.cosmo-hero-belief { font-size: 1.25rem; }
.cosmo-belief-section {
  background: #0d0e10;
  border-top: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.cosmo-belief-inner { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.cosmo-belief-copy { max-width: 80rem; font-size: 2rem; line-height: 1.2; }
.cosmo-belief-highlight {
  background: var(--c-gradient);
  color: #000;
}
.cosmo-belief-highlight-copy { font-size: 2.375rem; line-height: 1.15; }
.cosmo-belief-highlight-inner { padding-top: 1.75rem; padding-bottom: 1.75rem; }
.cosmo-proof-intro { padding-top: 4rem; padding-bottom: 2rem; }
.cosmo-proof-title {
  font-size: clamp(1.725rem, 2.59vw, 2.45rem);
  letter-spacing: -.025em;
  white-space: nowrap;
}
.cosmo-stat {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: .95;
  letter-spacing: -.055em;
  white-space: nowrap;
}
.cosmo-stat-label {
  max-width: 26rem;
  font-size: 1.125rem;
  line-height: 1.4;
}
.cosmo-stat-context { display: flex; align-items: flex-start; gap: .75rem; }
.cosmo-stat-context svg { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; margin-top: .15rem; color: var(--c-azul); stroke-width: 1.7; }
.cosmo-stats-grid { column-gap: 3rem; row-gap: 1.25rem; }
.cosmo-stat-item {
  border-top: 1px solid rgba(255, 255, 255, .18);
  min-height: 10rem;
  padding-top: 1.25rem;
}
.cosmo-team-image-wrap { aspect-ratio: 16 / 10; background: #111; }
.cosmo-team-image-wrap img { filter: saturate(1.28) contrast(1.08); }
.cosmo-team-title { margin-bottom: 4rem; }
.cosmo-team-grid {
  display: grid;
  gap: 2.5rem;
}
.cosmo-team-audience { border-image: var(--c-gradient) 1; }
@media (min-width: 640px) {
  .cosmo-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .cosmo-proof-title { white-space: normal; }
}
@media (min-width: 1024px) {
  .cosmo-team-title { margin-bottom: 5rem; }
  .cosmo-team-grid {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
    align-items: center;
    gap: 4rem;
  }
  .cosmo-team-copy { transform: translateY(-1.5rem); }
  .cosmo-hero-content { transform: translateY(-8.5rem); }
  .cosmo-hero-title { font-size: 4.75rem; max-width: 46rem; }
  .cosmo-hero-photo {
    width: 78%;
    margin-left: auto;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 28%);
    mask-image: linear-gradient(to right, transparent 0%, #000 28%);
  }
}

.cosmo-service-card { min-height: 22rem; }
.cosmo-service-title {
  font-size: clamp(1.25rem, 1.7vw, 1.625rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.cosmo-service-accordion-title { font-size: clamp(1.35rem, 1.8vw, 1.7rem); }
.cosmo-service-content {
  top: 5.5rem;
  bottom: auto;
}
@media (max-width: 767px) {
  .cosmo-service-title { white-space: normal; }
  .cosmo-service-card { min-height: auto; }
  .cosmo-service-content {
    position: relative;
    inset: auto;
    margin-top: 4rem;
  }
}

/* Capacidades cards: neutral dark surface, Cosmo color as accent (icon, number, hover border) */
.cosmo-card-magenta { background: #191a1b; border-color: rgba(255, 255, 255, .15); }
.cosmo-card-magenta:hover { border-color: var(--c-magenta); }
.cosmo-icon-magenta { color: var(--c-magenta); }
.cosmo-card-magenta .cosmo-card-num { color: var(--c-magenta); }

.cosmo-card-light { background: var(--c-white); border-color: rgba(0, 0, 0, .12); color: #000; }
.cosmo-card-light:hover { border-color: var(--c-violeta); }
.cosmo-icon-violeta { color: var(--c-violeta); }
.cosmo-card-light .cosmo-card-num { color: var(--c-violeta); }

.cosmo-card-teal { background: var(--c-white); border-color: rgba(0, 0, 0, .12); color: #000; }
.cosmo-card-teal:hover { border-color: var(--c-magenta); }
.cosmo-icon-tiffany { color: var(--c-magenta); }
.cosmo-card-teal .cosmo-card-num { color: var(--c-magenta); }

.cosmo-card-coral { background: #191a1b; border-color: rgba(255, 255, 255, .15); }
.cosmo-card-coral:hover { border-color: var(--c-coral); }
.cosmo-icon-coral { color: var(--c-coral); }
.cosmo-card-coral .cosmo-card-num { color: var(--c-coral); }

/* Eyebrow / kicker labels (previously orange) */
.cosmo-eyebrow { color: var(--c-violeta); }

/* Process step: active step number (previously orange) */
.cosmo-text-violeta { color: var(--c-violeta); }

/* Site-wide interactive hover accent (footer links, project-index rows) */
.cosmo-hover-azul:hover { color: var(--c-azul); }
.group:hover .cosmo-idx-sub { color: rgba(54, 200, 255, .75); }
.cosmo-idx-row:hover { color: var(--c-azul); }
