/* Base variables & Reset */
:root {
  --bg-color: #ffffff;
  /* Fundo branco puro */
  --text-primary: #050505;
  /* Letras quase pretas */
  --text-secondary: #555555;
  /* Cinza para textos de apoio */

  /* Brand Palette */
  --brand-blue: #0047ff;
  --brand-1: #0147FF;
  /* Vibrant Blue */
  --brand-2: #0099FF;
  /* Light Blue */
  --brand-3: #0900FF;
  /* Deep Blue */
  --brand-4: #00E9FF;
  /* Cyan */
  --brand-5: #5C00FF;
  /* Purple */

  --accent-color: var(--brand-1);
  /* Azul como cor de destaque ao invés do ciano no fundo claro */
  --surface-color: #f7f7f7;
  /* Fundo dos cards (cinza claro) */
  --border-color: #e2e2e2;
  --bento-media-size: clamp(185px, 55%, 275px);
  /* Tamanho aumentado em ~25% */
  --flyers-scale: 0.8;
  /* Escala apenas para compensar o peso visual do flyer */

  --font-sans: 'Outfit', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;

  --spacing-section: 120px;
  --faixa-superior: #EEF1F8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: clip;
  background-color: var(--bg-color);
  background-image:
    radial-gradient(circle at 10% 20%, rgba(9, 0, 255, 0.03), transparent 30%),
    radial-gradient(circle at 90% 60%, rgba(92, 0, 255, 0.03), transparent 30%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography Defaults */
h1,
h2,
h3,
h4 {
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 65ch;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navigation */
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 5%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  border-bottom: 1px solid var(--border-color);
}

.nav-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.brand-link:hover {
  transform: scale(1.03);
}
.brand-symbol {
  display: inline-block;
  height: 36px;
  width: auto;
  aspect-ratio: 247 / 224;
  background-color: var(--brand-blue);
  -webkit-mask-image: url('logo/logotroika_cropped.png');
  mask-image: url('logo/logotroika_cropped.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
@media (max-width: 768px) {
  .brand-symbol {
    height: 30px;
  }
}
.brand {
  color: var(--brand-blue);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a:not(.btn-ghost) {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.nav-links a:not(.btn-ghost):hover {
  color: var(--text-primary);
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: var(--brand-1);
  color: #ffffff;
  /* Pure white text */
  padding: 1rem 2rem;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 4px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  will-change: transform;
}

.btn-primary:hover {
  background-color: var(--brand-2);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-ghost {
  display: inline-block;
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.btn-ghost:hover {
  border-color: var(--text-primary);
}

/* Layout Blocks */
.section-container {
  padding: var(--spacing-section) 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 3rem;
}

.eyebrow {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 400px;
  gap: 1.5rem;
}

.bento-cell {
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--surface-color);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.bento-cell:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.2);
}

.bento-media-container {
  width: 100%;
  height: var(--bento-media-size);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 2rem;
}

.bento-media {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  animation: floatMedia 5s ease-in-out infinite;
  cursor: grab;
  user-select: none;
  touch-action: none;
  will-change: transform;
}

.bento-media.is-dragging {
  animation-play-state: paused !important;
  cursor: grabbing;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.25)) !important;
  z-index: 10;
}

.bento-media.drop-shadow-fix {
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.12));
  width: calc(100% * var(--flyers-scale, 1));
  height: calc(100% * var(--flyers-scale, 1));
  max-width: calc(100% * var(--flyers-scale, 1));
  max-height: calc(100% * var(--flyers-scale, 1));
}

@keyframes floatMedia {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bento-media {
    animation: none;
  }
}

.floating-delay-1 {
  animation-delay: 0s;
}

.floating-delay-2 {
  animation-delay: 0.6s;
}

.floating-delay-3 {
  animation-delay: 1.2s;
}

.floating-delay-4 {
  animation-delay: 1.8s;
}

.floating-delay-5 {
  animation-delay: 2.4s;
}

.floating-delay-6 {
  animation-delay: 3s;
}

.bento-cell h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  z-index: 2;
}

.bento-cell p {
  font-size: 1rem;
  z-index: 2;
}

.highlight-cell {
  background: linear-gradient(135deg, var(--brand-5) 0%, var(--brand-3) 100%);
  color: #ffffff;
  border-color: var(--brand-5);
}

.visual-cell {
  padding: 0;
  border: none;
}

.visual-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.visual-cell:hover img {
  transform: scale(1.05);
}

.large-cell {
  grid-column: span 2;
}

.split-inner {
  display: flex;
  height: 100%;
  gap: 2rem;
}

.split-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.split-visual-mini {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f0f0f;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

/* Wireframe Mockup inside Web Design card */
.wireframe-mock {
  width: 80%;
  height: 60%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-header {
  height: 20px;
  background: #222;
  border-radius: 4px;
}

.mock-body {
  flex: 1;
  background: #1a1a1a;
  border-radius: 4px;
}

.mock-footer {
  height: 15px;
  background: #222;
  border-radius: 4px;
  width: 60%;
}

/* Clients Marquee */
.marquee-wrapper {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
  /* subtle gradient masks on edges */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee-scroll 70s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 1rem));
  }

  /* Shift by half of track */
}

.client-card {
  width: 260px;
  height: 380px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.client-card:hover {
  transform: translateY(-5px);
  border-color: var(--text-primary);
}

.client-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-photo.placeholder {
  background: linear-gradient(135deg, #111, #222);
}

.client-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-primary);
}

/* Brands Logo Strip */
.logo-strip {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #060606;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 4rem 0;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-marquee-track {
  display: flex;
  gap: 20rem;
  width: max-content;
  align-items: center;
  animation: logo-scroll 70s linear infinite reverse;
}

.logo-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes logo-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 3rem));
  }

  /* Shift by half of track minus half gap */
}

.logo-item {
  display: block;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.logo-item:hover {
  opacity: 1;
}

.logo-item img {
  height: 60px;
  transform: scale(6);
  max-width: 600px;
  width: auto;
  object-fit: contain;
  /* Optional filter to make them white if they are black logos */
  /* filter: brightness(0) invert(1); */
}

.faixa-bg-wrapper {
  position: relative;
  width: 100%;
  background-color: var(--faixa-superior);
  padding-top: 80px;
  z-index: 1;
}

/* Process Block */
.process-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 80px;
  z-index: 1;
}

.process-wrapper::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 50%;
  background: #ffffff;
  z-index: 0;
}

.process-card-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  z-index: 1;
}

.process-card {
  display: flex;
  position: relative;
  z-index: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  max-width: 880px;
  height: 380px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.process-visual {
  flex: 0 0 45%;
  background: linear-gradient(135deg, #181818, #0f0f0f);
  height: 100%;
}

.process-content {
  flex: 1;
  background: var(--brand-1);
  /* Vibrant Blue matching brand identity */
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}

.process-content h2 {
  font-size: 28px;
  margin-bottom: 2rem;
  line-height: 1.1;
}

.process-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.process-steps li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 16px;
  font-weight: 600;
}

.process-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.btn-white {
  display: inline-block;
  background-color: #ffffff;
  color: var(--brand-1);
  padding: 1.25rem 2rem;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 4px;
  text-align: center;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  will-change: transform;
}

.btn-white:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .process-card {
    flex-direction: column;
  }

  .process-content {
    padding: 3rem 2rem;
  }
}

/* Solution Section */
.solution-wrapper {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.solution-visual {
    flex: 1;
    background: var(--surface-color);
    min-height: 500px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

video::-webkit-media-controls {
    display: none !important;
}
video::-webkit-media-controls-enclosure {
    display: none !important;
}


.solution-content {
  flex: 1;
}

.solution-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.s-feature-box {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-3));
  box-shadow: 0 10px 30px rgba(1, 71, 255, 0.15);
  color: #ffffff !important;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.3s ease;
}

.s-feature-box:hover {
  transform: translateY(-5px);
}

.s-feature-box svg {
  width: 32px;
  height: 32px;
}

.s-feature-box p {
    color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Video Grid Section */
.portfolio-group-title {
  max-width: 1000px;
  margin: 0 auto 24px auto;
  text-align: left;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.video-grid,
.art-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.video-card {
  background: var(--surface-color);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

.video-thumb {
  aspect-ratio: 16/9;
  background: #111;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: transform 0.2s;
}

.play-btn:hover {
  transform: scale(1.1);
}

.play-btn svg {
  width: 24px;
  height: 24px;
  color: #fff;
  margin-left: 4px;
}

.video-label {
  background: var(--brand-1);
  color: #fff;
  text-align: center;
  padding: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.art-grid .video-label {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: var(--brand-1);
  /* Vibrant Blue */
  color: #fff;
  padding: 3rem 2rem;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  background: var(--brand-2);
  /* Hover lighten */
}

.benefit-card .b-icon {
  width: 48px;
  height: 48px;
  color: #fff;
}

.benefit-card h4 {
  font-size: 1.25rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.benefit-card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 900px) {
  .solution-wrapper {
    flex-direction: column;
  }

  .video-grid,
  .art-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid,
  .solution-features {
    grid-template-columns: 1fr;
  }
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  border-radius: var(--radius-md);
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
}

.pricing-card.highlight {
  background: #ffffff;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 233, 255, 0.15), 0 0 0 2px var(--brand-4);
  color: #050505;
}

.pricing-card.highlight h3 {
  color: #050505;
}

.pricing-card.highlight .pricing-features li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: #222;
}

.pricing-card.highlight .check-icon {
  color: var(--brand-1);
  /* Blue check on white */
}

.pricing-card.highlight .btn-white {
  background-color: var(--brand-1);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(1, 71, 255, 0.2);
}

.pricing-card.highlight .btn-white:hover {
  background-color: var(--brand-3);
  transform: translateY(-2px);
}

.pricing-card.standard {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 3rem;
  background-color: var(--brand-4);
  /* Cyan highlight */
  color: #000;
  padding: 0.5rem 1rem;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  border-radius: 4px;
  letter-spacing: 0.1em;
}

.pricing-card h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
  font-size: 1.05rem;
}

.pricing-card.standard .pricing-features li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.check-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--brand-4);
  /* Cyan */
}

.w-full {
  width: 100%;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ Section */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
  background: #ffffff;
  border-color: var(--brand-1);
}

.faq-item summary {
  padding: 1.5rem 2rem;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  /* Hide default arrow */
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--brand-4);
  font-size: 1.75rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 2rem 1.5rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Footer CTA */
.footer-cta {
  background-color: var(--brand-1);
  color: #fff;
  padding-block: 56px;
  padding-inline: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-content h2 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  margin-bottom: 16px;
  color: #fff;
}

.footer-content p {
  margin: 0 auto 28px;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
}

.massive-btn {
  background-color: #fff;
  color: var(--brand-1);
  font-size: 1.25rem;
  padding: 0 2rem;
  height: 64px;
  border-radius: 8px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.massive-btn:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 64px;
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 32px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(0,0,0,0.08);
  color: #6B7280;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-cell {
    grid-column: span 1;
  }

  .large-cell {
    grid-column: span 1;
  }

  .split-inner {
    flex-direction: column;
  }

  .split-visual-mini {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* simple collapse for mobile, ideally hamburger */
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 350px;
  }

  .bento-cell {
    grid-column: span 1;
  }

  .large-cell {
    grid-column: span 1;
  }

  .bento-cell {
    grid-column: span 1;
  }

  .large-cell {
    grid-column: span 1;
  }

  .work-gallery {
    grid-template-columns: 1fr;
  }
}

/* Language Dropdown */
.lang-dropdown-wrapper {
  position: relative;
}

.lang-options {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  min-width: 100%;
  z-index: 2100;
  opacity: 1;
  visibility: visible;
  transition: all 0.2s ease;
}

.lang-options.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
}

.lang-option {
  padding: 0.75rem 1rem;
  cursor: pointer;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.lang-option:hover {
  background: var(--surface-color);
  color: var(--brand-1);
}

/* About Us Section */
.about-section {
  max-width: 1200px;
  margin: 0 auto;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-visual {
  position: relative;
  padding: 2rem;
}
.about-image-wrapper {
  position: relative;
  z-index: 2;
  max-width: 400px;
  margin: 0 auto;
}
.about-video {
  width: 100%;
  display: block;
  z-index: 2;
  position: relative;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  background-color: #111;
  aspect-ratio: 9/16;
  object-fit: cover;
}

.about-content {
  position: relative;
  padding-left: 1rem;
}

.about-title {
  color: var(--brand-1);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 2rem;
}
.about-content p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1.15rem;
}
.about-content strong {
  color: var(--text-primary);
  font-weight: 700;
}

@media (max-width: 900px) {
  .about-grid { 
    grid-template-columns: 1fr; 
    gap: 3rem;
  }
  .about-visual {
    padding: 1rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .process-card {
    flex-direction: column;
    width: 92%;
    height: auto;
  }
  .process-visual {
    width: 100%;
    height: 300px;
  }
  .process-content {
    padding: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }
}


/* Location Map Section */
.section-divider {
  max-width: 1200px;
  width: calc(100% - 48px);
  margin: 0 auto;
  border: none;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.location-section {
  padding-top: 72px;
  padding-bottom: 96px;
  background-color: transparent;
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
.location-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}
.location-content p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 1.5rem;
}
.location-support-text {
  font-size: 0.875rem !important;
  color: #888 !important;
  margin-top: 1rem;
}
.location-map-wrapper {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.coverage-map {
  width: 100%;
  height: 480px;
  position: relative;
  z-index: 0;
  isolation: isolate;
}
.leaflet-container {
  font-family: inherit;
}
.custom-leaflet-marker {
  background-color: #0147ff;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.custom-leaflet-marker.main-marker {
  width: 18px !important;
  height: 18px !important;
  background-color: #0147ff;
}

@media (max-width: 768px) {
  .location-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .coverage-map {
    height: 340px;
  }
  .location-title {
    font-size: 2rem;
  }
}


/* Filtro para deixar o OpenStreetMap com aspecto minimalista */
.location-map-wrapper .leaflet-tile-pane {
  filter: grayscale(1) contrast(0.92) brightness(1.06);
}

/* Contact Section Buttons */
.alt-channel-btn {
  background-color: transparent;
  border: 1.5px solid #fff;
  color: #fff;
  border-radius: 8px;
  height: 44px;
  padding: 0 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.alt-channel-btn:hover {
  background-color: #fff;
  color: var(--brand-1);
}
.alt-channel-btn:hover svg path {
  fill: var(--brand-1);
}

@media (max-width: 768px) {
  .footer-cta {
    padding-block: 40px;
  }
  .alt-channels-container {
    flex-direction: column;
    align-items: center;
  }
  .alt-channel-btn {
    width: 90%;
    justify-content: center;
  }
  .massive-btn {
    font-size: 1.1rem;
    padding-inline: 1.5rem !important;
  }
}

/* --- MOBILE FIXES --- */
@media (max-width: 768px) {
  /* BUG 2: Vertical white line in clients section */
  .marquee-wrapper, .logo-strip {
    mask-image: none !important;
    -webkit-mask-image: none !important;
    border: none !important;
  }
  .marquee-wrapper::before, .marquee-wrapper::after,
  .logo-strip::before, .logo-strip::after {
    display: none !important;
  }

  /* BUG 3 & BUG 4: Solution section scroll lock & overlapping */
  #solution {
    height: auto !important;
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
  #solution > div {
    position: relative !important;
    height: auto !important;
    display: block !important;
  }
  .solution-visual {
    display: none !important;
  }
  .solution-wrapper {
    display: block !important;
  }
  .solution-content {
    margin-top: 2rem !important;
  }
}
