/* ============================================
   FIGUEIREDO NETO - Main Stylesheet
   Colors: Black & White
   Font: Archivo
   ============================================ */

@font-face { font-family: 'Archivo'; src: url('../fonts/archivo-300.ttf') format('truetype'); font-style: normal; font-weight: 300; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('../fonts/archivo-400.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('../fonts/archivo-500.ttf') format('truetype'); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('../fonts/archivo-600.ttf') format('truetype'); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('../fonts/archivo-700.ttf') format('truetype'); font-style: normal; font-weight: 700; font-display: swap; }

/* --- RESET & BASE --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --font: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1280px;
  --section-padding: 120px 0;
  --transition: .4s cubic-bezier(.25,.46,.45,.94);
}

html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { border: none; background: none; cursor: pointer; font-family: var(--font); }

/* --- BRAND INTRO ANIMATION --- */
.brand-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.brand-intro-logo {
  height: 72px;
  width: auto;
  filter: invert(46%) sepia(0%) saturate(0%) brightness(92%) contrast(88%);
  opacity: 0;
  animation: brandFadeIn 1.2s ease forwards;
}
.brand-intro-line {
  width: 0;
  height: 1px;
  background: rgba(255,255,255,.2);
  margin-top: 24px;
  animation: brandLineExpand .6s ease .6s forwards;
}
.brand-intro-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.brand-intro.is-leaving {
  animation: brandSlideUp .7s cubic-bezier(.76,0,.24,1) forwards;
}
.brand-intro.is-leaving .brand-intro-logo {
  animation: brandLogoOut .4s ease forwards;
}
.brand-intro.is-leaving .brand-intro-line {
  animation: brandLineOut .3s ease forwards;
}
@keyframes brandFadeIn {
  0%   { opacity: 0; transform: scale(.85); filter: blur(8px) invert(46%) sepia(0%) saturate(0%) brightness(92%) contrast(88%); }
  40%  { opacity: 1; transform: scale(1);   filter: blur(0)   invert(46%) sepia(0%) saturate(0%) brightness(92%) contrast(88%); }
  100% { opacity: 1; transform: scale(1);   filter: blur(0)   brightness(0) invert(1); }
}
@keyframes brandLineExpand {
  0%   { width: 0; }
  100% { width: 100%; }
}
}
@keyframes brandLogoOut {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-20px); }
}
@keyframes brandLineOut {
  0% { opacity: 1; }
  100% { opacity: 0; width: 0; }
}
@keyframes brandSlideUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}
body.intro-active { overflow: hidden; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
.container-wide {
  max-width: 1440px;
}

/* --- TYPOGRAPHY --- */
.heading-01 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-align: center;
}

.heading-02 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
}

.heading-03 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
}

.heading-04 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
}

.heading-05 {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.4;
}

.text-body { font-size: 1rem; font-weight: 400; line-height: 1.7; color: var(--gray-600); }
.text-body-lg { font-size: 1.25rem; font-weight: 400; line-height: 1.7; color: var(--gray-600); }
.text-small { font-size: 1rem; font-weight: 400; line-height: 1.6; color: var(--gray-500); }
.text-tag { font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); text-align: center; display: block; }

/* --- SCROLL ANIMATION --- */
.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  filter: blur(4px);
  transition: opacity .8s var(--transition), transform .8s var(--transition), filter .8s var(--transition);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background .3s, backdrop-filter .3s, box-shadow .3s, opacity .4s ease;
}

.navbar.scrolled {
  background: #fff;
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--gray-200);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
}
.nav-logo {
  height: 56px;
  width: auto;
  transition: opacity var(--transition);
}
.nav-logo-white { opacity: 1; }
.nav-logo-black { opacity: 0; position: absolute; }
.navbar.scrolled .nav-logo-white { opacity: 0; }
.navbar.scrolled .nav-logo-black { opacity: 1; }

/* Internal pages: navbar starts with dark look (light bg) */
.internal-page .navbar { background: var(--white); border-bottom-color: var(--gray-200); }
.internal-page .nav-logo-white { opacity: 0; }
.internal-page .nav-logo-black { opacity: 1; }
.internal-page .nav-link { color: var(--gray-500); }
.internal-page .nav-link:hover { color: var(--black); }
.internal-page .menu-toggle span { background: var(--black); }

/* Text brand fallback for internal pages */
.nav-brand-text {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--black);
  transition: color var(--transition);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  position: relative;
  padding: 8px 0;
  transition: color var(--transition);
}
.navbar.scrolled .nav-link { color: var(--gray-500); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width var(--transition);
}
.navbar.scrolled .nav-link::after { background: var(--black); }
.nav-link:hover { color: var(--white); }
.navbar.scrolled .nav-link:hover { color: var(--black); }
.nav-link:hover::after { width: 100%; }

/* Mega Menu */
.nav-item { position: relative; }
.nav-item > .nav-link { display: flex; align-items: center; gap: 4px; }
.nav-link .nav-chevron {
  width: 10px; height: 10px;
  transition: transform .3s;
}
.nav-item:hover .nav-chevron { transform: rotate(180deg); }

.mega-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 720px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s, transform .25s, visibility .25s;
  box-shadow: 0 20px 60px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.04);
  z-index: 100;
}
.mega-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}
.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.mega-menu-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border-radius: 12px;
  transition: transform .3s ease;
  text-decoration: none;
  overflow: hidden;
}
.mega-menu-item:hover { transform: translateY(-2px); }
.mega-menu-item-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--gray-100);
}
.mega-menu-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.mega-menu-item:hover .mega-menu-item-img img { transform: scale(1.05); }
.mega-menu-icon {
  display: none;
}
.mega-menu-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 8px 8px;
}
.mega-menu-title {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
}
.mega-menu-desc {
  font-size: .6875rem;
  color: var(--gray-500);
  line-height: 1.4;
}

/* Mobile mega menu */
.mobile-mega-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--black);
  font-family: var(--font);
  cursor: pointer;
  background: none;
  border: none;
  padding: 12px 0;
  transition: color .2s;
  line-height: 1.1;
}
.mobile-mega-toggle .nav-chevron {
  width: 18px; height: 18px;
  transition: transform .3s;
  stroke: var(--gray-400);
}
.mobile-mega-toggle.active .nav-chevron { transform: rotate(180deg); }
.mobile-mega-items {
  display: none;
  flex-direction: column;
  gap: 0;
  width: 100%;
  padding: 4px 0 8px 0;
  border-left: 2px solid var(--gray-200);
  margin-left: 4px;
}
.mobile-mega-items.active { display: flex; }
.mobile-mega-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--gray-500);
  padding: 10px 20px;
  border-radius: 0;
  transition: color .2s;
}
.mobile-mega-link:hover {
  color: var(--black);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 100px;
  color: var(--white);
  background: transparent;
  font-size: .875rem;
  font-weight: 500;
  transition: all var(--transition);
}
.navbar.scrolled .nav-cta {
  color: var(--black);
  border-color: rgba(0,0,0,.2);
  background: transparent;
}
.nav-cta:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}
.navbar.scrolled .nav-cta:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

/* Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  font-size: .8125rem;
  font-weight: 500;
}
.lang-switch a {
  padding: 4px 8px;
  border-radius: 4px;
  color: rgba(255,255,255,.4);
  transition: all var(--transition);
}
.lang-switch a.active {
  color: var(--white);
  background: rgba(255,255,255,.12);
}
.lang-switch a:hover { color: var(--white); }
.lang-switch .lang-divider {
  color: rgba(255,255,255,.2);
  user-select: none;
}
.navbar.scrolled .lang-switch a { color: var(--gray-400); }
.navbar.scrolled .lang-switch a.active { color: var(--black); background: var(--gray-100); }
.navbar.scrolled .lang-switch a:hover { color: var(--black); }
.navbar.scrolled .lang-switch .lang-divider { color: var(--gray-300); }
.internal-page .lang-switch a { color: var(--gray-400); }
.internal-page .lang-switch a.active { color: var(--black); background: var(--gray-100); }
.internal-page .lang-switch a:hover { color: var(--black); }
.internal-page .lang-switch .lang-divider { color: var(--gray-300); }
.mobile-menu .lang-switch {
  margin-left: 0;
  margin-top: 24px;
  font-size: 1rem;
}
.mobile-menu .lang-switch a { color: var(--gray-400); }
.mobile-menu .lang-switch a.active { color: var(--black); background: var(--gray-100); }
.mobile-menu .lang-switch a:hover { color: var(--black); }

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 24px;
  cursor: pointer;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
  width: 100%;
}
.navbar.scrolled .menu-toggle span { background: var(--black); }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
body.menu-open .navbar {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body.menu-open .menu-toggle {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (max-width: 768px) {
  .menu-toggle.active span {
    background: var(--black);
  }
}

/* --- HERO SECTION --- */
/* --- SCROLL OVERLAP EFFECT --- */
.hero-wrapper {
  position: sticky;
  top: 0;
  z-index: 0;
  height: 100vh;
  height: var(--app-height, 100vh);
}

.main-content {
  position: relative;
  z-index: 1;
  background: var(--white);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .15);
}

.main-content > .section:first-child {
  padding-top: 140px;
}

.hero {
  min-height: 100vh;
  min-height: var(--app-height, 100vh);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 80px;
  position: relative;
  color: var(--white);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  padding-top: 120px;
  position: relative;
  z-index: 1;
}

.hero .hero-subtitle { color: var(--gray-300); }
.hero .text-body-lg { color: var(--gray-300); }
.hero .text-small { color: var(--gray-400); }
.hero .btn-primary { color: var(--white); }
.hero .btn-primary::after { background: var(--white); }

body .hero .hero-top {
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  width: 800px;
  max-width: 800px;
}

body .hero .hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: #55C4CE;
  margin-bottom: 24px;
  text-align: left;
  width: 100%;
  max-width: 800px;
}

body .hero .hero-portfolio-label {
  text-align: left;
  width: 100%;
  max-width: 800px;
}

.hero-desc,
.hero-cta-row,
.hero-right-block,
.hero-bottom,
.hero .heading-01,
.hero .text-body-lg {
  text-align: left;
}

body .hero .heading-01 {
  max-width: 800px;
  width: 800px;
  margin: 0;
}

body .hero .heading-01 .hero-accent {
  color: #55C4CE;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}

.hero-cta-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--gray-500);
  margin-bottom: 24px;
}
.mobile-br { display: none; }
@media (max-width: 768px) { .mobile-br { display: block; } }

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}

.hero-desc {
  max-width: 800px;
  width: 100%;
  align-items: flex-start;
  justify-content: flex-start;
  margin-left: 0;
  margin-right: 0;
}
.hero-stats-line { display: none; }

.hero-right-block {
  display: flex;
  flex-direction: column;
  align-self: end;
  gap: 20px;
  max-width: 280px;
  margin-left: auto;
}
.hero-services-list {
  display: flex;
  flex-direction: column;
}
.hero-service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  font-size: .875rem;
  font-weight: 500;
  transition: var(--transition);
}
.hero-service-item:last-child {
  border-bottom: none;
}
.hero-service-item > span:last-child {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
  border-top: 2px solid rgba(255,255,255,.9);
  border-right: 2px solid rgba(255,255,255,.9);
  transform: rotate(45deg);
  opacity: 0.9;
  transition: transform .25s ease, opacity .2s ease;
}
.hero-service-item:hover > span:last-child {
  opacity: 1;
  transform: rotate(45deg) translate(-3px, -3px);
}
.hero-service-item:hover {
  padding-left: 6px;
}

/* Hero clients marquee */
.hero-clients-marquee {
  overflow: hidden;
  position: relative;
}
.hero-clients-track {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: clientsScroll 20s linear infinite;
  width: max-content;
}
.hero-client {
  font-size: .6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,.4);
  white-space: nowrap;
}
.hero-client-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  flex-shrink: 0;
}

/* --- BTN --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--black);
  padding: 12px 0;
  position: relative;
  transition: gap var(--transition);
}
.btn-primary::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--black);
}
.btn-primary .arrow {
  display: inline-flex;
  transition: transform var(--transition);
  animation: arrowKick 1.5s ease-in-out infinite;
  font-weight: 700;
  transform: scale(1.2);
}
.btn-primary:hover { gap: 12px; }
.btn-primary:hover .arrow { animation: arrowKickHover 0.8s ease-in-out infinite; }

@keyframes arrowKick {
  0% { transform: translateX(0) rotate(0deg) scale(1.2); }
  25% { transform: translateX(4px) rotate(90deg) scale(1.2); }
  50% { transform: translateX(0) rotate(180deg) scale(1.2); }
  75% { transform: translateX(4px) rotate(270deg) scale(1.2); }
  100% { transform: translateX(0) rotate(360deg) scale(1.2); }
}

@keyframes arrowKickHover {
  0% { transform: translateX(6px) rotate(0deg) scale(1.3); }
  25% { transform: translateX(10px) rotate(90deg) scale(1.3); }
  50% { transform: translateX(6px) rotate(180deg) scale(1.3); }
  75% { transform: translateX(10px) rotate(270deg) scale(1.3); }
  100% { transform: translateX(6px) rotate(360deg) scale(1.3); }
}

.btn-filled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--white);
  background: var(--black);
  padding: 14px 28px;
  border-radius: 100px;
  transition: opacity var(--transition), gap var(--transition);
}
.btn-filled:hover { opacity: .85; gap: 14px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--black);
  border: 1px solid var(--gray-300);
  padding: 14px 28px;
  border-radius: 100px;
  transition: var(--transition);
}
.btn-outline:hover { background: var(--black); color: var(--white); border-color: var(--black); }

.arrow-icon { width: 16px; height: 16px; }
.cta-arrow { width: 11.264px; height: 11.264px; display: inline-block; flex-shrink: 0; transition: var(--transition); }
.ampla-dark-button:hover .cta-arrow { filter: invert(1) brightness(1.1); transform: translateX(4px); }

/* --- SECTIONS --- */
.section { padding: var(--section-padding); }
.section-dark { background: var(--black); color: var(--white); }
.video-section + .section { padding-top: 40px; }
.section-gray { background: var(--gray-100); }

.section-header {
  margin-bottom: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-header--split,
.section-header-grid,
.solutions-heading,
.contact-headline,
.services-left,
.intro-statement,
.page-hero-desc {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 820px;
}

body .hero .hero-top,
body .hero .hero-desc {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  max-width: 580px;
}
.section-header--split > div,
.section-header-grid > div,
.section-header--split > p,
.section-header-grid > p,
.section-header--split > .section-side-copy,
.section-header-grid > .section-side-copy,
.solutions-heading > * {
  width: 100%;
  text-align: center;
}
.section-header-big-word {
  display: flex;
  align-items: center;
  gap: 12px;
  user-select: none;
}
.big-word-text {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(to right, var(--black) var(--fill, 0%), var(--gray-200) var(--fill, 0%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: none;
}
.big-word-stars {
  display: flex;
  gap: 4px;
  align-items: center;
}
.big-word-star {
  width: clamp(18px, 2vw, 28px);
  height: clamp(18px, 2vw, 28px);
  fill: #d4a017;
  opacity: 0;
  transform: scale(0) translateY(20px);
  filter: blur(4px);
  transition: opacity .3s ease, transform .3s ease, filter .3s ease;
}
.big-word-star.visible {
  animation: starPop .6s cubic-bezier(.34,1.56,.64,1) forwards;
}
.big-word-star:not(.visible) {
  animation: none;
}
.big-word-star:nth-child(1).visible { animation-delay: 0ms; }
.big-word-star:nth-child(2).visible { animation-delay: 120ms; }
.big-word-star:nth-child(3).visible { animation-delay: 240ms; }
.big-word-star:nth-child(4).visible { animation-delay: 360ms; }
.big-word-star:nth-child(5).visible { animation-delay: 480ms; }

@keyframes starPop {
  0% {
    opacity: 0;
    transform: scale(0) translateY(20px) rotate(-45deg);
    filter: blur(4px);
  }
  60% {
    opacity: 1;
    transform: scale(1.3) translateY(-4px) rotate(5deg);
    filter: blur(0);
  }
  80% {
    transform: scale(0.9) translateY(2px) rotate(-2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0) rotate(0deg);
    filter: blur(0);
  }
}
.section-header-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 820px;
}

/* --- SECTION TOP BAR (PortenNF style) --- */
.section-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--gray-200);
}
.section-top-left { display: flex; align-items: center; gap: 12px; }
.section-top-number {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: .02em;
}
.section-top-right { display: flex; align-items: center; gap: 24px; }
.section-top-label {
  font-size: .8125rem;
  font-weight: 400;
  color: var(--gray-500);
}

/* Dark variant */
.section-dark .section-top-bar { border-bottom-color: rgba(255,255,255,.1); }
.section-dark .section-top-number,
.section-dark .section-top-label { color: var(--gray-500); }

/* --- INTRO (02) --- */
.intro-statement {
  margin-bottom: 80px;
  text-align: left;
  align-items: flex-start;
  margin-left: 0;
  margin-right: auto;
  max-width: 1000px;
}
.intro-statement-text {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-600);
  max-width: 960px;
  text-align: left;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.intro-left { display: flex; flex-direction: column; gap: 0; }

.intro-item {
  padding: 32px 0;
  border-top: 1px solid var(--gray-200);
}
.intro-item:last-child { border-bottom: 1px solid var(--gray-200); }

.intro-item-title {
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-500);
  margin-bottom: 12px;
  letter-spacing: .02em;
}
.intro-item-desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--gray-600);
  max-width: 480px;
}

.intro-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.intro-result-item {}
.intro-result-label {
  font-size: .8125rem;
  color: var(--gray-500);
  margin-bottom: 4px;
}
.intro-result-value {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--black);
}

.ampla-intro-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.ampla-intro-full {
  width: 100%;
  max-width: 100%;
  text-align: left;
  margin-bottom: 48px;
}

.ampla-intro-full .text-tag {
  display: block;
  margin-bottom: 16px;
}

.intro-item-cta { padding-top: 4px; }

.intro-img-mobile {
  display: none;
}
.intro-img-mobile img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 12px;
}

.intro-right { position: sticky; top: 120px; }
.intro-img-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 12px;
  overflow: hidden;
  background: var(--gray-100);
}
.intro-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- TICKER STRIP --- */
.ticker-strip {
  background: var(--black);
  overflow: hidden;
  padding: 28px 0;
  white-space: nowrap;
}
.ticker-row { overflow: hidden; }
.ticker-divider {
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 0;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding: 18px 0;
  animation: tickerLTR 35s linear infinite;
}
.ticker-track-reverse {
  animation: tickerRTL 30s linear infinite;
}
.ticker-flag-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: .03em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.ticker-flag {
  width: 28px;
  height: 18px;
  border-radius: 3px;
  flex-shrink: 0;
}
.ticker-logo-item {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  letter-spacing: .04em;
  text-transform: uppercase;
  flex-shrink: 0;
  transition: color .3s;
}
.ticker-logo-item:hover { color: var(--white); }
.ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
}
@keyframes tickerLTR {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes tickerRTL {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* --- VIDEO SECTION (Showreel) --- */
.video-section {
  height: 350vh;
  position: relative;
  background: var(--black);
}
.sticky-video-section {
  position: sticky;
  top: 0;
  height: 100vh;
  height: var(--app-height, 100vh);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sticky-video-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.3) 30%, rgba(0,0,0,.7) 60%, var(--black) 100%);
  pointer-events: none;
  z-index: 4;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 90vw;
  max-width: 1200px;
  transform: scale(3.5);
  opacity: 0.2;
  transition: none;
  will-change: transform, opacity;
}
.video-wrapper {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
  background: var(--gray-900);
}
.video-wrapper-empty {
  background: transparent;
}
.video-wrapper-center {
  position: relative;
  z-index: 3;
  transform: scale(3);
  will-change: transform;
}
/* Video section floating text */
.video-section-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(10px);
  z-index: 5;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,.15);
  font-family: var(--font);
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
  pointer-events: none;
}
.video-section-text.visible {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}
.video-section-text .letter {
  display: inline-block;
  color: rgba(255,255,255,.15);
  transition: color .4s ease;
}
.video-section-text .letter.filled {
  color: rgba(255,255,255,.9);
}
.video-cell {
  width: 100%;
  height: 100%;
}
.video-cell-video {
  width: 100%;
  height: 100%;
  position: relative;
}
.video-cell-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-cell-img {
  width: 100%;
  height: 100%;
  position: relative;
}
.video-cell-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tv-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 4px;
  display: flex;
  gap: 4px;
}
.tv-dots::before,
.tv-dots::after {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
}

/* Legacy intro-text (keep for other pages) */
.intro-text {
  max-width: 720px;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray-600);
}

/* --- STATS --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  padding: 40px 32px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
}
.stat-card:hover { border-color: var(--black); }
.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { color: var(--gray-500); font-size: .9375rem; }

.logos-strip {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--gray-200);
}
.logos-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}
.logo-item {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--gray-400);
  white-space: nowrap;
}

/* --- CLIENTS MARQUEE --- */
.clients-marquee {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  border-top: 1px solid var(--gray-800);
  border-bottom: 1px solid var(--gray-800);
  display: none;
}
.clients-marquee::before,
.clients-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.clients-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--black), transparent);
}
.clients-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--black), transparent);
}
.clients-marquee-track {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: clientsScroll 25s linear infinite;
  width: max-content;
}
.client-name {
  font-size: .8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  white-space: nowrap;
}
.client-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gray-600);
  flex-shrink: 0;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

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

/* --- PROJECTS (04) --- */
/* Project grid */
.projects-btn-mobile { display: none; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.project-item {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.project-img-box {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-800);
}
.project-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s ease;
}
.project-item:hover .project-img-box img { transform: scale(1.05); }
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background .4s ease;
}
.project-item:hover .project-overlay { background: rgba(0,0,0,.25); }
.project-arrow-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -44%) scale(0.85);
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  opacity: 0;
  transition: opacity .35s ease, transform .35s ease;
}
.project-item:hover .project-arrow-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.project-content {
  padding: 16px 4px 0;
}
.project-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--white);
}
.internal-page .project-title { color: var(--black); }
.internal-page .project-tag { border-color: var(--gray-200); color: var(--gray-500); }
.project-tag-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.project-tag {
  font-size: .75rem;
  font-weight: 500;
  padding: 4px 14px;
  border: 1px solid var(--gray-700);
  border-radius: 100px;
  color: var(--gray-400);
}
.project-bottom {
  text-align: center;
  margin-top: 48px;
  border-color: var(--white);
}

/* --- Project Card (Trabalhos page) --- */
.project-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-800);
  cursor: pointer;
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.project-card:hover img { transform: scale(1.05); }
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.3) 50%, rgba(0,0,0,0) 100%);
  display: flex;
  align-items: flex-end;
  padding: 32px;
  opacity: 0;
  transition: opacity .4s ease;
}
.project-card:hover .project-card-overlay { opacity: 1; }
.project-card-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.project-card-meta {
  font-size: .8125rem;
  color: var(--gray-300);
  margin-bottom: 8px;
}
.project-card-desc {
  font-size: .8125rem;
  color: var(--gray-400);
  line-height: 1.6;
}
.project-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}
.project-card:hover .project-arrow { opacity: 1; transform: translateY(0); }

/* --- Work Stats --- */
.work-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.work-stat-item {
  padding: 32px 24px;
  border-right: 1px solid var(--gray-200);
}
.work-stat-item:last-child { border-right: none; }
.work-stat-value {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.work-stat-label {
  display: block;
  font-size: .8125rem;
  color: var(--gray-500);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Filter Tabs --- */
.work-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-tab {
  padding: 10px 20px;
  border: 1px solid var(--gray-200);
  background: transparent;
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-500);
  cursor: pointer;
  transition: all .3s ease;
  border-radius: 6px;
}
.filter-tab:hover {
  border-color: var(--black);
  color: var(--black);
}
.filter-tab.active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

/* --- Case Study Pages --- */
.case-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8125rem;
  color: var(--gray-500);
  text-decoration: none;
  transition: color .3s ease;
  margin-bottom: 0;
}
.case-back-link:hover { color: var(--black); }

/* Case Header Grid */
.case-header-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  margin-top: 48px;
  padding-bottom: 48px;
}
.case-header-left .heading-01 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.case-header-right {
  display: flex;
  align-items: flex-end;
}
.case-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
  border-top: 1px solid var(--gray-200);
}
.case-meta-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
}
.case-meta-item:nth-child(odd) { padding-right: 24px; }
.case-meta-item:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--gray-200); }
.case-meta-label {
  display: block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  margin-bottom: 4px;
}
.case-meta-value {
  display: block;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--black);
}

/* Case Hero Image */
.case-hero-img { padding: 0 0 0; }
.case-img-box {
  border-radius: 12px;
  overflow: hidden;
  background: var(--gray-100);
}
.case-img-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* Blog Cover hidden on desktop, visible on mobile */
.blog-cover {
  display: none;
}
.blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 769px) {
  .case-hero-img:has(.blog-cover) {
    padding: 0;
    margin-top: -72px;
  }
  .case-hero-img:has(.blog-cover) .container {
    border-top: 1px solid var(--gray-200);
  }
  .case-hero-img:has(.blog-cover) + .section {
    padding-top: 64px;
  }
}

@media (max-width: 768px) {
  .blog-cover {
    display: block;
    height: 240px;
  }
  .case-hero-img:has(.blog-cover) {
    margin-top: -76px;
    margin-bottom: -76px;
  }
}

/* Case Two Column (Problem/Solution) */
.case-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
}
.case-col-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0;
}
.case-text {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.case-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-600);
}

/* Case Gallery Full Width */
.case-gallery-full {
  padding: 80px 0;
}
.case-gallery-full .case-gallery-item {
  border-radius: 0;
  overflow: hidden;
  background: var(--gray-100);
}
.case-gallery-full .case-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Case legacy gallery (keep for compat) */
.case-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}
.case-gallery-item {
  border-radius: 12px;
  overflow: hidden;
  background: var(--gray-100);
}
.case-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Case Testimonial Block (dark bg) */
.case-testimonial-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.case-quote-lg {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-300);
  margin: 32px 0;
  font-style: italic;
}
.case-testimonial-block .case-quote-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.case-testimonial-block .case-quote-author strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}
.case-testimonial-block .case-quote-author span {
  font-size: .875rem;
  color: var(--gray-500);
}

/* Case legacy testimonial (keep for compat) */
.case-testimonial {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.case-quote {
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-700);
  margin: 24px 0;
  font-style: italic;
}
.case-quote-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case-quote-author strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
}
.case-quote-author span {
  font-size: .875rem;
  color: var(--gray-500);
}
.case-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .case-header-grid { grid-template-columns: 1fr; gap: 32px; }
  .case-header-right { align-items: flex-start; }
  .case-two-col { grid-template-columns: 1fr; gap: 48px; }
  .case-hero-img { padding: 0; }
  .case-gallery-full { padding: 48px 0; }
  .case-quote-lg { font-size: 1.125rem; }
  .case-cta-buttons { flex-direction: column; }
  .case-cta-buttons .btn-primary,
  .case-cta-buttons .btn-outline { width: 100%; justify-content: center; }
}

.section-dark .text-tag { color: var(--gray-500); }
.section-dark .btn-outline {
  border-color: var(--gray-700);
  color: var(--white);
}
.section-dark .btn-outline:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* --- SERVICES (05) --- */
/* Services layout */
.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.services-left {
  position: sticky;
  top: 120px;
}
.services-right {
  border-top: 1px solid var(--gray-400);
}
.service-item {
  border-bottom: 1px solid var(--gray-400);
}
.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  cursor: pointer;
  transition: var(--transition);
}
.service-header:hover .service-title { color: var(--gray-500); }
.service-header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.service-number {
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-400);
}
.service-title {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
  transition: color var(--transition);
}
.service-icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--gray-400);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.service-item.active .service-icon { transform: rotate(45deg); }
.service-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--transition);
}
.service-desc {
  color: var(--gray-500);
  font-size: .9375rem;
  line-height: 1.7;
  padding: 0 0 16px;
  max-width: 520px;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  padding-bottom: 24px;
  transition: gap var(--transition);
}
.service-link span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s ease, margin .25s ease;
  flex-shrink: 0;
}
.service-link:hover {
  gap: 10px;
}

/* Marquee */
.marquee {
  overflow: hidden;
  padding: 32px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.section-dark .marquee { border-color: var(--gray-800); }
.marquee-inner {
  display: flex;
  animation: marquee 20s linear infinite;
  width: max-content;
}
.marquee-text {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  white-space: nowrap;
  margin-right: 80px;
  color: var(--gray-200);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.section-dark .marquee-text { color: var(--gray-800); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- SKILLS (06) --- */
/* Tools section */
.tools-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 40px;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-200);
}
.tool-group {
  padding: 32px 24px;
  border-bottom: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
}
.tool-group:nth-child(4n) { border-right: none; }
.tool-group-title {
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 20px;
  color: var(--black);
}
.tool-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tool-item {
  font-size: .9375rem;
  color: var(--gray-500);
  transition: color .2s ease;
}
.tool-group:hover .tool-item { color: var(--gray-400); }
.tool-group:hover .tool-item:hover { color: var(--black); }

/* --- ECOSYSTEM (07) --- */
/* Ecosystem */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.eco-card {
  padding: 40px;
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  transition: border-color var(--transition);
}
.eco-card:hover { border-color: var(--gray-500); }
.eco-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.eco-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.eco-badge {
  font-size: .75rem;
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 500;
}
.eco-badge.active { background: var(--white); color: var(--black); }
.eco-badge.launch { background: var(--gray-800); color: var(--gray-300); }
.eco-badge.building { background: var(--gray-800); color: var(--gray-400); }
.eco-role { font-size: .875rem; color: var(--gray-400); margin-bottom: 16px; }
.eco-desc { font-size: .9375rem; color: var(--gray-400); line-height: 1.7; margin-bottom: 20px; }
.eco-subtitle { font-size: .75rem; color: var(--gray-600); }
.eco-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.eco-link:hover { gap: 10px; }

/* --- PARTNERS --- */
.partners-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.partners-left {
  position: sticky;
  top: 120px;
}
.partners-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.partner-card {
  padding: 32px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  transition: border-color var(--transition);
}
.partner-card:hover { border-color: var(--black); }
.partner-card-icon {
  width: 48px;
  height: 48px;
  background: var(--gray-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--black);
}
.partner-card h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.partner-card p {
  font-size: .9375rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* --- ABOUT (08) --- */
.about-header {
  margin-bottom: 48px;
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.about-img {
  aspect-ratio: 4/5;
  border-radius: 12px;
  overflow: hidden;
  background: var(--gray-800);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.about-studio-logo {
  margin-bottom: 8px;
}
.about-studio-logo img {
  height: 32px;
  width: auto;
}
.about-text p {
  margin-bottom: 16px;
  color: var(--gray-400);
  line-height: 1.8;
  font-size: 1.0625rem;
}
.about-text p:last-child { margin-bottom: 0; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.about-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}
.about-stat-label {
  font-size: .8125rem;
  color: var(--gray-500);
}
.section-dark .about-stats {
  border-color: var(--gray-800);
}
.section-dark .about-stat-number {
  color: var(--white);
}
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  transition: gap var(--transition);
}
.about-link:hover { gap: 10px; }

/* --- ABOUT PAGE: History Grid --- */
.history-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.history-card {
  padding: 40px 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  border-right: 1px solid rgba(255,255,255,.1);
  transition: background .3s ease;
}
.history-card:nth-child(2n) { border-right: none; }
.history-card:hover { background: rgba(255,255,255,.03); }
.history-card-number {
  font-size: .75rem;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: .06em;
  display: block;
  margin-bottom: 16px;
}
.history-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.history-card-desc {
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--gray-400);
}
.history-card--highlight {
  background: rgba(255,255,255,.04);
  border-right: none;
}
.history-card--highlight .history-card-number { color: var(--gray-400); }
.history-card--highlight .history-card-desc { color: var(--gray-300); font-weight: 500; }

/* --- ABOUT PAGE: Values Grid --- */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-200);
}
.about-value-item {
  padding: 40px 32px;
  border-bottom: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
}
.about-value-item:nth-child(2n) {
  border-right: none;
}
.about-value-item:last-child {
  border-right: none;
}
.about-value-number {
  font-size: .75rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.about-value-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}
.about-value-desc {
  font-size: .9375rem;
  color: var(--gray-500);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .history-grid {
    grid-template-columns: 1fr;
  }
  .history-card {
    border-right: none;
    padding: 32px 0;
  }
  .history-card--highlight {
    padding: 32px 24px;
    border-radius: 12px;
  }
  .about-values-grid {
    grid-template-columns: 1fr;
  }
  .about-value-item {
    border-right: none;
    padding: 32px 0;
  }
}

/* --- TESTIMONIALS (Slider) --- */
/* Testimonial layout: sidebar + slider */
.testimonial-layout {
  display: flex;
  justify-content: center;
  align-items: stretch;
}
.testimonial-slider-wrapper {
  flex: 1;
  max-width: 1300px;
  min-width: 0;
  overflow: hidden;
  position: relative;
}
.testimonial-slides {
  display: flex;
  align-items: stretch;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  scroll-behavior: smooth;
}
.testimonial-slide {
  min-width: 33.333%;
  padding: 0 16px;
  box-sizing: border-box;
  display: flex;
  opacity: 0.75;
  transform: scale(0.96);
  transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.testimonial-slide.active {
  opacity: 1;
  transform: scale(1);
}
.testimonial-card {
  height: 100%;
  display: flex;
  flex: 1;
}
.testimonial-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  flex: 1;
  min-height: 420px;
}
.testimonial-quote {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 32px;
}
.testimonial-author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gray-200);
  margin-bottom: 12px;
}
.testimonial-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial-author h4 { font-size: 1rem; font-weight: 600; }
.testimonial-author p { font-size: .875rem; color: var(--gray-500); }
.testimonial-card--dark .testimonial-content {
  background: var(--white);
  border-color: var(--gray-200);
}
.testimonial-card--dark .testimonial-quote { color: var(--gray-700); }
.testimonial-card--dark .testimonial-author h4 { color: var(--black); }
.testimonial-card--dark .testimonial-author p { color: var(--gray-500); }
.testimonial-card--dark .testimonial-author-avatar { background: var(--gray-200); }
.testimonial-stars {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  justify-content: center;
}
.testimonial-stars svg {
  fill: #d4a017;
}

@media (max-width: 768px) {
  .testimonial-layout {
    flex-direction: column;
    gap: 24px;
  }
  .testimonial-sidebar {
    min-width: unset;
    max-width: unset;
    min-height: 180px;
  }
  .testimonial-sidebar-content {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 24px;
    gap: 16px;
  }
  .testimonial-sidebar-divider { display: none; }
  .testimonial-sidebar-logo { height: 22px; }
  .testimonial-sidebar-number { font-size: 1.75rem; }
  .testimonial-sidebar-rating { flex-direction: row; align-items: center; gap: 8px; }
  .testimonial-slide {
    min-width: 100%;
    padding: 0 4px;
  }
  .testimonial-content {
    padding: 28px 24px;
  }
  .testimonial-quote {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  .testimonial-author-avatar {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
  }
  .testimonial-author h4 { font-size: .9375rem; }
  .testimonial-author p { font-size: .8125rem; }
}

.testimonial-slider-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.slider-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gray-300);
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: border-color .35s ease, background .35s ease;
}
.slider-btn:hover {
  border-color: var(--gray-400);
  background: var(--gray-100);
}
.slider-arrow {
  width: 13px;
  height: 13px;
  display: block;
  filter: invert(46%) sepia(0%) saturate(0%) brightness(92%) contrast(88%);
  transition: filter .35s ease, transform .35s ease;
  pointer-events: none;
}
.slider-prev .slider-arrow {
  transform: rotate(180deg);
}
.slider-prev:hover .slider-arrow {
  filter: invert(0%) brightness(0%);
  transform: rotate(180deg) translateX(4px);
}
.slider-next:hover .slider-arrow {
  filter: invert(0%) brightness(0%);
  transform: translateX(4px);
}
@media (max-width: 768px) {
  .testimonial-slider-nav {
    margin-top: 20px;
    justify-content: center;
  }
  .slider-btn {
    width: 40px;
    height: 40px;
  }
}

/* --- BLOG (11) --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: border-color var(--transition);
}
.blog-card:hover { border-color: var(--black); }
.blog-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--gray-100);
  position: relative;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--transition);
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: .75rem;
  font-weight: 500;
  padding: 4px 12px;
  background: var(--white);
  border-radius: 100px;
}
.blog-card-body { padding: 24px; }
.blog-card-body h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 16px;
}
.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.blog-author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-200);
  overflow: hidden;
}
.blog-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.blog-author-name { font-size: .8125rem; color: var(--gray-600); }
.blog-date { font-size: .8125rem; color: var(--gray-400); }
.blog-card-desc {
  font-size: .875rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-hover {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
}
.blog-card:hover .blog-card-hover { opacity: 1; }
.blog-card-hover-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--white);
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 100px;
  transition: border-color .3s ease;
}
.blog-card:hover .blog-card-hover-btn { border-color: var(--white); }
.article-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

/* --- CONTACT (11) --- */
.contact-section {
  position: relative;
  overflow: clip;
}
.contact-light {
  background: var(--white);
  color: var(--black);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-light .text-tag { color: var(--gray-500); }
.contact-light .text-body { color: var(--gray-500); }

/* Left: Image + overlay info */
.contact-left { position: relative; }
.contact-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.contact-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.contact-info-block {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 60%, transparent 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info-label {
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
}
.contact-info-text {
  font-size: .9375rem;
  color: var(--gray-300);
  line-height: 1.6;
}
.contact-info-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact-info-address {
  font-size: 1rem;
  font-weight: 500;
}
.contact-info-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--white);
  transition: opacity var(--transition);
}
.contact-info-link:hover { opacity: .7; }

/* Right: Headline + list */
.contact-headline { margin-bottom: 40px; }
.contact-divider {
  height: 1px;
  background: var(--gray-200);
}
.contact-list {
  display: flex;
  flex-direction: column;
}
.contact-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
  cursor: pointer;
}
.contact-list-item:hover { transform: translateX(6px); }
.contact-list-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-list-info strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
}
.contact-list-info span {
  font-size: .875rem;
  color: var(--gray-500);
}
.contact-list-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-list-icon img {
  width: 13px;
  height: 13px;
  display: block;
  flex-shrink: 0;
  filter: invert(0%) brightness(0%);
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
}
.contact-list-item:hover .contact-list-icon img {
  transform: translateX(5px);
}

/* --- FAQ --- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.faq-col {}
@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
}
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  cursor: pointer;
  gap: 24px;
}
.faq-header h4 { font-size: 1rem; font-weight: 500; }
.faq-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.active .faq-arrow { transform: rotate(45deg); }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--transition);
}
.faq-body-inner { padding: 0 0 24px; color: var(--gray-500); font-size: .9375rem; line-height: 1.7; }

/* --- FOOTER --- */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.footer-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.footer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.8);
  z-index: 1;
}
.footer-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.3) 20%, rgba(0,0,0,.8) 50%, rgba(0,0,0,1) 70%, rgba(0,0,0,1) 100%);
  z-index: 2;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-nav-link {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.15;
  position: relative;
  display: inline-block;
  width: fit-content;
  transition: opacity var(--transition);
}
.footer-nav:hover .footer-nav-link { opacity: 0.3; }
.footer-nav:hover .footer-nav-link:hover { opacity: 1; }
.footer-nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: width .3s ease;
}
.footer-nav-link:hover::after { width: 100%; }

.footer-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.footer-logo {
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  margin-bottom: 24px;
}
.footer-chat {
  margin-bottom: 48px;
}
.footer-chat-label {
  display: block;
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.footer-email {
  font-size: 1.125rem;
  color: var(--white);
  font-weight: 500;
  transition: opacity var(--transition);
}
.footer-email:hover { opacity: 0.7; }

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-col-title {
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  font-size: .875rem;
  color: var(--gray-400);
  transition: color var(--transition);
}
.footer-link:hover { color: var(--white); }
.footer-link-icon {
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-link-icon svg {
  flex-shrink: 0;
  opacity: .6;
}
.footer-email-col {
  font-size: .875rem;
}
.footer-arrow-icon {
  width: 11px;
  height: 11px;
  display: block;
  flex-shrink: 0;
  filter: invert(46%) sepia(0%) saturate(0%) brightness(92%) contrast(88%);
  transition: filter var(--transition);
}
.footer-link-arrow:hover .footer-arrow-icon {
  filter: invert(1) brightness(2);
}

/* Footer link com seta + empurrão */
.footer-link-arrow-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-500);
  font-size: .875rem;
  font-weight: 400;
  text-decoration: none;
  transition: color var(--transition);
  overflow: hidden;
}
.footer-link-arrow-new:hover {
  color: var(--white);
}
.footer-arrow-chevron {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--gray-500);
  transition: color var(--transition), transform var(--transition);
}
.footer-link-arrow-new:hover .footer-arrow-chevron {
  color: var(--white);
}
.footer-arrow-chevron svg {
  width: 14px;
  height: 14px;
}
.footer-arrow-label {
  display: inline-block;
  transition: transform var(--transition);
}
.footer-link-arrow-new:hover .footer-arrow-label {
  transform: translateX(4px);
}

/* Marquee */
.footer-marquee {
  border-top: 1px solid var(--gray-800);
  padding: 40px 0;
  overflow: hidden;
  position: relative;
}
.footer-marquee::before,
.footer-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.footer-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.9), transparent);
}
.footer-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(0,0,0,.9), transparent);
}
.footer-marquee-track {
  display: flex;
  gap: 80px;
  align-items: center;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.footer-marquee-text {
  flex-shrink: 0;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.25), rgba(255,255,255,0.08));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  white-space: nowrap;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--gray-800);
  font-size: .8125rem;
  color: var(--gray-500);
  text-align: center;
}
.footer-bottom p { line-height: 1.7; }

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.active { opacity: 1; pointer-events: all; }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 16px;
  border-bottom: 1px solid var(--gray-200);
  background: rgba(255,255,255,.96);
  position: sticky;
  top: 0;
  z-index: 2;
}

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

.mobile-menu-brand img {
  height: 43px;
  width: auto;
  display: block;
}

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-close span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  display: block;
  transition: transform .3s ease, opacity .3s ease;
}

.mobile-menu-close span:nth-child(1) { transform: rotate(45deg); }
.mobile-menu-close span:nth-child(2) { transform: rotate(-45deg); }

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px 24px 32px;
  justify-content: space-between;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu .mobile-nav-link {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--black);
  padding: 12px 0;
  transition: color .2s;
  display: block;
  line-height: 1.1;
}
.mobile-menu .mobile-nav-link:hover { color: var(--gray-400); }

.mobile-menu-divider {
  width: 100%;
  height: 1px;
  background: var(--gray-200);
  margin: 16px 0;
}

.mobile-menu-bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
  margin-top: 48px;
}

.mobile-menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 0 24px;
  background: transparent;
  color: var(--black);
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font);
  text-decoration: none;
  transition: all var(--transition);
}
.mobile-menu-cta span:last-child {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s ease, margin .25s ease;
  flex-shrink: 0;
}
.mobile-menu-cta:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.mobile-menu-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu-info .lang-switch {
  margin-left: 0;
  margin-top: 0;
  font-size: .875rem;
}
.mobile-menu-email {
  font-size: .8125rem;
  color: var(--gray-400);
  transition: color .2s;
}
.mobile-menu-email:hover { color: var(--black); }

/* --- FORM MODAL --- */
/* --- INLINE FORM --- */
.contact-inline-form {
  margin-top: 32px;
}
.contact-inline-form .inline-form-steps {
  margin-bottom: 32px;
}
.contact-inline-form .inline-form-footer,
.contact-inline-form #formModalFooter {
  display: flex;
  align-items: center;
  margin-top: 28px;
}
.contact-inline-form .form-modal-btn-next {
  margin-left: auto;
}
.contact-whatsapp-alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  padding: 16px;
  border-radius: 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}
.contact-whatsapp-alt svg {
  flex-shrink: 0;
}
.contact-whatsapp-alt a {
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.contact-whatsapp-alt a:hover {
  text-decoration: underline;
}

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.form-modal.active {
  opacity: 1;
  pointer-events: all;
}
.form-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
}
.form-modal-content {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  width: 90%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  transform: translateY(20px) scale(.98);
  transition: transform .3s ease;
}
.form-modal.active .form-modal-content {
  transform: translateY(0) scale(1);
}
.form-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}
.form-modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.form-modal-subtitle {
  font-size: .875rem;
  color: var(--gray-500);
  margin-top: 4px;
}
.form-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-500);
  padding: 4px;
  transition: color var(--transition);
}
.form-modal-close:hover { color: var(--black); }

/* Steps progress */
.form-modal-steps {
  margin-bottom: 32px;
}
.step-progress {
  height: 2px;
  background: var(--gray-200);
  border-radius: 2px;
  margin-bottom: 12px;
  overflow: hidden;
}
.step-progress-bar {
  height: 100%;
  background: var(--black);
  border-radius: 2px;
  width: 33.33%;
  transition: width .4s ease;
}
.step-labels {
  display: flex;
  gap: 24px;
}
.step-label {
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  transition: color var(--transition);
}
.step-label.active { color: var(--black); }

/* Steps content */
.form-step {
  display: none;
}
.form-step.active {
  display: block;
}
.form-step-question {
  font-size: 1.0625rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.form-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.form-option {
  padding: 14px 18px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-family: var(--font);
  font-size: .9375rem;
  font-weight: 500;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}
.form-option:hover {
  border-color: var(--black);
}
.form-option.selected {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.form-options-sm {
  grid-template-columns: repeat(4, 1fr);
}
.form-option-sm {
  padding: 10px 12px;
  font-size: .8125rem;
}
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-input-modal {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-family: var(--font);
  font-size: .9375rem;
  background: var(--white);
  color: var(--black);
  transition: border-color var(--transition);
}
.form-input-modal:focus {
  outline: none;
  border-color: var(--black);
}
.form-input-modal::placeholder { color: var(--gray-400); }
textarea.form-input-modal { min-height: 100px; resize: vertical; }

/* Success */
.form-success {
  text-align: center;
  padding: 40px 0;
}
.form-success svg { margin-bottom: 16px; }
.form-success h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-success p {
  color: var(--gray-500);
  font-size: .9375rem;
}

/* Footer buttons */
.form-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}
.form-modal-btn-back {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-500);
  cursor: pointer;
  transition: color var(--transition);
  visibility: hidden;
}
.form-modal-btn-back.visible { visibility: visible; }
.form-modal-btn-back:hover { color: var(--black); }
.form-modal-btn-next {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: var(--font);
  font-size: .9375rem;
  font-weight: 500;
  cursor: pointer;
  margin-left: auto;
  transition: opacity var(--transition);
}
.form-modal-btn-next:hover { opacity: .85; }

@media (max-width: 768px) {
  .form-modal-content { padding: 24px; }
  .form-options { grid-template-columns: 1fr; }
  .form-options-sm { grid-template-columns: repeat(2, 1fr); }
  .step-labels { gap: 16px; }
}

/* --- CONTACT FLOAT --- */
.contact-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  z-index: 900;
  background: #55C4CE;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(85,196,206,.45), 0 2px 8px rgba(0,0,0,.15);
  transition: transform .3s ease, box-shadow .3s ease;
  text-decoration: none;
}
@media (max-width: 768px) {
  .contact-float {
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
  }
}
.contact-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(85,196,206,.6), 0 4px 12px rgba(0,0,0,.18);
}
.contact-float-wa-icon {
  width: 28px;
  height: 28px;
  color: #ffffff;
  display: block;
  flex-shrink: 0;
}
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root { --section-padding: 80px 0; }
  .container { padding: 0 24px; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-right-block { display: none; }
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .intro-right { display: none; }
  .intro-img-mobile { display: block; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-img { max-height: none; position: static; aspect-ratio: 3/4; width: 100%; }
  .partners-layout { grid-template-columns: 1fr; gap: 40px; }
  .partners-left { position: static; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-header { flex-direction: column; align-items: flex-start; }
  .testimonial-card { grid-template-columns: 1fr; }
  .testimonial-img { aspect-ratio: 16/9; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-img { aspect-ratio: 3/4; min-height: 500px; }
  .about-studio-logo img { height: 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .section-header-grid { grid-template-columns: 1fr; }
  .services-layout { grid-template-columns: 1fr; gap: 40px; }
  .services-left { position: static; }
  .eco-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-padding: 64px 0; }

  .nav-menu { display: none; }
  .nav-cta { display: none; }
  .mega-menu { display: none; }
  .navbar .lang-switch { display: none; }
  .navbar-inner {
    gap: 12px;
    height: 64px;
  }
  .nav-brand {
    flex: 1;
    min-width: 0;
  }
  .menu-toggle { display: flex; }
  .clients-marquee { display: block; }
  .hero-stats-line { display: block; }
  .hero-wrapper {
    position: relative;
    top: 0;
    height: auto;
    min-height: 100vh;
  }
  .hero {
    min-height: 100vh;
    min-height: var(--app-height, 100vh);
    padding-bottom: 52px;
  }
  .hero-content {
    padding-top: 100px;
  }
  body .hero .hero-top,
  body .hero .heading-01,
  body .hero .hero-subtitle,
  body .hero .hero-portfolio-label,
  .hero-desc {
    width: 100%;
    max-width: 100%;
  }
  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-right-block {
    display: none;
  }
  .hero .text-body-lg {
    font-size: 1rem;
  }
  .hero .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 16px;
  }
  .hero .heading-01 {
    font-size: clamp(2.05rem, 11vw, 3.2rem);
    line-height: 1.05;
  }
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-row a {
    width: 100%;
    justify-content: center;
  }
  .section-header--split {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
  }
  .big-word-text {
    font-size: 2.25rem;
  }
  .big-word-stars {
    gap: 2px;
  }
  .big-word-star {
    width: 16px;
    height: 16px;
  }
  .testimonial-layout {
    gap: 16px;
  }
  .testimonial-sidebar {
    min-height: 160px;
  }
  .testimonial-sidebar-content {
    flex-direction: column;
    gap: 14px;
    padding: 28px 20px;
  }
  .testimonial-sidebar-divider { display: none; }
  .testimonial-sidebar-logo { height: 24px; }
  .testimonial-sidebar-number { font-size: 2rem; }
  .testimonial-sidebar-label { font-size: .8125rem; }
  .testimonial-sidebar-rating-text { font-size: .75rem; }
  .testimonial-stars svg { width: 16px; height: 16px; }

  .video-section { height: 200vh; }
  .video-grid {
    width: 95vw;
    gap: 4px;
    transform: scale(2.5);
  }
  .video-wrapper {
    border-radius: 4px;
    aspect-ratio: 3/4;
  }
  .video-section-text {
    left: 50%;
    transform: translate(-50%, -50%) translateY(10px);
    text-align: center;
    width: 100vw;
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .video-section-text.visible {
    transform: translate(-50%, -50%) translateY(0);
  }

  .hero .text-body-lg { font-size: 1rem; }
  .heading-01 { font-size: 1.815rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-card { padding: 24px 16px; }

  .project-grid { grid-template-columns: 1fr; }
  .project-grid { gap: 24px; }
  .section-header-grid { margin-bottom: 32px !important; gap: 16px; }
  .section-header-grid .btn-outline { display: none; }
  .projects-btn-mobile { display: block; margin-top: 32px; }
  .tools-grid { grid-template-columns: 1fr; }
  .tool-group { border-right: none; }
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .partners-cards { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .testimonials-small { grid-template-columns: 1fr; }

  .main-content { border-radius: 14px 14px 0 0; }
  .main-content > .section:first-child { padding-top: 80px; }

  /* Intro */
  .intro-statement { margin-bottom: 48px; }

  /* Inline form */
  .step-labels { gap: 12px; flex-wrap: wrap; }
  .contact-inline-form .form-modal-btn-next { padding: 10px 20px; }

  /* Contact WhatsApp */
  .contact-whatsapp-alt { flex-wrap: wrap; justify-content: center; }

  /* Inclusion grid mobile */
  .inclusion-grid { grid-template-columns: 1fr; }

  .footer-columns { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 20px 12px; }

  /* Intro statement */
  .intro-statement { margin-bottom: 48px; }

  /* Who grid */
  .who-card { padding: 24px 20px; }

  /* Fail grid */
  .fail-item { gap: 12px; }
  .fail-statement { padding: 0; }
  .fail-statement p { font-size: clamp(1.25rem, 5vw, 1.5rem); }

  /* Inline form */
  .step-labels { gap: 8px; flex-wrap: wrap; }
  .step-label { font-size: .65rem; }
  .contact-whatsapp-alt { flex-direction: column; gap: 6px; padding: 14px; }
  .contact-whatsapp-alt a { margin-left: 0; }

  /* FAQ grid */
  .faq-header h4 { font-size: .9375rem; }

  /* About stats */
  .about-stat-number { font-size: 1.5rem; }

  /* Footer */
  .footer-nav-link { font-size: 1.25rem; }
}

/* ============================================
   INTERNAL PAGES
   ============================================ */

/* --- PAGE HERO --- */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
}
.page-hero-dark { background: var(--black); color: var(--white); }
.page-hero .text-tag { margin-bottom: 16px; display: block; }
.page-hero .heading-01 { margin-bottom: 20px; }
.page-hero-desc { max-width: 640px; font-size: 1.125rem; color: var(--gray-500); line-height: 1.7; }
.page-hero-dark .page-hero-desc { color: var(--gray-400); }
.page-hero-stats {
  display: flex; gap: 40px; margin-top: 32px; flex-wrap: wrap;
}
.page-hero-stat { text-align: left; }
.page-hero-stat .stat-number { font-size: 1.5rem; font-weight: 700; }
.page-hero-stat .stat-label { font-size: .8125rem; color: var(--gray-500); }
.page-hero-dark .page-hero-stat .stat-label { color: var(--gray-400); }
.page-hero-cta { margin-top: 32px; }

/* --- PROCESS STEPS --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.process-step {
  padding: 32px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  position: relative;
  transition: border-color var(--transition);
}
.process-step:hover { border-color: var(--black); }
.process-step-number {
  font-size: .75rem; font-weight: 600; color: var(--gray-400);
  margin-bottom: 12px; display: block;
}
.process-step h4 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 8px; }
.process-step p { font-size: .9375rem; color: var(--gray-500); line-height: 1.6; }

.section-dark .process-step { border-color: var(--gray-800); }
.section-dark .process-step:hover { border-color: var(--gray-500); }
.section-dark .process-step p { color: var(--gray-400); }

/* --- TIMELINE (processo por etapas) --- */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.timeline-step {
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
}
.timeline-marker {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}
.timeline-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--white);
  background: transparent;
  flex-shrink: 0;
  transition: border-color .3s ease, background .3s ease, color .3s ease;
}
.timeline-step.is-visible .timeline-number {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}
.timeline-line {
  height: 1px;
  flex: 1;
  background: var(--gray-800);
  position: relative;
  overflow: hidden;
  --fill: 0%;
}
.timeline-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: var(--fill);
  height: 100%;
  background: var(--gray-400);
}
.timeline-content {
  padding-right: 24px;
}
.timeline-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .05em;
  display: block;
  margin-bottom: 8px;
}
.timeline-content h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.timeline-content p {
  font-size: .875rem;
  color: var(--gray-400);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .timeline-step {
    flex-direction: row;
    gap: 24px;
  }
  .timeline-marker {
    flex-direction: column;
    margin-bottom: 0;
  }
  .timeline-line {
    height: auto;
    width: 1px;
    min-height: 24px;
    flex: 1;
  }
  .timeline-line::after {
    width: 100%;
    height: var(--fill);
  }
  .timeline-content {
    padding-right: 0;
    padding-bottom: 40px;
  }
  .timeline-step:last-child .timeline-content {
    padding-bottom: 0;
  }
  .processo-header {
    text-align: left !important;
    margin: 0 !important;
    max-width: 100% !important;
  }
  .timeline-number { width: 40px; height: 40px; font-size: .75rem; }
}

/* --- CARDS GRID (reasons, for-whom, inclusions) --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.info-card {
  padding: 32px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  transition: border-color var(--transition);
}
.info-card:hover { border-color: var(--black); }
.info-card-number { font-size: .75rem; font-weight: 600; color: var(--gray-400); margin-bottom: 12px; }
.info-card h4 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 8px; }
.info-card p { font-size: .9375rem; color: var(--gray-500); line-height: 1.6; }

.section-dark .info-card { border-color: var(--gray-800); }
.section-dark .info-card:hover { border-color: var(--gray-500); }
.section-dark .info-card p { color: var(--gray-400); }

/* --- WHY LAYOUT (side-by-side) --- */
.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.why-left {
  position: sticky;
  top: 120px;
}
.why-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.why-card {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-800);
}
.why-card:first-child { border-top: 1px solid var(--gray-800); }
.why-card-number {
  font-size: .75rem;
  font-weight: 600;
  color: var(--gray-500);
  min-width: 28px;
  padding-top: 3px;
}
.why-card-content h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--white);
}
.why-card-content p {
  font-size: .9375rem;
  color: var(--gray-400);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .why-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-left {
    position: static;
  }
}

/* --- WHO HEADER --- */
.who-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}
.who-header-left {
  flex: 1;
}
@media (max-width: 768px) {
  .who-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* --- WHO GRID (Para quem é) --- */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
}
.who-card {
  padding: 32px;
  background: var(--white);
}
.who-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  margin-bottom: 20px;
}
.who-card h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.who-card p {
  font-size: .875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .who-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .who-grid { grid-template-columns: 1fr; }
}

/* --- FAIL SECTION (Por que falha) --- */
.fail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}
.fail-header-left { flex: 1; }

.fail-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.fail-card {
  padding: 24px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
}
.fail-card-x {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c00;
  margin-bottom: 16px;
}
.fail-card h4 {
  font-size: .9375rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.fail-card p {
  font-size: .8125rem;
  color: var(--gray-500);
  line-height: 1.5;
}
.fail-statement {
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}
.fail-statement p {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--gray-500);
}
.fail-statement strong {
  color: var(--black);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .fail-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .fail-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .fail-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .fail-cards { grid-template-columns: 1fr; }
}

/* --- COMPARE GRID (LP vs Site Institucional) --- */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.compare-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  padding: 40px 32px;
}
.compare-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-800);
}
.compare-card-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}
.compare-card-tag {
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-500);
  background: var(--gray-800);
  padding: 6px 12px;
  border-radius: 100px;
}
.compare-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .9375rem;
  color: var(--gray-400);
  line-height: 1.6;
}
.compare-list li svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--white);
}
@media (max-width: 768px) {
  .compare-grid { grid-template-columns: 1fr; }
  .compare-card { padding: 32px 24px; }
}

/* --- PLATFORM GRID (E-commerce) --- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.platform-card {
  background: var(--gray-900);
  border: none;
  border-radius: 12px;
  padding: 40px 32px;
}
.platform-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}
.platform-card {
  position: relative;
}
.platform-card p {
  font-size: .9375rem;
  color: var(--gray-400);
  line-height: 1.7;
}
.platform-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--black);
  background: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.platform-highlights {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.platform-highlights li {
  font-size: .8125rem;
  color: var(--gray-300);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--gray-800);
  padding: 6px 12px;
  border-radius: 6px;
}
@media (max-width: 768px) {
  .platform-grid { grid-template-columns: 1fr; }
  .platform-card { padding: 32px 24px; }
}

/* --- ERROR LIST --- */
.error-list { list-style: none; padding: 0; }
.error-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: .9375rem;
  color: var(--gray-500);
  line-height: 1.6;
}
.error-list li::before {
  content: '×';
  position: absolute;
  left: 0;
  color: var(--gray-400);
  font-weight: 700;
  font-size: 1.125rem;
}
.section-dark .error-list li { color: var(--gray-400); }

/* --- CHECK LIST --- */
.check-list { list-style: none; padding: 0; }
.check-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: .9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* --- INCLUSION GRID (legacy) --- */
.inclusion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.inclusion-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.inclusion-item p { font-size: .9375rem; color: var(--gray-500); line-height: 1.6; }
.section-dark .inclusion-item h4 { color: var(--white); }
.section-dark .inclusion-item p { color: var(--gray-400); }

/* --- INCLUSO (O que está incluso) --- */
.incluso-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}
.incluso-header-left {
  flex-shrink: 0;
}
.incluso-header > p {
  padding-top: 40px;
}
.incluso-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.incluso-item {
  padding: 32px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.incluso-item:nth-child(-n+3) {
  border-top: 1px solid rgba(255,255,255,0.2);
}
.incluso-num {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  margin-bottom: 16px;
  font-family: 'Archivo', sans-serif;
}
.incluso-item h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--white);
}
.incluso-item p {
  font-size: .9375rem;
  color: var(--gray-400);
  line-height: 1.65;
}
/* Light section variant */
.section-light .incluso-item { border-top-color: rgba(0,0,0,0.08); }
.section-light .incluso-item:nth-child(-n+3) { border-top-color: rgba(0,0,0,0.15); }
.section-light .incluso-item h4 { color: var(--black); }
.section-light .incluso-item p { color: var(--gray-500); }
.section-light .incluso-num { color: var(--gray-400); }

@media (max-width: 900px) {
  .incluso-header {
    flex-direction: column;
    gap: 16px;
  }
  .incluso-header > p {
    padding-top: 0;
    max-width: 100% !important;
  }
  .incluso-grid {
    grid-template-columns: 1fr;
  }
  .incluso-item {
    padding: 24px 0;
  }
}

/* --- PLATFORM CARDS --- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.platform-card {
  padding: 32px;
  border: none;
  border-radius: 12px;
}
.platform-card:hover { border-color: transparent; }
.platform-card h4 { font-size: 1.125rem; font-weight: 600; margin-bottom: 12px; }
.platform-card p { font-size: .9375rem; color: var(--gray-500); line-height: 1.6; }

/* --- ABOUT PAGE --- */
.timeline-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-200);
}
.timeline-item:last-child { border-bottom: none; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.value-item h4 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 8px; }
.value-item p { font-size: .9375rem; color: var(--gray-500); line-height: 1.7; }

/* --- BLOG ARTICLE --- */
.article-content-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  margin-top: 48px;
}
.article-sidebar-inner {
  position: sticky;
  top: 100px;
}
.article-sidebar-label {
  display: block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  margin-bottom: 16px;
  font-weight: 500;
}
.article-toc {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--gray-200);
}
.article-toc-link {
  display: block;
  padding: 10px 0 10px 16px;
  font-size: .8125rem;
  color: var(--gray-500);
  text-decoration: none;
  line-height: 1.5;
  transition: color .3s ease;
  border-left: 2px solid transparent;
  margin-left: -1px;
}
.article-toc-link:hover {
  color: var(--black);
  border-left-color: var(--black);
}
.article-lead {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 24px;
  font-weight: 400;
}
.article-body-col h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
  color: var(--black);
}
.article-body-col p {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}
/* Legacy styles */
.article-header {
  padding: 160px 0 48px;
  max-width: 720px;
  margin: 0 auto;
}
.article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.article-meta span { font-size: .8125rem; color: var(--gray-500); }
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 80px;
}
.article-body h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 40px 0 16px;
  letter-spacing: -0.01em;
}
.article-body p {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}
.article-cta {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 0;
  border-top: 1px solid var(--gray-200);
}
@media (max-width: 768px) {
  .article-content-grid { grid-template-columns: 1fr; gap: 0; }
  .article-sidebar { display: none; }
}
.related-posts {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 0;
  border-top: 1px solid var(--gray-200);
}

/* ============================================
   AMPLAMEDIA CONTENT ADAPTATION
   ============================================ */
.brand-intro-wordmark,
.brand-wordmark,
.sidebar-wordmark {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1;
}
.brand-intro-wordmark { color: var(--white); font-size: clamp(2rem, 5vw, 4rem); opacity: 0; animation: brandFadeIn .8s ease forwards; }
.brand-intro-wordmark span,
.brand-wordmark span,
.sidebar-wordmark span { font-weight: 300; opacity: .68; }
.brand-wordmark { font-size: 1.35rem; color: var(--white); transition: color var(--transition); min-width: 126px; }
.navbar.scrolled .brand-wordmark { color: var(--black); }
.internal-page .brand-wordmark { color: var(--black); }
.sidebar-wordmark { color: var(--white); font-size: 1.55rem; }

.amplamedia-site .nav-menu { gap: 23px; }
.amplamedia-site .nav-link { font-size: .8125rem; }
.amplamedia-site .nav-cta { padding: 9px 18px; white-space: nowrap; }
.hero-portfolio-label { margin-top: 20px; color: rgba(255,255,255,.55); font-size: .8125rem; text-transform: uppercase; letter-spacing: .1em; }
.hero-cta-row { display: flex; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.btn-ghost-light { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 1px solid rgba(255,255,255,.28); border-radius: 100px; color: var(--white); font-size: .875rem; font-weight: 500; transition: var(--transition); }
.btn-ghost-light:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.amplamedia-site .hero-desc .text-body-lg { color: rgba(255,255,255,.75); }
.amplamedia-site .hero .heading-01 { max-width: 800px; }
.amplamedia-site .hero-service-item > span:last-child { transition: transform .25s ease; }
.amplamedia-site .hero-service-item:hover > span:last-child { transform: translate(2px,-2px); }

#clientes .section-header--split,
#depoimentos .section-header--split {
  margin-bottom: 60px;
}

.section-title-gap { margin-top: 16px; }
.section-side-copy {
  max-width: 760px;
  margin: 0 auto;
  color: var(--gray-400);
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
}
.section-side-copy--dark { color: var(--gray-600); }
.ampla-intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: end; }
.ampla-intro-copy {
  max-width: 540px;
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  align-items: flex-start;
}
.ampla-intro-copy .text-body-lg { margin: 20px 0 28px; }
.ampla-intro-copy .text-tag,
.ampla-intro-copy .text-body-lg,
.ampla-intro-copy .btn-outline {
  text-align: left;
}
.ampla-dark-button { border-color: var(--black); }
.ampla-intro-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.ampla-metric { padding: 28px 20px; border-right: 1px solid var(--gray-200); }
.ampla-metric:last-child { border-right: 0; }
.ampla-metric strong { display: block; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -.04em; margin-bottom: 10px; }
.ampla-metric span { color: var(--gray-500); font-size: .8125rem; line-height: 1.4; }

.ampla-featured-projects { margin-top: 48px; }
.project-arrow-btn { font-style: normal; font-weight: 600; }
.project-directory { margin-top: 80px; border-top: 1px solid var(--gray-800); }
.project-directory-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--gray-800); color: var(--gray-500); text-transform: uppercase; letter-spacing: .08em; font-size: .6875rem; }
.project-directory-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.project-directory-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 70px;
  padding: 0 20px 0 0;
  border-bottom: 1px solid var(--gray-800);
  color: var(--white);
  transition: padding var(--transition), background var(--transition);
  white-space: nowrap;
}
.project-directory-grid a:nth-child(odd) { border-right: 1px solid var(--gray-800); }
.project-directory-grid a:nth-child(even) { padding-left: 20px; }
.project-directory-grid a:hover { background: rgba(255,255,255,.035); padding-right: 12px; }
.project-directory-grid a span { color: var(--gray-600); font-size: .6875rem; }
.project-directory-grid a strong {
  font-size: .875rem;
  font-weight: 500;
  display: block;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}
.project-directory-grid a i { color: var(--gray-500); font-style: normal; text-align: right; }
.project-directory-grid a .cta-arrow { width: 11.264px; height: 11.264px; display: inline-block; flex-shrink: 0; filter: invert(46%) sepia(0%) saturate(0%) brightness(92%) contrast(88%); transition: var(--transition); }
.project-directory-grid a:hover .cta-arrow { filter: invert(1) brightness(1.1); transform: translateX(4px); }
.services-left {
  text-align: left;
  align-items: flex-start;
  margin-left: 0;
  margin-right: auto;
  max-width: 500px;
}
.services-left > * {
  text-align: left;
  width: 100%;
}
.service-lead { margin-top: 16px; color: var(--gray-500); }
.amplamedia-site .service-icon { font-size: 1.1rem; }

.client-logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--gray-800); border-left: 1px solid var(--gray-800); }
.client-logo-slot { min-height: 130px; display: grid; place-items: center; padding: 28px 32px; border-right: 1px solid var(--gray-800); border-bottom: 1px solid var(--gray-800); position: relative; overflow: hidden; background: var(--white); }
.client-logo-slot img { max-width: 90%; height: auto; object-fit: contain; display: block; filter: grayscale(100%); opacity: .7; transition: filter .4s ease, opacity .4s ease; }
.client-logo-slot:hover img { filter: grayscale(0%); opacity: 1; }
.client-grid-note { color: var(--gray-600); font-size: .75rem; margin-top: 16px; text-align: right; }

.solutions-section { background: #eeeeec; }
.solutions-heading { max-width: 820px; margin-bottom: 56px; }
.solutions-heading .text-body-lg { margin-top: 18px; }
.solutions-heading > * { width: 100%; }
.solutions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: stretch; }
.solution-card { background: var(--white); border: 1px solid rgba(0,0,0,.09); border-radius: 18px; padding: 42px; display: flex; flex-direction: column; min-height: 100%; transition: transform var(--transition), box-shadow var(--transition); }
.solution-card:hover { transform: translateY(-5px); box-shadow: 0 22px 60px rgba(0,0,0,.08); }
.solution-card--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.solution-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 44px; }
.solution-number { font-size: .75rem; color: var(--gray-400); font-weight: 600; }
.solution-type { font-size: .6875rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gray-500); border: 1px solid var(--gray-200); border-radius: 100px; padding: 7px 12px; }
.solution-card--dark .solution-type { border-color: var(--gray-700); color: var(--gray-400); }
.solution-card h3 { font-size: clamp(1.55rem, 3vw, 2.3rem); line-height: 1.12; letter-spacing: -.03em; margin-bottom: 18px; }
.solution-card > p { color: var(--gray-600); line-height: 1.72; font-size: .95rem; }
.solution-card--dark > p { color: var(--gray-400); }
.solution-audience { margin: 30px 0; padding-top: 24px; border-top: 1px solid var(--gray-200); }
.solution-card--dark .solution-audience { border-color: var(--gray-800); }
.solution-audience > span { display: block; text-transform: uppercase; letter-spacing: .1em; color: var(--gray-400); font-size: .6875rem; margin-bottom: 12px; }
.solution-audience ul { display: grid; gap: 7px; }
.solution-audience li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--gray-600);
  font-size: .875rem;
  line-height: 1.45;
  position: relative;
}
.solution-card--dark .solution-audience li { color: var(--gray-400); }
.solution-audience li::before {
  content: '✓';
  position: relative;
  flex: 0 0 auto;
  font-size: .95rem;
  line-height: 1.2;
  font-weight: 700;
  color: rgba(17,17,17,.9);
  margin-top: 1px;
}
.solution-card--dark .solution-audience li::before {
  color: rgba(255,255,255,.9);
}
.solution-investment { margin-top: auto; background: var(--gray-100); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; }
.solution-card--dark .solution-investment { background: var(--gray-900); }
.solution-investment small { text-transform: uppercase; letter-spacing: .1em; color: var(--gray-500); font-size: .625rem; margin-bottom: 6px; }
.solution-investment strong { font-size: 1.28rem; letter-spacing: -.02em; }
.solution-investment span { color: var(--gray-500); font-size: .8rem; margin-top: 3px; }
.solution-support { color: var(--gray-500); font-size: .75rem; line-height: 1.5; margin-top: 14px; }
.solution-support strong { color: currentColor; }
.solution-cta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; min-height: 48px; padding: 0 20px; border: 1px solid var(--black); border-radius: 100px; font-size: .8125rem; font-weight: 500; transition: var(--transition); }
.solution-cta:hover { background: var(--black); color: var(--white); }
.solution-cta .cta-arrow {
  width: 11.264px;
  height: 11.264px;
  display: inline-block;
  flex-shrink: 0;
  transition: var(--transition);
}
.solution-cta:hover .cta-arrow { filter: invert(1) brightness(1.1); transform: translateX(4px); }
.solution-card--dark .solution-cta { border-color: var(--gray-700); }
.solution-card--dark .solution-cta:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.solution-card--dark .solution-cta .cta-arrow { filter: invert(46%) sepia(0%) saturate(0%) brightness(92%) contrast(88%); }
.solution-card--dark .solution-cta:hover .cta-arrow { filter: invert(0%) brightness(0%); transform: translateX(4px); }
.traffic-model { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 20px; }
.traffic-model > small { grid-column: 1/-1; text-transform: uppercase; letter-spacing: .1em; color: var(--gray-500); font-size: .625rem; }
.traffic-model > div { border: 1px solid var(--gray-800); border-radius: 10px; padding: 16px; }
.traffic-model strong { display: block; font-size: 1.5rem; }
.traffic-model span { color: var(--gray-500); font-size: .7rem; line-height: 1.35; }
.traffic-proof { color: var(--gray-400) !important; font-size: .8rem !important; line-height: 1.55 !important; margin: 0 0 18px; }

.testimonial-stars { color: #d4a017; letter-spacing: .12em; font-size: .875rem; }
.testimonial-initials { display: grid; place-items: center; font-weight: 700; font-size: .75rem; color: var(--black); }
.testimonial-card--dark .testimonial-initials { color: var(--black); }
.testimonial-slides { display: flex; transition: transform .5s cubic-bezier(.25,.46,.45,.94); }
.amplamedia-site .testimonial-quote { font-size: .96rem; }
.contact-headline {
  text-align: left;
  align-items: flex-start;
  margin-left: 0;
  margin-right: auto;
  max-width: 620px;
}
.contact-headline > * {
  text-align: left;
  width: 100%;
}

/* Contact section — reveal refinement & arrow overrides */
.contact-section .reveal {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(2px);
  transition: opacity 1s cubic-bezier(.25,.46,.45,.94),
              transform 1s cubic-bezier(.25,.46,.45,.94),
              filter 1s cubic-bezier(.25,.46,.45,.94);
}
.contact-section .reveal.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.contact-section .reveal-delay-1 { transition-delay: .15s; }

/* Arrow in contact-list-icon uses same style as directory arrows */
.contact-list-icon .cta-arrow {
  width: 13px;
  height: 13px;
  filter: invert(46%) sepia(0%) saturate(0%) brightness(92%) contrast(88%);
  transition: filter var(--transition), transform var(--transition);
}
.contact-list-item:hover .contact-list-icon .cta-arrow {
  filter: invert(0%) brightness(0%);
  transform: translateX(3px) translateY(-3px);
}
.contact-info-link { gap: 20px; }
.footer-content-layer { position: relative; z-index: 2; }
.footer-link-static { color: var(--gray-500); font-size: .875rem; line-height: 1.5; }
.back-to-top { color: var(--gray-500); transition: color var(--transition); }
.back-to-top:hover { color: var(--white); }
.contact-float-monogram { width: 100%; height: 100%; display: grid; place-items: center; background: var(--white); color: var(--black); border-radius: 50%; font-weight: 700; font-size: .72rem; letter-spacing: -.03em; }
.success-mark { width: 48px; height: 48px; margin: 0 auto 16px; display: grid; place-items: center; border: 1px solid var(--black); border-radius: 50%; font-size: 1.2rem; }

/* Portfolio internal pages */
.about-profile { margin-top: 100px; }

.portfolio-page-hero {
  height: 300px;
  margin-top: 80px;
  padding-top: 80px;
  display: flex;
  align-items: center;
  background: var(--black);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.portfolio-page-hero .container {
  text-align: center;
  width: 100%;
}
.portfolio-page-hero .text-tag { color: var(--gray-500); }
.portfolio-page-hero .heading-01 { max-width: 900px; margin: 18px auto 0; text-align: center; }
.portfolio-page-hero .page-hero-desc { color: var(--gray-400); margin-top: 22px; max-width: 700px; margin-left: auto; margin-right: auto; text-align: center; }
.portfolio-page-hero .page-hero-cta { margin-top: 32px; }
.portfolio-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.portfolio-tabs.portfolio-tabs-center { justify-content: center; margin-top: 30px; }
.portfolio-tabs .filter-tab { border: 1px solid var(--gray-300); border-radius: 100px; padding: 10px 18px; font-size: .75rem; color: var(--gray-500); transition: var(--transition); }
.portfolio-tabs .filter-tab:hover,
.portfolio-tabs .filter-tab.active { background: var(--black); border-color: var(--black); color: var(--white); }
.portfolio-placeholder-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.portfolio-slot { aspect-ratio: 1/1; border: 1px solid var(--gray-200); border-radius: 14px; background: linear-gradient(135deg,#f7f7f7,#ededed); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; color: var(--gray-400); transition: border-color var(--transition), transform var(--transition); }
.portfolio-slot:hover { border-color: var(--gray-400); transform: translateY(-3px); }
.portfolio-slot-mark { width: 42px; height: 42px; border: 1px solid var(--gray-300); border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 600; }
.portfolio-slot span:last-child { font-size: .6875rem; text-transform: uppercase; letter-spacing: .1em; }
.portfolio-note { margin-top: 24px; color: var(--gray-500); font-size: .75rem; }

/* Portfolio grid with images */
.portfolio-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.portfolio-grid .project-item { aspect-ratio: 1/1; border-radius: 16px; overflow: hidden; background: var(--gray-100); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); border: 1px solid rgba(0,0,0,0.06); cursor: pointer; position: relative; }
.portfolio-grid .project-item:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,.12); border-color: rgba(0,0,0,0.12); }
.portfolio-grid .project-image { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.portfolio-grid .project-item:hover .project-image { transform: scale(1.03); }
.portfolio-grid .project-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.08) 100%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.portfolio-grid .project-item:hover::after { opacity: 1; }

/* Section header center */
.section-header--center { text-align: center; margin-bottom: 32px; display: flex; flex-direction: column; align-items: center; }
.section-header--center > div { width: 100%; max-width: 800px; }
.section-header--center .section-side-copy { margin-top: 16px; }

/* Portfolio first section reduced top spacing */
.portfolio-page-hero + main > .section:first-child { padding-top: 20px; }

/* Image Modal */
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.image-modal.active {
  opacity: 1;
  visibility: visible;
}
.image-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  transition: background var(--transition);
}
.image-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition);
}
.image-modal.active .image-modal-content {
  transform: scale(1) translateY(0);
}
.image-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--white);
  border-radius: 50%;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
  z-index: 10;
}
.image-modal-close:hover {
  transform: rotate(90deg);
  background: var(--gray-200);
}
.image-modal-close span {
  position: absolute;
  width: 16px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
}
.image-modal-close span:first-child { transform: rotate(45deg); }
.image-modal-close span:last-child { transform: rotate(-45deg); }
.image-modal-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.image-modal.active .image-modal-img {
  opacity: 1;
  transform: scale(1);
}
.image-modal-info {
  text-align: center;
  color: var(--white);
}
.image-modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.image-modal-category {
  font-size: 0.875rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.image-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--black);
  transition: transform var(--transition), background var(--transition), opacity var(--transition);
  z-index: 10;
  opacity: 0.9;
}
.image-modal-nav:hover {
  transform: translateY(-50%) scale(1.1);
  background: var(--gray-100);
  opacity: 1;
}
.image-modal-nav:active {
  transform: translateY(-50%) scale(0.95);
}
.image-modal-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.image-modal-nav:disabled:hover {
  transform: translateY(-50%);
  background: var(--white);
}
.image-modal-prev { left: calc(50% - 400px); }
.image-modal-next { right: calc(50% - 400px); }
.image-modal-nav svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 1100px) {
  .image-modal-prev { left: calc(50% - 300px); }
  .image-modal-next { right: calc(50% - 300px); }
}

@media (max-width: 768px) {
  .image-modal-prev { left: 8px; }
  .image-modal-next { right: 8px; }
}
.internal-footer { background: var(--black); color: var(--white); padding: 64px 0 24px; }
.internal-footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3,1fr); gap: 48px; padding-bottom: 56px; }
.internal-footer h4 { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gray-500); margin-bottom: 12px; }
.internal-footer p,
.internal-footer a { color: var(--gray-400); font-size: .875rem; line-height: 1.65; }
.internal-footer a:hover { color: var(--white); }
.internal-page .nav-cta { background: var(--black); color: var(--white); }
.internal-footer .brand-wordmark { color: var(--white); font-size: 1.7rem; }
.internal-footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--gray-800); padding-top: 22px; color: var(--gray-600); font-size: .75rem; }

@media (max-width: 1100px) {
  .amplamedia-site .nav-menu { gap: 15px; }
  .amplamedia-site .nav-cta { display: none; }
  .client-logo-grid { grid-template-columns: repeat(4,1fr); }
  .portfolio-placeholder-grid { grid-template-columns: repeat(3,1fr); }
  .portfolio-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
  .ampla-intro-grid { grid-template-columns: 1fr; gap: 42px; }
  .ampla-intro-metrics { grid-template-columns: 1fr; }
  .ampla-metric { border-right: 0; border-bottom: 1px solid var(--gray-200); }
  .ampla-metric:last-child { border-bottom: 0; }
  .section-side-copy { justify-self: start; }
  .project-directory-grid { grid-template-columns: 1fr; }
  .project-directory-grid a:nth-child(odd) { border-right: 0; }
  .project-directory-grid a:nth-child(even) { padding-left: 0; }
  .client-logo-grid { grid-template-columns: repeat(2,1fr); }
  .client-logo-slot { min-height: 100px; padding: 20px; }
  .solution-card { padding: 30px 24px; }
  .solution-card-top { margin-bottom: 30px; }
  .portfolio-placeholder-grid { grid-template-columns: repeat(2,1fr); }
  .portfolio-grid { grid-template-columns: repeat(2,1fr); }
  .internal-footer-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-page-hero { height: 260px; margin-top: 70px; text-align: center; }
  .portfolio-page-hero .heading-01 { text-align: center; }
  .portfolio-page-hero .page-hero-desc { text-align: center; }
  .hero-cta-row { align-items: stretch; }
  .hero-cta-row a { justify-content: center; }
  .brand-wordmark { font-size: 1.56rem; }
}
@media (max-width: 480px) {
  .client-logo-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-placeholder-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .portfolio-slot span:last-child { font-size: .58rem; }
  .internal-footer-grid { grid-template-columns: 1fr; }
  
  /* Modal responsive */
  .image-modal-content { max-width: 95vw; gap: 16px; }
  .image-modal-img { max-height: 60vh; }
  .image-modal-title { font-size: 1.2rem; }
  .image-modal-close { top: -36px; width: 28px; height: 28px; }
  .image-modal-close span { width: 14px; }
  
  /* Navigation arrows responsive */
  .image-modal-nav { width: 40px; height: 40px; }
  .image-modal-nav svg { width: 20px; height: 20px; }
  .image-modal-prev { left: 8px; }
  .image-modal-next { right: 8px; }
  
  /* Portfolio tabs mobile */
  .portfolio-tabs.portfolio-tabs-center { justify-content: center; }
  .portfolio-tabs .filter-tab { padding: 8px 14px; font-size: .6875rem; }
}
  .internal-footer-bottom { flex-direction: column; }
  .traffic-model { grid-template-columns: 1fr; }
  .traffic-model > small { grid-column: auto; }
}

/* --- CONTACT PAGE --- */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.channel-card {
  padding: 28px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  transition: border-color var(--transition);
}
.channel-card:hover { border-color: var(--black); }
.channel-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.channel-card p { font-size: .9375rem; color: var(--gray-500); }
.channel-card a { font-weight: 500; }

/* --- Contact Form Grid --- */
.contato-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 768px) {
  .contato-form-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* --- PARTNERS PAGE --- */
.partner-model {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 64px 0;
  border-bottom: 1px solid var(--gray-200);
}
.partner-model:last-of-type { border-bottom: none; }
.partner-model h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 16px; }
.partner-model p { color: var(--gray-500); line-height: 1.7; margin-bottom: 16px; }

/* --- MULTI-STEP FORM --- */
.multistep-form .form-step { display: none; }
.multistep-form .form-step.active { display: block; }
.step-indicator {
  display: flex; gap: 8px; margin-bottom: 32px;
}
.step-dot {
  width: 32px; height: 4px;
  background: var(--gray-200);
  border-radius: 2px;
  transition: background var(--transition);
}
.step-dot.active { background: var(--black); }
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.option-btn {
  padding: 16px 20px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: .9375rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
}
.option-btn:hover,
.option-btn.selected {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}
.form-nav {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

/* --- PORTFOLIO CASE PAGE --- */
.case-header {
  padding: 160px 0 48px;
}
.case-info {
  display: flex; gap: 32px; flex-wrap: wrap; margin-top: 16px;
}
.case-info-item { font-size: .875rem; color: var(--gray-500); }
.case-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 48px 0;
}
.case-gallery img,
.case-gallery .placeholder-img {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--gray-100);
}
.case-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin: 48px 0;
}
.case-content h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; }
.case-content p { color: var(--gray-500); line-height: 1.7; }

@media (max-width: 768px) {
  .page-hero { padding: 120px 0 48px; }
  .partner-model { grid-template-columns: 1fr; gap: 32px; }
  .contact-channels { grid-template-columns: 1fr; }
  .case-content { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-stats { gap: 24px; }
  .work-stats { grid-template-columns: repeat(2, 1fr); }
  .work-stat-item:nth-child(2) { border-right: none; }
  .work-stat-item { padding: 24px 16px; }
  .work-filter { gap: 6px; }
  .filter-tab { padding: 8px 14px; font-size: .8125rem; }
}

/* ============================================
   AMPLAMEDIA — MOBILE STABILIZATION
   Regras exclusivamente móveis; o desktop permanece inalterado.
   ============================================ */
@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  body { min-width: 0; }

  .container,
  .container-wide {
    width: 100%;
    max-width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  /* Navegação */
  .navbar .container { padding-right: 20px; padding-left: 20px; }
  .navbar-inner { height: 70px; }
  .nav-logo {
    display: block;
    width: auto;
    max-width: 195px;
    height: auto;
    max-height: 73px;
    object-fit: contain;
    object-position: left center;
  }
  .menu-toggle { flex: 0 0 24px; }
  .mobile-menu { height: 100dvh; max-width: 100vw; }
  .mobile-menu-header {
    padding: calc(14px + env(safe-area-inset-top)) 20px 14px;
  }
  .mobile-menu-brand img {
    display: block;
    width: auto;
    max-width: 195px;
    height: auto;
    max-height: 52px;
    object-fit: contain;
    object-position: left center;
  }
  .mobile-menu-inner {
    min-height: calc(100dvh - 69px - env(safe-area-inset-top));
    padding: 20px 20px calc(24px + env(safe-area-inset-bottom));
  }
  .mobile-menu .mobile-nav-link {
    padding: 9px 0;
    font-size: clamp(1.65rem, 8.5vw, 2.35rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }
  .mobile-menu-bottom { gap: 16px; margin-top: 32px; padding-top: 24px; }
  .mobile-menu-email { overflow-wrap: anywhere; }

  /* Hero */
  .hero-wrapper,
  .hero {
    min-height: 100svh;
  }
  .hero {
    /* Reduz pela metade o excesso vertical entre o header e o primeiro texto. */
    padding-bottom: clamp(40px, calc(50svh - 280px), 150px);
  }
  .hero-content { padding-top: 92px; }
  body .hero .hero-top { margin-bottom: 30px; }
  body .hero .hero-top,
  body .hero .hero-desc,
  body .hero .heading-01,
  body .hero .hero-subtitle,
  body .hero .hero-portfolio-label {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  body .hero .heading-01 {
    font-size: clamp(2rem, 10.5vw, 3.1rem);
    line-height: 1.02;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }
  body .hero .hero-subtitle {
    margin-bottom: 16px;
    font-size: .9rem;
    line-height: 1.45;
  }
  .hero-desc .text-body-lg { line-height: 1.55; }
  .hero-portfolio-label { line-height: 1.45; }
  .hero-cta-row { width: 100%; gap: 10px; }
  .hero-cta-row .btn-ghost-light { width: 100%; min-width: 0; }

  /* Ritmo, títulos e alinhamento das seções */
  .main-content > .section:first-child { padding-top: 72px; }
  .section-header--split,
  .section-header-grid,
  .solutions-heading {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    align-items: flex-start;
    text-align: left;
  }
  .section-header--center {
    align-items: center !important;
    text-align: center !important;
  }
  .section-header--center > div {
    text-align: center !important;
  }
  .section-header--center .heading-03 {
    text-align: center !important;
  }
  .section-header--center .text-tag {
    text-align: center !important;
  }
  .section-header--split > div,
  .section-header-grid > div,
  .section-header--split > p,
  .section-header-grid > p,
  .section-header--split > .section-side-copy,
  .section-header-grid > .section-side-copy,
  .solutions-heading > * {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    text-align: left;
  }
  .section-header--center > div,
  .section-header--center > p,
  .section-header--center > .section-side-copy,
  .section-header--center > * {
    text-align: center;
  }
  .section .heading-02,
  .section .heading-03,
  .section .text-tag { text-align: left; }
  .section-side-copy { font-size: .9375rem; line-height: 1.6; }
  #clientes .section-header--split,
  #depoimentos .section-header--split { margin-bottom: 36px; }

  /* Apresentação e perfil */
  .intro-statement { margin-bottom: 40px; }
  .intro-statement-text {
    max-width: 100%;
    font-size: 1.1rem;
    line-height: 1.58;
  }
  .ampla-intro-grid { gap: 36px; }
  .ampla-intro-copy { width: 100%; max-width: 100%; }
  .ampla-intro-copy .text-body-lg { font-size: 1.05rem; line-height: 1.62; }
  .ampla-intro-copy .btn-outline { width: 100%; justify-content: center; }
  .ampla-metric { padding: 24px 0; }
  .section-top-bar { margin-bottom: 36px; padding-bottom: 18px; }
  .about-profile,
  .about-profile-header,
  .about-profile-body,
  .about-profile-copy { width: 100%; min-width: 0; }
  .about-profile { margin-top: 50px; }
  .about-profile-header .about-profile-lead,
  .about-profile-copy .text-body-lg {
    font-size: 1rem;
    line-height: 1.62;
    text-align: left;
  }
  .about-profile-body { gap: 20px; margin-top: 22px; }
  .about-profile-image .about-image { width: 100%; max-width: 100%; }

  /* Projetos */
  .project-directory-head { gap: 16px; }
  .project-directory-head span { min-width: 0; }
  .project-directory-grid a,
  .project-directory-grid a:nth-child(even) {
    min-height: 64px;
    min-width: 0;
    padding-right: 4px;
    padding-left: 0;
    white-space: normal;
  }
  .project-directory-grid a strong {
    min-width: 0;
    padding-right: 12px;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.4;
  }

  /* Serviços e clientes */
  .services-layout { gap: 32px; }
  .services-left { width: 100%; max-width: 100%; }
  .service-header { gap: 18px; padding: 20px 0; }
  .service-header-left,
  .service-title { min-width: 0; }
  .service-title { line-height: 1.25; overflow-wrap: anywhere; }
  .service-desc { max-width: 100%; }
  .client-logo-grid { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-logo-slot { min-width: 0; min-height: 96px; padding: 16px; }
  .client-logo-slot img { max-width: 88%; max-height: 64px; }

  /* Soluções */
  .solutions-heading { margin-bottom: 36px; }
  .solutions-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .solution-card { min-width: 0; padding: 28px 22px; border-radius: 14px; }
  .solution-card-top { margin-bottom: 28px; }
  .solution-card h3,
  .solution-card > p,
  .solution-investment,
  .solution-support { overflow-wrap: anywhere; }
  .solution-investment { padding: 18px; }
  .solution-investment strong { font-size: 1.12rem; line-height: 1.3; }
  .solution-cta { width: 100%; min-width: 0; }

  /* Depoimentos */
  .testimonial-slider-wrapper,
  .testimonial-slides,
  .testimonial-slide,
  .testimonial-card { min-width: 0; max-width: 100%; }
  .testimonial-slide { min-width: 100%; padding: 0; }
  .testimonial-content { min-height: 0; padding: 26px 22px; }
  .testimonial-stars { justify-content: flex-start; }
  .testimonial-quote { overflow-wrap: anywhere; }

  /* Contato */
  .contact-grid { gap: 36px; }
  .contact-img { min-height: 0; aspect-ratio: 4 / 5; }
  .contact-headline { width: 100%; max-width: 100%; margin-bottom: 28px; }
  .contact-list-item { min-width: 0; gap: 14px; }
  .contact-list-info { min-width: 0; }
  .contact-list-info span { overflow-wrap: anywhere; line-height: 1.45; }

  /* Rodapé */
  .footer { padding-top: 64px; }
  .footer-top { gap: 40px; padding-bottom: 48px; }
  .footer-nav { width: 100%; }
  .footer-nav-link { max-width: 100%; overflow-wrap: anywhere; }
  .footer-info { min-width: 0; }
  .footer-logo { max-width: 208px; height: 62px; }
  .footer-chat { margin-bottom: 36px; }
  .footer-email { display: inline-block; max-width: 100%; font-size: 1rem; overflow-wrap: anywhere; }
  .footer-columns { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .internal-footer .footer-logo { height: 42px; width: auto; }
  .footer-col,
  .footer-links,
  .footer-link,
  .footer-link-static { min-width: 0; max-width: 100%; }
  .footer-link-icon { align-items: flex-start; overflow-wrap: anywhere; }

  /* Formulário modal */
  .form-modal { padding: 12px; }
  .form-modal-content {
    width: 100%;
    max-width: 560px;
    max-height: calc(100dvh - 24px);
    padding: 22px 20px;
    border-radius: 14px;
    overscroll-behavior: contain;
  }
  .form-modal-header { gap: 16px; margin-bottom: 22px; }
  .form-modal-header > div { min-width: 0; }
  .form-modal-title { font-size: 1.3rem; line-height: 1.2; }
  .form-modal-subtitle { line-height: 1.45; }
  .form-modal-close { flex: 0 0 32px; width: 32px; height: 32px; font-size: 1.5rem; line-height: 1; }
  .form-modal-steps { margin-bottom: 24px; }
  .step-labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .step-label { min-width: 0; font-size: .62rem; line-height: 1.3; overflow-wrap: anywhere; }
  .form-step-question { line-height: 1.4; }
  .form-option { min-width: 0; white-space: normal; }
  .form-modal-footer { gap: 12px; margin-top: 24px; padding-top: 20px; }
  .form-modal-btn-next { padding-right: 18px; padding-left: 18px; }
}

@media (max-width: 480px) {
  .container,
  .container-wide,
  .navbar .container { padding-right: 16px; padding-left: 16px; }
  .mobile-menu-header { padding-right: 16px; padding-left: 16px; }
  .mobile-menu-inner { padding-right: 16px; padding-left: 16px; }
  body .hero .heading-01 { font-size: clamp(1.9rem, 10.2vw, 2.65rem); }
  .project-directory-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .solution-card { padding-right: 20px; padding-left: 20px; }
  .footer-nav-link { font-size: 1.3rem; }
  .form-modal { padding: 8px; }
  .form-modal-content { max-height: calc(100dvh - 16px); padding: 20px 16px; }
}
