/* =============================================
   CONTAINER E SEÇÕES
   ============================================= */
.container {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

section {
  padding: 75px 0;
}

.mobile-break {
  display: none;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 54px;
}

.section-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--violet);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

/* =============================================
   NAVEGAÇÃO
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17,16,22,0.1);
}

main {
  padding-top: 58px;
}

.nav-inner {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-mark {
  height: 22px;
  width: auto;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 400;
}

.menu a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.menu .nav-cta-mobile {
  display: none;
}

.menu a:hover {
  border-color: var(--violet);
}

.menu-item {
  position: relative;
  display: flex;
  align-items: center;
}

.menu-parent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.menu-parent:hover {
  border-color: var(--violet);
}

.menu-chevron {
  transition: transform 0.2s ease;
}

.menu-item.is-open .menu-chevron {
  transform: rotate(180deg);
}

.submenu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  padding: 6px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(17,16,22,0.18);
  z-index: 50;
}

.menu-item.is-open .submenu {
  display: flex;
}

.submenu a {
  display: block;
  padding: 11px 20px;
  border-bottom: none;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.submenu a:hover {
  background: rgba(95,0,220,0.06);
  color: var(--violet);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-mobile {
  display: none;
}

.lang-switcher {
  position: relative;
}

.lang-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.lang-trigger:hover {
  border-color: var(--violet);
  color: var(--violet);
}

.lang-chevron {
  transition: transform 0.2s ease;
}

.lang-switcher.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 100px;
  background: var(--ink-2);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(17,16,22,0.18);
  z-index: 50;
}

.lang-switcher.open .lang-dropdown {
  display: block;
}

.lang-dropdown a {
  display: block;
  padding: 12px 20px;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: background 0.15s, color 0.15s;
}

.lang-dropdown a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.lang-dropdown a.lang-active {
  color: #fff;
  font-weight: 700;
}

/* =============================================
   MENU MOBILE — HAMBURGER
   ============================================= */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 280ms ease, opacity 280ms ease;
}

.nav.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  color: rgba(255,255,255,0.65);
  background: #05040a;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 0 36px;
  padding: 56px 0 48px;
}

.footer-brand {
  padding-right: 36px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  height: 28px;
  width: auto;
  margin-bottom: 18px;
  display: block;
}

.footer-tagline {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
  margin: 0 0 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.75);
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}

.footer-social-btn:hover {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}

.footer-col {
  padding-top: 2px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  display: block;
  margin-bottom: 18px;
  padding-bottom: 10px;
  position: relative;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: #7c3aed;
}

.footer-col a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  padding: 5px 0;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: rgba(255,255,255,0.95);
}

.footer-col a::after {
  content: '›';
  color: rgba(255,255,255,0.3);
  font-size: 16px;
  flex-shrink: 0;
  transition: color 0.2s;
}

.footer-col a:hover::after {
  color: rgba(255,255,255,0.65);
}

.footer-location-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  padding: 5px 0;
}

.footer-location-item svg {
  flex-shrink: 0;
  color: rgba(255,255,255,0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0 20px;
}

.footer-contact-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  padding: 4px 22px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-item:first-child {
  padding-left: 0;
}

.footer-contact-item:hover {
  color: rgba(255,255,255,0.8);
}

.footer-contact-item svg {
  flex-shrink: 0;
  color: rgba(255,255,255,0.4);
}

.footer-bar-sep {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin: 0;
}

/* =============================================
   RESPONSIVIDADE
   ============================================= */
@media (max-width: 1100px) {
  .lang {
    display: none;
  }

  .menu {
    gap: 15px;
    font-size: 13px;
  }

  .hero-inner,
  .venture-main,
  .academy-main,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .pensamos-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 40px;
  }

  .pensamos-card {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    padding: 28px 0;
  }

  .pensamos-card:last-child {
    border-bottom: none;
  }

  .pensamos-card--offset {
    margin-top: 0;
  }

  .quemfaz-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "image"
      "cta";
  }

  .quemfaz-layout .lead {
    font-size: 15px;
  }

  .quemfaz-cta {
    width: 100%;
    padding: 0 20px;
  }

  .what-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-art {
    min-height: 300px;
  }

  .case-card {
    flex: 0 0 calc(100% / 2);
  }

  .case-content {
    min-height: 300px;
  }

  .logos-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .venture-timeline {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }

  .venture-timeline::before {
    display: none;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1.1fr repeat(4, 1fr);
    gap: 0 20px;
  }

  .footer-brand {
    padding-right: 20px;
  }

}

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

  .brand-mark {
    height: 17px;
  }

  .nav-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: flex;
  }

  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(17,16,22,0.1);
  }

  .nav.menu-open .menu {
    display: flex;
  }

  .menu a {
    padding: 14px 22px;
    border-bottom: none;
    font-size: 15px;
  }

  .menu-item {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }

  .menu-parent {
    width: 100%;
    justify-content: space-between;
    padding: 14px 22px;
    border-bottom: none;
    font-size: 15px;
  }

  .submenu {
    position: static;
    min-width: 0;
    padding: 0 0 6px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .submenu a {
    padding: 12px 22px 12px 40px;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 400;
  }

  .submenu a:hover {
    background: rgba(95,0,220,0.06);
    color: var(--violet);
  }

  .lang-switcher {
    display: none;
  }

  .lang-mobile {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--line);
    margin-top: 8px;
    padding: 12px 22px;
  }

  .lang-mobile-opt {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    border-right: 1px solid var(--line);
    transition: color 0.15s;
  }

  .lang-mobile-opt:last-child {
    border-right: none;
  }

  .lang-mobile-opt:hover,
  .lang-mobile-opt.lang-active {
    color: var(--violet);
    font-weight: 600;
  }

  .nav-actions .btn-purple {
    display: none;
  }

  .nav-cta-mobile {
    display: flex;
    justify-content: center;
    margin: 8px 22px 4px;
  }

  .hero-overlay {
    background: rgba(0,0,0,0.72);
  }

  .hero-inner {
    padding: 64px 0 80px;
    max-width: 100%;
    align-items: flex-start;
  }

  .hero-inner h1 {
    font-size: clamp(28px, 7.5vw, 38px) !important;
    width: 100%;
  }

  .hero-inner p {
    font-size: 15px !important;
    max-width: 100% !important;
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-art {
    display: none;
  }

  h1 {
    font-size: clamp(32px, 9vw, 42px);
  }

  h2 {
    font-size: clamp(24px, 6vw, 32px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .lead {
    font-size: 16px;
  }

  section {
    padding: 76px 0;
  }

  .mobile-break {
    display: block;
  }

  .case-content,
  .case-card h3,
  .case-desc,
  .case-card .meta {
    text-align: left;
  }

  .section-head,
  form {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 40px 0 28px;
  }

  .footer-brand {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-right: 0;
    padding-bottom: 32px;
    margin-bottom: 32px;
  }

  .footer-col {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .footer-col:last-child {
    border-bottom: none;
  }

  .footer-contact-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
  }

  .footer-contact-item {
    padding: 0;
  }

  .footer-bar-sep {
    display: none;
  }

  .footer-copyright {
    text-align: left;
  }

  .case-card {
    flex: 0 0 100%;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-art {
    min-height: 220px;
  }

  .stat {
    min-height: auto;
    padding: 28px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid .stat:nth-child(1),
  .stats-grid .stat:nth-child(2),
  .stats-grid .stat:nth-child(3),
  .stats-grid .stat:nth-child(4) {
    grid-column: 1 / -1;
  }

  .stat--dark {
    flex-direction: column;
  }

  .stat-bg-video {
    width: 100%;
    height: 200px;
  }

  .stat .label {
    margin-top: 20px;
  }

  .stats-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .logo-slot {
    min-height: 90px;
    font-size: 15px;
  }

  .service-toggle {
    padding: 20px 16px;
    gap: 12px;
  }

  .service-num {
    min-width: 36px;
  }

  .service-name {
    font-size: 17px;
  }

  .service-body-inner {
    padding: 0 16px 0 64px;
  }

  .service-row.is-open .service-body-inner {
    padding-bottom: 20px;
  }

  .case-card {
    flex: 0 0 100%;
  }

  .case-content {
    position: absolute;
    inset: 0;
    min-height: unset;
  }

  .venture-timeline {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .venture .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .about .section-head {
    grid-template-columns: 1fr;
  }

  .about-body {
    grid-template-columns: 1fr;
  }

  .academy-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .academy-img-wrap {
    min-height: auto;
  }

  .academy-tab-btns {
    gap: 16px;
  }

  .academy-tab-btn {
    padding: 10px 0;
    font-size: 14px;
  }

  .academy-steps {
    grid-template-columns: 1fr;
  }

  .academy-step:nth-child(-n+3) {
    padding-right: 0;
    border-right: none;
  }

  .academy-step:nth-child(n+4) {
    padding-left: 0;
  }

  .pillar {
    padding: 20px 0;
  }

  .pillar-toggle {
    cursor: pointer;
  }

  .pillar-toggle h3 {
    margin-bottom: 0;
  }

  .pillar-arrow {
    display: block;
  }

  .pillar-desc {
    display: none;
    margin-top: 12px;
  }

  .pillar.is-open .pillar-desc {
    display: block;
  }

  .pillar.is-open .pillar-arrow {
    transform: rotate(180deg);
  }

  .about-title {
    font-size: clamp(32px, 8vw, 52px);
  }

  .about-hero {
    margin-bottom: 40px;
  }

  .about-grid {
    gap: 40px;
  }

  .insight-card {
    min-height: auto;
  }

  .insight-card:first-child {
    min-height: 300px;
  }

  .insight-card h3 {
    font-size: clamp(20px, 5vw, 26px);
  }

  .menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-tabs {
    gap: 14px;
    flex-wrap: wrap;
  }

  .contact-tab-btn {
    font-size: 13px;
  }

  .h-captcha {
    transform: scale(0.85);
    transform-origin: 0 0;
    margin-bottom: -11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
