/*
  COBRAIT_STYLE_DOC
  Objetivo: Centralizar estilos visuais e comportamento responsivo da interface.
  Organizacao:
  - Variaveis e base tipografica
  - Componentes reutilizaveis (botoes, cards, cabecalho, rodape)
  - Regras responsivas por breakpoint
  Manutencao:
  - Reutilizar classes existentes antes de criar novas variantes.
  - Evitar conflitos de especificidade; preferir classes sem encadeamento excessivo.
  - Validar mudanças em desktop e mobile após alterações de layout.
*/
/* sync: github-desktop-update */
/* Global visual enhancements across all public pages */
:root {
  --site-bg: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-soft: #dbe3ee;
  --brand-start: #4f46e5;
  --brand-end: #7c3aed;
  --brand-shadow: rgba(79, 70, 229, 0.28);
  --ring: rgba(79, 70, 229, 0.24);
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --elev-1: 0 10px 30px rgba(15, 23, 42, 0.08);
  --elev-2: 0 20px 44px rgba(15, 23, 42, 0.12);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  color: var(--text-main);
  line-height: 1.6;
  background:
    radial-gradient(950px 430px at 10% -20%, rgba(79, 70, 229, 0.08), transparent 65%),
    radial-gradient(900px 420px at 95% 0%, rgba(14, 165, 233, 0.06), transparent 62%),
    var(--site-bg);
}

::selection {
  background: rgba(79, 70, 229, 0.2);
  color: var(--text-main);
}

.container {
  width: min(1200px, calc(100% - 40px));
}

.section,
.what-we-do,
.book-contact,
.servicos-page .services,
.servicos-page .why {
  background: transparent;
}

.site-header {
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

a {
  text-underline-offset: 3px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  opacity: 0.9;
}

.btn,
.hero-cta,
.submit-btn,
button[type="submit"] {
  border-radius: var(--radius-md) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn--primary,
.hero-cta,
.submit-btn,
button[type="submit"] {
  background: linear-gradient(135deg, var(--brand-start), var(--brand-end)) !important;
  box-shadow: 0 12px 30px var(--brand-shadow);
}

.btn--primary:hover,
.hero-cta:hover,
.submit-btn:hover,
button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px var(--brand-shadow);
}

.btn--outline {
  border-color: color-mix(in srgb, var(--brand-start) 50%, #ffffff 50%);
  color: var(--brand-start);
  background: rgba(255, 255, 255, 0.75);
}

.service-card,
.cob-card,
.why-card,
.form-card,
.hero-card,
.hero-hq,
.contact-video,
.social-visual,
.pricing-card,
.plan-card,
.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--elev-1);
}

.service-card:hover,
.cob-card:hover,
.why-card:hover,
.pricing-card:hover,
.plan-card:hover,
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--elev-2);
}

img {
  border-radius: 10px;
}

svg,
canvas {
  max-width: 100%;
  height: auto;
}

iframe,
video {
  max-width: 100%;
}

input,
select,
textarea {
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: var(--surface);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

button,
input,
select,
textarea {
  font: inherit;
}

.hero-title,
.section-title,
.contact-title,
.what-we-do__title,
h1,
h2,
h3 {
  text-wrap: balance;
}

p,
.hero-sub,
.section-lead,
.service-card__desc,
.what-we-do__description,
.contact-bullets li,
.form-sub {
  color: var(--text-muted);
}

main section {
  scroll-margin-top: 110px;
}

.hero {
  min-height: 100svh;
}

.site-nav,
.dropdown-content,
.language-dropdown-content {
  -webkit-overflow-scrolling: touch;
}

.site-header .logo-text-brand,
.site-header .brand {
  flex-shrink: 0 !important;
}

.site-header .logo-text-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
}

.site-header .brand-logo-image {
  display: block;
  width: auto;
  height: clamp(44px, 4.6vw, 64px);
  object-fit: contain;
}

.site-header .logo-text-main {
  white-space: nowrap !important;
}

.site-header .site-nav .mobile-nav-cta {
  display: none !important;
}

.footer-brand,
.footer-col,
.footer-meta,
.service-card,
.cob-card,
.why-card,
.pricing-card,
.plan-card,
.job-card,
.tech-card,
.contact-card,
.book-contact-grid > *,
.hero-grid > *,
.about-hero-grid > *,
.social-inner > *,
.cob-services__grid > * {
  min-width: 0;
}


@media (max-width: 980px) {
  .container {
    width: min(1200px, calc(100% - 28px));
  }

  .site-header {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* Tablet hardening */
@media (max-width: 1024px) {
  .about-hero-grid,
  .split,
  .deliver-kpi,
  .book-contact-grid,
  .pricing-examples__head,
  .pricing-split,
  .seed-grid,
  .cta-grid,
  .social-inner,
  .cob-services__grid,
  .hero-grid,
  .csd-hero-grid,
  .csd-grid,
  .csd-cols,
  .two-col,
  .deliverables,
  .excel-grid,
  .approach-grid {
    grid-template-columns: 1fr !important;
  }

  .tech-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .about-hero-grid > *,
  .split > *,
  .deliver-kpi > *,
  .book-contact-grid > *,
  .pricing-examples__head > *,
  .pricing-split > *,
  .seed-grid > *,
  .cta-grid > *,
  .social-inner > *,
  .cob-services__grid > *,
  .hero-grid > *,
  .csd-hero-grid > *,
  .csd-grid > *,
  .csd-cols > *,
  .two-col > *,
  .deliverables > *,
  .excel-grid > *,
  .approach-grid > * {
    min-width: 0;
  }
}

/* Mobile hardening */
@media (max-width: 960px) {
  body {
    background:
      radial-gradient(720px 320px at 12% -12%, rgba(79, 70, 229, 0.1), transparent 65%),
      radial-gradient(720px 320px at 92% 0%, rgba(14, 165, 233, 0.08), transparent 62%),
      var(--site-bg);
    overscroll-behavior-y: none;
  }

  body.cobrait-nav-open {
    overflow: hidden;
  }

  body.cobrait-nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(2px);
    z-index: 10010;
    pointer-events: none;
  }

  .site-header {
    padding: 12px 0 !important;
    z-index: 10040 !important;
    isolation: isolate;
  }

  .site-header .header-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .site-header .brand,
  .site-header .logo-text-brand {
    min-width: 0 !important;
    max-width: min(100%, calc(100vw - 124px)) !important;
  }

  .site-header .brand-logo-image {
    height: clamp(42px, 9vw, 56px);
    max-width: 100%;
  }

  .site-header .logo-text-main {
    font-size: clamp(1.5rem, 7.2vw, 1.9rem) !important;
    line-height: 0.92 !important;
    letter-spacing: 0 !important;
  }

  .site-header .logo-text-tagline {
    font-size: 0.64rem !important;
    letter-spacing: 0.22em !important;
  }

  .site-header .nav-toggle-btn {
    display: inline-flex !important;
    order: 3;
    position: relative !important;
    margin: 0 !important;
    width: 44px !important;
    height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: end !important;
    border-radius: 16px !important;
    border: 1px solid rgba(203, 213, 225, 0.92) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)) !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08) !important;
  }

  .site-header .nav-toggle-btn span {
    position: absolute !important;
    left: 50% !important;
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, var(--brand-start), #0f172a) !important;
    transform-origin: center !important;
    transition: transform 0.24s ease, opacity 0.2s ease, width 0.2s ease !important;
  }

  .site-header .nav-toggle-btn span:nth-child(1) {
    transform: translate(-50%, -6px) !important;
  }

  .site-header .nav-toggle-btn span:nth-child(2) {
    transform: translate(-50%, 0) !important;
  }

  .site-header .nav-toggle-btn span:nth-child(3) {
    transform: translate(-50%, 6px) !important;
  }

  .site-header .nav-toggle:checked + .nav-toggle-btn {
    border-color: rgba(129, 140, 248, 0.5) !important;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.14), rgba(14, 165, 233, 0.12)) !important;
    box-shadow: 0 16px 30px rgba(79, 70, 229, 0.18) !important;
  }

  .site-header .nav-toggle:checked + .nav-toggle-btn span:nth-child(1) {
    transform: translate(-50%, 0) rotate(45deg) !important;
  }

  .site-header .nav-toggle:checked + .nav-toggle-btn span:nth-child(2) {
    opacity: 0 !important;
    width: 0 !important;
  }

  .site-header .nav-toggle:checked + .nav-toggle-btn span:nth-child(3) {
    transform: translate(-50%, 0) rotate(-45deg) !important;
  }

  .site-header .header-right {
    order: 2;
    width: auto !important;
    margin: 0 !important;
    min-width: 0 !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-self: end !important;
    gap: 8px !important;
  }

  .site-header .header-cta {
    display: none !important;
    width: 100% !important;
  }

  .site-header .header-cta .btn {
    width: 100% !important;
    max-width: none !important;
    justify-content: center !important;
  }

  .site-header .language-dropdown {
    width: auto !important;
    min-width: 0 !important;
  }

  .site-header .language-dropdown-btn {
    width: auto !important;
    min-width: 0 !important;
    max-width: min(120px, calc(100vw - 184px)) !important;
    min-height: 42px !important;
    padding: 8px 10px !important;
    justify-content: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }

  .site-header .language-dropdown-btn .lang-code,
  .site-header .language-dropdown-btn .dropdown-arrow {
    flex-shrink: 0;
  }

  .site-header .language-dropdown-content {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: auto !important;
    width: min(280px, calc(100vw - 28px)) !important;
    max-width: min(280px, calc(100vw - 28px)) !important;
    margin-top: 0 !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    box-shadow: var(--elev-2) !important;
    border: 1px solid var(--border-soft) !important;
    border-radius: 16px !important;
    background: var(--surface) !important;
    z-index: 10030 !important;
  }

  .site-header .language-dropdown.is-open .language-dropdown-content,
  .site-header .language-dropdown:focus-within .language-dropdown-content {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  .site-nav {
    width: 100%;
    max-height: calc(100vh - 72px);
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .site-nav ul,
  .site-nav li,
  .dropdown,
  .language-dropdown,
  .header-right {
    width: 100%;
  }

  .site-nav a,
  .dropdown-item,
  .language-option,
  .language-dropdown-btn {
    min-height: 46px;
    display: flex !important;
    align-items: center;
  }

  .dropdown-content,
  .language-dropdown-content {
    max-width: min(100vw - 32px, 360px);
    overflow: auto;
  }

  .site-nav .dropdown-content,
  .site-nav .language-dropdown-content {
    width: 100% !important;
    max-width: 100% !important;
  }

  .site-header .site-nav {
    order: 4;
    position: fixed !important;
    top: calc(var(--cobrait-mobile-header-h, 72px) + 10px) !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 18px !important;
    width: auto !important;
    height: calc(100dvh - var(--cobrait-mobile-header-h, 72px) - 28px) !important;
    max-height: calc(100dvh - var(--cobrait-mobile-header-h, 72px) - 28px) !important;
    padding: 18px 16px 18px !important;
    border-radius: 26px !important;
    border: 1px solid var(--border-soft) !important;
    background:
      radial-gradient(320px 180px at 0% 0%, rgba(79, 70, 229, 0.1), transparent 70%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.98)) !important;
    backdrop-filter: blur(18px) saturate(120%) !important;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18) !important;
    transform: translateY(-14px) scale(0.98) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    z-index: 10020 !important;
  }

  .site-header .site-nav::before {
    content: "";
    display: block;
    height: 1px;
    margin-bottom: 12px;
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.3), rgba(14, 165, 233, 0.08));
  }

  .site-header .nav-toggle:checked ~ .site-nav {
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .site-header .site-nav > ul {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    min-height: 100%;
  }

  .site-header .site-nav > ul > li > a {
    min-height: 52px !important;
    padding: 0 18px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(226, 232, 240, 0.92) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96)) !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05) !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    letter-spacing: 0;
  }

  .site-header .site-nav > ul > li > a::after,
  .site-header .site-nav .dropdown-item::after {
    display: none !important;
  }

  .site-header .site-nav > ul > li > a:hover {
    transform: translateY(-1px);
  }

  .site-header .site-nav .dropdown > a {
    position: relative;
    cursor: pointer !important;
  }

  .site-header .site-nav .dropdown > a .dropdown-arrow {
    font-size: 0.82rem !important;
    transition: transform 0.22s ease, color 0.22s ease;
    color: var(--text-muted) !important;
  }

  .site-header .site-nav .dropdown.is-open > a {
    border-color: rgba(129, 140, 248, 0.4) !important;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(14, 165, 233, 0.08)) !important;
    box-shadow: 0 16px 28px rgba(79, 70, 229, 0.12) !important;
  }

  .site-header .site-nav .dropdown.is-open > a .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--brand-start) !important;
  }

  .site-header .nav-toggle:checked ~ .header-right {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    z-index: auto !important;
    width: auto !important;
    align-items: center !important;
    justify-self: end !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  .site-header .site-nav ul {
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .site-header .site-nav li {
    width: 100% !important;
  }

  .site-header .site-nav a {
    min-height: 50px;
    color: var(--text-main) !important;
    justify-content: space-between;
  }

  .site-header .site-nav .dropdown:not(.is-open) > .dropdown-content {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border-left: 0 !important;
  }

  .site-header .site-nav .dropdown.is-open > .dropdown-content {
    position: static !important;
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 10px 0 2px !important;
    padding: 0 !important;
    border-left: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    gap: 10px !important;
    max-height: none !important;
  }

  .site-header .site-nav .dropdown-item {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 12px !important;
    padding: 14px !important;
    margin-bottom: 0 !important;
    transform: none !important;
    border-radius: 16px !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    background: rgba(255, 255, 255, 0.78) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06) !important;
  }

  .site-header .site-nav .dropdown-item svg {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 8px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(14, 165, 233, 0.12)) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65) !important;
  }

  .site-header .site-nav .dropdown-item-content h4 {
    font-size: 0.98rem !important;
    margin-bottom: 4px !important;
  }

  .site-header .site-nav .dropdown-item-content p {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    color: var(--text-muted) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .site-header .site-nav .mobile-nav-cta {
    display: block !important;
    margin-top: auto !important;
    padding-top: 8px !important;
  }

  .site-header .site-nav .mobile-nav-cta-link {
    min-height: 56px !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, var(--brand-start), var(--brand-end)) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    box-shadow: 0 18px 36px rgba(79, 70, 229, 0.22) !important;
  }

  .site-header .site-nav .mobile-nav-cta-link::after {
    display: none !important;
  }

  .site-header .site-nav .mobile-nav-cta-link:hover {
    transform: none !important;
  }

  .hero-actions,
  .what-we-do__cta,
  .about-hero-actions,
  .tech-hero-actions,
  .csd-hero-actions,
  .cta-actions,
  .jobs-filter {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .book-contact-grid,
  .about-hero-grid,
  .split,
  .stat-grid,
  .what-we-do__grid,
  .why-cards,
  .deliver-kpi,
  .pricing-examples__head,
  .pricing-cards,
  .pricing-split,
  .seed-grid,
  .cta-grid,
  .services-grid,
  .social-inner,
  .cob-services__grid,
  .hero-grid,
  .csd-hero-grid,
  .csd-grid,
  .csd-cols,
  .two-col,
  .benefits-grid,
  .contact-grid,
  .process-steps,
  .deliverables,
  .excel-grid,
  .approach-grid {
    grid-template-columns: 1fr !important;
  }

  .what-we-do__grid,
  .pricing-cards,
  .services-grid,
  .benefits-grid,
  .contact-grid,
  .values-grid,
  .process-steps,
  .jobs-list,
  .hero-trust,
  .deliverables,
  .excel-grid,
  .approach-grid {
    gap: 14px !important;
  }

  .service-card,
  .cob-card,
  .why-card,
  .form-card,
  .hero-card,
  .hero-hq,
  .pricing-card,
  .plan-card,
  .value-card,
  .benefit-item,
  .job-card,
  .contact-card,
  .card,
  .excel-card,
  .approach-showcase,
  .legal-hero,
  .process-step,
  .tech-card,
  .footer-top > *,
  .footer-bottom {
    background:
      linear-gradient(180deg, rgba(249, 251, 255, 0.98), rgba(241, 245, 249, 0.96)) !important;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08) !important;
  }

  .service-card,
  .cob-card,
  .why-card,
  .form-card,
  .hero-card,
  .hero-hq,
  .pricing-card,
  .plan-card,
  .value-card,
  .benefit-item,
  .job-card,
  .contact-card,
  .card,
  .excel-card,
  .approach-showcase,
  .legal-hero,
  .process-step,
  .tech-card {
    padding: clamp(16px, 4.8vw, 22px) !important;
    border-radius: 18px !important;
  }

  .footer-top > * {
    padding: 18px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(219, 227, 238, 0.92) !important;
  }

  .footer-bottom {
    padding: 16px 18px !important;
    border: 1px solid rgba(219, 227, 238, 0.92) !important;
    border-radius: 18px !important;
  }

  .hero--pro .hero-card {
    border-color: rgba(255, 255, 255, 0.14) !important;
    background:
      linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.52)) !important;
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.32) !important;
    backdrop-filter: blur(14px) saturate(120%) !important;
  }

  .hero--pro .hero-card__kicker {
    color: rgba(255, 255, 255, 0.68) !important;
  }

  .hero--pro .hero-card__title {
    color: rgba(255, 255, 255, 0.98) !important;
  }

  .hero--pro .hero-card__desc {
    color: rgba(226, 232, 240, 0.84) !important;
  }

  .hero--pro .hero-chip {
    border-color: rgba(255, 255, 255, 0.14) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.9) !important;
  }

  .hero--pro .hero-card__cta.btn--outline {
    border-color: rgba(129, 140, 248, 0.56) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: #c7d2fe !important;
  }

  .hero--pro .hero-card__cta.btn--outline:hover {
    background: rgba(99, 102, 241, 0.16) !important;
    color: #e0e7ff !important;
    border-color: rgba(165, 180, 252, 0.72) !important;
  }

  .footer-brand-title,
  .footer-col h4 {
    color: var(--text-main) !important;
  }

  .footer-brand-subtitle,
  .footer-tagline,
  .footer-meta,
  .footer-bottom {
    color: #475569 !important;
  }

  .footer-links a,
  .footer-meta a,
  .footer-mini-links a {
    color: #334155 !important;
  }

  .footer-links a:hover,
  .footer-meta a:hover,
  .footer-mini-links a:hover {
    color: var(--brand-start) !important;
  }

  .footer-badge {
    border-color: rgba(99, 102, 241, 0.14) !important;
    background: rgba(79, 70, 229, 0.08) !important;
    color: #334155 !important;
  }

  .btn--footer.btn--outline {
    border-color: rgba(99, 102, 241, 0.2) !important;
    background: rgba(255, 255, 255, 0.78) !important;
    color: var(--brand-start) !important;
  }

  .btn--footer.btn--outline:hover {
    background: rgba(79, 70, 229, 0.08) !important;
    color: #312e81 !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
  }

  .hero-title,
  .section-title,
  .contact-title,
  .what-we-do__title,
  h1 {
    font-size: clamp(2.25rem, 7.2vw, 3.4rem) !important;
    line-height: 1.06 !important;
    letter-spacing: 0 !important;
  }

  h2,
  .pricing-h2 {
    font-size: clamp(1.72rem, 5.8vw, 2.35rem) !important;
    line-height: 1.14 !important;
    letter-spacing: 0 !important;
  }

  h3 {
    font-size: clamp(1.18rem, 4.4vw, 1.5rem) !important;
    line-height: 1.22 !important;
  }

  .hero-sub,
  .section-lead,
  .section-description,
  .tech-lead,
  .pricing-lead,
  .what-we-do__description,
  .service-card__desc {
    font-size: 0.97rem !important;
    line-height: 1.68 !important;
  }

  .footer-tagline,
  .footer-links a,
  .footer-meta,
  .footer-meta a,
  .footer-mini-links a {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }

  .book-hero .hero-hq {
    border-color: rgba(148, 163, 184, 0.18) !important;
    background:
      linear-gradient(180deg, rgba(15, 23, 42, 0.6), rgba(30, 41, 59, 0.42)) !important;
    box-shadow: 0 18px 34px rgba(2, 6, 23, 0.22) !important;
    backdrop-filter: blur(14px) saturate(125%) !important;
  }

  .book-hero .hero-hq .hq-title {
    color: rgba(248, 250, 252, 0.96) !important;
  }

  .book-hero .hero-hq .hq-body {
    color: rgba(226, 232, 240, 0.88) !important;
  }

  .book-hero .hero-hq .k {
    color: rgba(191, 219, 254, 0.76) !important;
  }

  .book-hero .hero-hq .hq-link {
    color: #f9a8d4 !important;
  }

  .hero-actions .btn,
  .about-hero-actions .btn,
  .tech-hero-actions .btn,
  .csd-hero-actions .btn,
  .cta-actions .btn,
  .footer-cta-row .btn,
  .header-cta .btn,
  .jobs-filter .filter-btn {
    min-height: 50px !important;
  }

  .section-header,
  .what-we-do__intro,
  .pricing-examples__head,
  .contact-left,
  .contact-right {
    gap: 10px !important;
  }

  .hero-copy,
  .about-hero-grid > *,
  .book-contact-grid > *,
  .social-inner > *,
  .what-we-do__cta,
  .cta-grid > * {
    gap: 12px !important;
  }

  .section > .container,
  .what-we-do > .container,
  .book-contact > .container,
  .social-media > .container,
  .cob-services > .container,
  .talk-about-project__inner,
  .footer-top,
  .footer-bottom {
    gap: 16px !important;
  }

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

  .tech-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .cta-section .container[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .talk-about-project__inner,
  .footer-top {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .footer-bottom,
  .footer-cta-row,
  .footer-mini-links,
  .social-actions,
  .servicos-actions,
  .talk-about-project__actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .footer-mini-links a,
  .footer-cta-row .btn,
  .social-actions .btn,
  .servicos-actions .btn,
  .talk-about-project__actions .btn {
    width: 100% !important;
    max-width: none !important;
    justify-content: center !important;
  }

  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1.05fr 0.95fr"],
  [style*="grid-template-columns:1.05fr 0.95fr"],
  [style*="grid-template-columns: 1.4fr 1fr 1fr 1fr"],
  [style*="grid-template-columns:1.4fr 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  [style*="width: 420px"],
  [style*="width:420px"],
  [style*="width: 520px"],
  [style*="width:520px"],
  [style*="width: 620px"],
  [style*="width:620px"] {
    width: 100% !important;
    max-width: 100% !important;
  }

  .footer-brand,
  .footer-col,
  .footer-col--contact,
  .footer-cta-row,
  .footer-badges,
  .footer-links,
  .footer-meta,
  .contact-left,
  .contact-right,
  .hero-copy,
  .hero-visual,
  .hero-card,
  .hero-hq,
  .form-card,
  .social-visual,
  .contact-video {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .footer-cta-row,
  .footer-mini-links,
  .footer-links,
  .footer-meta {
    width: 100% !important;
  }

  .footer-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 10px !important;
  }

  .footer-links,
  .footer-meta {
    display: grid !important;
    gap: 10px !important;
  }

  .footer-meta > div {
    width: 100% !important;
  }

  .job-card {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  .hero-actions .btn,
  .about-hero-actions .btn,
  .tech-hero-actions .btn,
  .csd-hero-actions .btn,
  .cta-actions .btn,
  .footer-cta-row .btn,
  .header-cta .btn,
  .jobs-filter .filter-btn {
    width: 100% !important;
    max-width: none !important;
    justify-content: center !important;
  }

  .hero-visual,
  .social-visual,
  .contact-video {
    min-height: 240px !important;
    height: auto !important;
  }

  .approach-showcase {
    padding: 28px 22px !important;
  }

  .book-hero::before,
  .talk-about-project::before {
    width: clamp(180px, 54vw, 260px) !important;
    height: clamp(180px, 54vw, 260px) !important;
    filter: blur(8px) !important;
  }

  .book-hero::after,
  .talk-about-project::after {
    width: clamp(220px, 64vw, 320px) !important;
    height: clamp(220px, 64vw, 320px) !important;
    filter: blur(8px) !important;
  }

  .book-hero::before {
    inset: -120px auto auto -120px !important;
  }

  .book-hero::after {
    inset: auto -150px -150px auto !important;
  }

  .talk-about-project::before {
    top: -70px !important;
    right: -70px !important;
  }

  .talk-about-project::after {
    bottom: -100px !important;
    left: -100px !important;
  }
}

@media (max-width: 560px) {
  .tech-cards {
    grid-template-columns: 1fr !important;
  }

  .tech-card,
  .pricing-card,
  .job-card {
    min-width: 0;
  }

  .site-nav ul,
  .footer-links,
  .footer-mini-links {
    gap: 8px !important;
  }

  .footer-bottom {
    text-align: left !important;
  }

  .footer-top > *,
  .footer-bottom {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .book-hero::before,
  .talk-about-project::before {
    width: 170px !important;
    height: 170px !important;
  }

  .book-hero::after,
  .talk-about-project::after {
    width: 220px !important;
    height: 220px !important;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(1200px, calc(100% - 20px)) !important;
  }

  .hero-title,
  .section-title,
  .contact-title,
  .what-we-do__title,
  h1 {
    overflow-wrap: anywhere;
    font-size: clamp(1.82rem, 8.4vw, 2.45rem) !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
  }

  h2,
  .pricing-h2 {
    font-size: clamp(1.45rem, 6.8vw, 1.95rem) !important;
    line-height: 1.16 !important;
  }

  h3 {
    font-size: clamp(1.08rem, 5.2vw, 1.3rem) !important;
    line-height: 1.24 !important;
  }

  .hero-sub,
  .section-lead,
  .section-description,
  .tech-lead,
  .pricing-lead,
  .what-we-do__description,
  .service-card__desc {
    font-size: 0.92rem !important;
    line-height: 1.64 !important;
  }

  .footer-brand-title {
    font-size: 1.4rem !important;
  }

  .footer-brand-subtitle {
    font-size: 0.76rem !important;
    letter-spacing: 0.12em !important;
  }

  .footer-tagline,
  .footer-links a,
  .footer-meta,
  .footer-meta a,
  .footer-mini-links a {
    font-size: 0.9rem !important;
    line-height: 1.58 !important;
  }

  .footer-badge {
    font-size: 0.76rem !important;
  }

  .book-hero .hero-hq {
    background:
      linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(30, 41, 59, 0.52)) !important;
    border-color: rgba(148, 163, 184, 0.22) !important;
  }

  .service-card,
  .cob-card,
  .why-card,
  .form-card,
  .hero-card,
  .hero-hq,
  .pricing-card,
  .plan-card,
  .value-card,
  .benefit-item,
  .job-card,
  .contact-card,
  .card,
  .excel-card,
  .approach-showcase,
  .legal-hero {
    padding: 1.2rem !important;
  }

  .process-step {
    padding: 1.2rem !important;
  }

  .section,
  .what-we-do,
  .book-contact,
  .social-media,
  .cob-services {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .book-hero::before {
    inset: -90px auto auto -90px !important;
  }

  .book-hero::after {
    inset: auto -110px -110px auto !important;
  }

  .talk-about-project::before {
    top: -48px !important;
    right: -48px !important;
  }

  .talk-about-project::after {
    bottom: -68px !important;
    left: -68px !important;
  }
}

/* Cross-page mobile hardening */
@media (max-width: 820px) {
  html,
  body {
    overflow-x: clip;
    max-width: 100%;
  }

  img,
  svg,
  video,
  canvas,
  iframe {
    max-width: 100%;
    height: auto;
  }

  .two-col,
  .legal-grid,
  .wire-strip,
  .hero-mockup__stats,
  .csd-side-grid,
  .csd-side-stack {
    grid-template-columns: 1fr !important;
  }

  .hero-grid > *,
  .about-hero-grid > *,
  .book-contact-grid > *,
  .social-inner > *,
  .split > *,
  .two-col > *,
  .contact-grid > *,
  .legal-grid > *,
  .csd-hero-grid > *,
  .hero-side,
  .hero-visual,
  .social-visual,
  .book-hero-visual,
  .about-hero-visual,
  .tech-visual,
  .csd-side {
    min-width: 0 !important;
  }

  .hero-actions,
  .about-hero-actions,
  .tech-hero-actions,
  .csd-hero-actions,
  .what-we-do__cta {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  .hero-actions .btn,
  .about-hero-actions .btn,
  .tech-hero-actions .btn,
  .csd-hero-actions .btn,
  .what-we-do__cta .btn {
    width: 100% !important;
    max-width: none !important;
    justify-content: center !important;
  }

  .hero-badges {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .footer-badges,
  .csd-side-metrics,
  .hero-trust,
  .hero-trust-row {
    gap: 8px !important;
    flex-wrap: wrap !important;
  }

  .badge,
  .hero-chip,
  .csd-pill,
  .footer-badge,
  .hero-trust-pill {
    min-width: 0 !important;
    white-space: normal !important;
    text-align: center !important;
    justify-content: center !important;
    line-height: 1.35 !important;
  }

  .dropdown-item-content,
  .service-card__desc,
  .what-desc,
  .faq-item p,
  .legal-prose,
  .book-lead {
    min-width: 0 !important;
    overflow-wrap: anywhere;
  }

  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 560px) {
  .hero-badges {
    grid-template-columns: 1fr !important;
  }

  .badge,
  .footer-badge,
  .csd-pill,
  .hero-trust-pill {
    width: 100% !important;
  }
}

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

/* Homepage mobile polish */
@media (max-width: 960px) {
  .site-header {
    padding: 10px 0 !important;
  }

  .site-header .header-inner {
    gap: 10px !important;
  }

  .site-header .brand-logo-image {
    height: clamp(34px, 8vw, 46px) !important;
  }

  .site-header .logo-text-tagline {
    font-size: 0.58rem !important;
    letter-spacing: 0.18em !important;
  }

  .site-header .language-dropdown-btn {
    min-height: 40px !important;
    padding: 7px 10px !important;
    border-radius: 14px !important;
    font-size: 0.82rem !important;
  }

  .site-header .nav-toggle-btn {
    width: 42px !important;
    height: 42px !important;
    border-radius: 14px !important;
  }

  .site-header .site-nav {
    top: calc(var(--cobrait-mobile-header-h, 66px) + 8px) !important;
    left: 10px !important;
    right: 10px !important;
    bottom: auto !important;
    height: auto !important;
    max-height: min(calc(100dvh - var(--cobrait-mobile-header-h, 66px) - 20px), 620px) !important;
    padding: 14px !important;
    border-radius: 22px !important;
  }

  .site-header .site-nav > ul {
    min-height: auto !important;
    gap: 10px !important;
  }

  .site-header .site-nav > ul > li > a {
    min-height: 48px !important;
    padding: 0 16px !important;
    border-radius: 14px !important;
    font-size: 0.96rem !important;
  }

  .site-header .site-nav .dropdown.is-open > .dropdown-content {
    gap: 8px !important;
    margin: 8px 0 0 !important;
  }

  .site-header .site-nav .dropdown-item {
    padding: 12px !important;
    border-radius: 14px !important;
  }

  .site-header .site-nav .mobile-nav-cta {
    margin-top: 14px !important;
    padding-top: 0 !important;
  }

  .site-header .site-nav .mobile-nav-cta-link {
    min-height: 52px !important;
    border-radius: 16px !important;
    font-size: 0.98rem !important;
  }

  .hero-inner {
    padding-top: 106px !important;
    padding-bottom: 42px !important;
  }

  .hero-copy {
    max-width: 100% !important;
  }

  .eyebrow {
    margin-bottom: 10px !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.16em !important;
  }

  .hero-title {
    max-width: none !important;
    font-size: clamp(1.95rem, 8.9vw, 2.85rem) !important;
    line-height: 1.02 !important;
    letter-spacing: 0 !important;
    margin-bottom: 14px !important;
    text-wrap: balance;
  }

  .hero-sub {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 22px !important;
  }

  .hero-bullets {
    gap: 10px !important;
    margin: 0 0 24px !important;
  }

  .hero-bullets li {
    font-size: 1rem !important;
    line-height: 1.45 !important;
  }

  .hero-actions {
    gap: 10px !important;
  }

  .hero-actions .btn,
  .about-hero-actions .btn,
  .tech-hero-actions .btn,
  .csd-hero-actions .btn {
    min-height: 54px !important;
  }

  .hero-side {
    margin-top: 8px !important;
  }

  .hero-card,
  .hero-hq {
    border-radius: 20px !important;
    padding: 18px !important;
  }

  .hero-card__title,
  .hq-title {
    font-size: 1.3rem !important;
    line-height: 1.15 !important;
  }

  .hero-card__desc,
  .hq-body,
  .k {
    font-size: 0.94rem !important;
    line-height: 1.56 !important;
  }

  .social-media,
  .what-we-do,
  .book-contact,
  .cob-services,
  .talk-about-project,
  .cta-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .what-we-do__intro,
  .contact-left,
  .book-contact-grid > *,
  .social-copy,
  .social-visual {
    max-width: 100% !important;
  }

  .what-we-do__title,
  .contact-title,
  .section-title {
    font-size: clamp(1.95rem, 8vw, 2.5rem) !important;
    line-height: 1.08 !important;
    margin-bottom: 16px !important;
  }

  .what-we-do__description,
  .form-sub,
  .contact-bullets li {
    font-size: 0.98rem !important;
    line-height: 1.62 !important;
  }

  .what-we-do__grid,
  .cob-services__grid,
  .social-inner {
    gap: 18px !important;
  }

  .service-card,
  .cob-card,
  .why-card,
  .form-card {
    border-radius: 20px !important;
    padding: 22px !important;
  }

  .service-card__title {
    font-size: 1.7rem !important;
    line-height: 1.14 !important;
  }

  .service-card__icon {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 22px !important;
  }

  .service-card::after {
    top: 22px !important;
    right: 22px !important;
  }

  .cta-section .container[style*="grid-template-columns"] {
    gap: 24px !important;
  }

  .cta-section h2[style] {
    font-size: clamp(2rem, 8vw, 2.6rem) !important;
    line-height: 1.08 !important;
  }

  .cta-section .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .cta-section [style*="backdrop-filter"] {
    padding: 24px !important;
    border-radius: 20px !important;
  }

  .book-contact-grid {
    gap: 28px !important;
  }

  .contact-bullets {
    gap: 14px !important;
    margin-bottom: 0 !important;
  }

  .form-head {
    margin-bottom: 14px !important;
  }

  .form-title {
    font-size: 1.95rem !important;
    line-height: 1.1 !important;
    margin-bottom: 10px !important;
  }

  .book-form {
    gap: 12px !important;
  }

  .book-form .field {
    gap: 5px !important;
  }

  .book-form .field span {
    font-size: 0.95rem !important;
  }

  .book-form .field input,
  .book-form .field select,
  .book-form .field textarea {
    min-height: 54px !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    font-size: 1rem !important;
  }

  .book-form .field textarea {
    min-height: 170px !important;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 8px 0 !important;
  }

  .site-header .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    gap: 8px !important;
  }

  .site-header .brand,
  .site-header .logo-text-brand {
    max-width: calc(100vw - 138px) !important;
  }

  .site-header .brand-logo-image {
    height: 30px !important;
  }

  .site-header .language-dropdown-btn {
    max-width: 88px !important;
    min-height: 38px !important;
    padding: 6px 8px !important;
    gap: 4px !important;
    border-radius: 12px !important;
  }

  .site-header .nav-toggle-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
  }

  .site-header .site-nav {
    top: calc(var(--cobrait-mobile-header-h, 62px) + 6px) !important;
    left: 8px !important;
    right: 8px !important;
    bottom: auto !important;
    height: auto !important;
    max-height: min(calc(100dvh - var(--cobrait-mobile-header-h, 62px) - 16px), 560px) !important;
    padding: 12px !important;
    border-radius: 20px !important;
  }

  .hero-inner {
    padding-top: 96px !important;
    padding-bottom: 34px !important;
  }

  .hero-title {
    max-width: none !important;
    font-size: clamp(1.88rem, 8.6vw, 2.4rem) !important;
    margin-bottom: 12px !important;
  }

  .hero-sub {
    font-size: 0.95rem !important;
    margin-bottom: 18px !important;
  }

  .hero-bullets li {
    font-size: 0.95rem !important;
  }

  .what-we-do__title,
  .contact-title,
  .form-title,
  .section-title {
    font-size: clamp(1.75rem, 7.8vw, 2.15rem) !important;
  }

  .service-card__title {
    font-size: 1.35rem !important;
  }

  .service-card,
  .cob-card,
  .form-card,
  .hero-card,
  .hero-hq {
    padding: 18px !important;
  }

  .book-contact-grid {
    gap: 24px !important;
  }

  .contact-bullets li {
    font-size: 0.94rem !important;
  }
}
