@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* ==========================================================================
   DESIGN TOKENS & VARIABLES
   ========================================================================== */
:root {
  /* Colors */
  --bg-dark-primary: #080d16;
  --bg-dark-secondary: #131b26;
  --bg-dark-card: #182230;
  --bg-dark-services: #20282E;
  --bg-team-light: #E1F2F2;
  
  --accent-gold: #c5a880;
  --accent-gold-hover: #b5976f;
  --accent-gold-light: rgba(197, 168, 128, 0.15);
  
  --accent-orange: #d97e1c;
  --accent-orange-hover: #c46d14;
  
  --bg-light-primary: #ffffff;
  --bg-light-secondary: #f8f9fa;
  --bg-light-cream: #faf7f2;
  --bg-team-light: #E1F2F2;
  
  --text-white: #ffffff;
  --text-light-gray: #f3f4f6;
  --text-muted-light: #9ca3af;
  --text-dark-primary: #111827;
  --text-dark-secondary: #374151;
  --text-muted-dark: #6b7280;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-dark: rgba(0, 0, 0, 0.06);
  --border-gold: rgba(197, 168, 128, 0.3);

  /* Fonts */
  --font-sans: 'Outfit', sans-serif;
  --font-serif: 'Cormorant Garamond', serif;

  /* Layout */
  --max-width: 1240px;
  --header-height: 90px;
  --topbar-height: 40px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-light-primary);
  color: var(--text-dark-secondary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scrollbar Style */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold-hover);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--text-dark-primary);
  line-height: 1.25;
  font-weight: 700;
}

p {
  margin-bottom: 1.25rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

em, .serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Common Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section Common Layout */
.section-padding {
  padding: 7.5rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 4.5rem 0;
  }
  .container {
    padding: 0 1.25rem;
  }
}

/* ==========================================================================
   BUTTONS & CALLS TO ACTION
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
}

/* Ghost Outline Button (Light BG) */
.btn-outline-dark {
  background: transparent;
  color: var(--text-dark-primary);
  border-color: var(--text-dark-primary);
}
.btn-outline-dark:hover {
  background: var(--text-dark-primary);
  color: var(--text-white);
  transform: translateY(-2px);
}
.btn-outline-dark svg {
  transition: transform var(--transition-normal);
}
.btn-outline-dark:hover svg {
  transform: translate(3px, -3px);
}

/* Ghost Outline Button (Dark BG) */
.btn-outline-light {
  background: transparent;
  color: var(--text-white);
  border-color: var(--border-light);
}
.btn-outline-light:hover {
  background: var(--text-white);
  color: var(--bg-dark-primary);
  border-color: var(--text-white);
  transform: translateY(-2px);
}
.btn-outline-light svg {
  transition: transform var(--transition-normal);
}
.btn-outline-light:hover svg {
  transform: translate(3px, -3px);
}

/* Filled Accent Orange Button */
.btn-orange {
  background: var(--accent-orange);
  color: var(--text-white);
  border-color: var(--accent-orange);
  box-shadow: 0 4px 15px rgba(217, 126, 28, 0.2);
}
.btn-orange:hover {
  background: var(--accent-orange-hover);
  border-color: var(--accent-orange-hover);
  box-shadow: 0 6px 20px rgba(217, 126, 28, 0.35);
  transform: translateY(-2px);
}
.btn-orange svg {
  transition: transform var(--transition-normal);
}
.btn-orange:hover svg {
  transform: translate(3px, -3px);
}

/* Arrow Icon styling */
.arrow-up-right {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2px;
  fill: none;
}

/* Badges / Pill Tags */
.badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  background-color: var(--bg-light-secondary);
  color: var(--text-muted-dark);
  border-radius: 4px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-dark);
}

.badge-dark {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--accent-gold);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.topbar {
  background-color: var(--bg-dark-primary);
  color: var(--text-muted-light);
  height: var(--topbar-height);
  font-size: 0.8rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  z-index: 1001;
  position: relative;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.topbar-left {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent-gold);
  fill: none;
  stroke-width: 1.5px;
}

.topbar-right {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.topbar-social {
  display: flex;
  gap: 1rem;
}

.topbar-social-link {
  color: var(--text-muted-light);
  transition: var(--transition-fast);
}

.topbar-social-link:hover {
  color: var(--accent-gold);
}

.topbar-social-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Instagram icon outline rendering overrides */
.topbar-social-link[aria-label="Instagram"] svg,
.footer-social-btn[aria-label="Instagram"] svg {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.75px !important;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: absolute;
  top: var(--topbar-height);
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
}

/* Sticky Class triggered via JS */
.header.sticky {
  position: fixed;
  top: 0;
  background-color: rgba(8, 13, 22, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-light);
  height: 80px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  height: 40px;
}

.logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* Desktop Nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-link {
  color: var(--text-light-gray);
  font-weight: 400;
  font-size: 0.9rem;
  position: relative;
  padding: 0.5rem 0;
  letter-spacing: 0.02em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--accent-gold);
  transition: var(--transition-normal);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--text-white);
  font-weight: 500;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 0.35rem 0.6rem;
  transition: var(--transition-fast);
}

.lang-switcher:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.lang-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

/* Nine dots Grid Icon */
.nine-dots-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 20px;
  color: var(--text-light-gray);
  transition: var(--transition-fast);
}

.nine-dots-btn:hover {
  color: var(--accent-gold);
}

.nine-dots-grid {
  display: grid;
  grid-template-columns: repeat(3, 4px);
  gap: 3px;
  width: 100%;
  height: 100%;
}

.nine-dots-grid span {
  width: 4px;
  height: 4px;
  background-color: currentColor;
  border-radius: 50%;
  display: block;
}

/* Mobile Menu Toggle button */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  font-size: 1.5rem;
}

/* Mobile Drawer Overlay */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: var(--bg-dark-primary);
  z-index: 1100;
  padding: 3rem 2rem;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
  transition: right var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 1.75rem;
  cursor: pointer;
}

.mobile-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.mobile-nav-link {
  color: var(--text-light-gray);
  font-size: 1.25rem;
  font-weight: 500;
  display: block;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--accent-gold);
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1099;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  backdrop-filter: blur(4px);
}

.drawer-backdrop.show {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 991px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .lang-switcher {
    margin-right: 0.5rem;
  }
}

/* ==========================================================================
   HERO / BANNER SECTION
   ========================================================================== */
.hero {
  position: relative;
  background-color: var(--bg-dark-primary);
  min-height: 100vh;
  padding-top: calc(var(--header-height) + var(--topbar-height) + 2rem);
  display: flex;
  align-items: center;
  color: var(--text-white);
  overflow: hidden;
  border-bottom-left-radius: 50% 4.5vw;
  border-bottom-right-radius: 50% 4.5vw;
  z-index: 5;
}

/* Rotating backgrounds inside Hero */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
}

/* Dark glass overlays over slide backgrounds */
.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(8, 13, 22, 0.95) 0%, rgba(8, 13, 22, 0.75) 45%, rgba(8, 13, 22, 0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.hero-text-block {
  max-width: 550px;
  display: none;
  flex-direction: column;
  align-items: flex-start;
}

.hero-text-block.active {
  display: flex;
  animation: heroTextFadeUp 0.8s ease-in-out forwards;
}

@keyframes heroTextFadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title-container {
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 4.25rem;
  line-height: 1.1;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.hero-title strong {
  display: block;
  font-weight: 600;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light-gray);
  font-weight: 300;
  line-height: 1.5;
  border-left: 2px solid var(--accent-gold);
  padding-left: 1.5rem;
}

.hero-subtitle em {
  color: var(--accent-gold);
}

.hero-bottom-arrow {
  margin-top: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  color: var(--text-white);
  transition: var(--transition-normal);
}

.hero-bottom-arrow:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(3px);
}

.hero-bottom-arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2px;
  fill: none;
}

/* Slider Controls on right side */
.hero-controls {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-controls-number {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted-light);
  letter-spacing: 0.1em;
}

.hero-controls-number.active {
  color: var(--accent-gold);
  font-weight: 700;
}

.hero-dot-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
}

.hero-dot.active {
  background-color: var(--accent-gold);
  transform: scale(1.5);
}

@media (max-width: 991px) {
  .hero {
    padding-top: 140px;
    padding-bottom: 60px;
    min-height: auto;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-title {
    font-size: 3rem;
  }
  .hero-controls {
    justify-self: start;
    flex-direction: row;
    width: 100%;
    justify-content: flex-start;
    margin-top: 2rem;
  }
  .hero-dot-container {
    flex-direction: row;
  }
}

/* ==========================================================================
   SECTION 1: QUEM SOMOS (Intro block)
   ========================================================================== */
.intro-block {
  background-color: var(--bg-light-primary);
  position: relative;
  z-index: 10;
  margin-top: -1px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 5rem;
  align-items: center;
}

.intro-text-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.intro-title {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-dark-primary);
  margin-bottom: 2rem;
  line-height: 1.25;
  font-size: 2.45rem;
  letter-spacing: -0.01em;
}

.intro-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: inherit;
}

.intro-title strong {
  font-family: var(--font-sans);
  font-weight: 600;
  font-style: normal;
  color: inherit;
}

.intro-image-column {
  position: relative;
}

.intro-image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  position: relative;
}

.intro-image-wrapper img {
  width: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.intro-image-wrapper:hover img {
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ==========================================================================
   SECTION 2: CORPORATE DETAIL AND SERVICES OVERVIEW
   ========================================================================== */
.services-section {
  position: relative;
  width: 100%;
}

.services-top-split {
  background: linear-gradient(to right, #ffffff 50%, var(--bg-dark-services) 50%);
  position: relative;
  width: 100%;
}

.services-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.services-top-left {
  background-color: #ffffff;
  padding: 6.5rem 4.5rem 6.5rem 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark-secondary);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.services-top-left p {
  margin-bottom: 0;
}

.services-intro-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  height: 520px;
  margin-bottom: -150px;
  position: relative;
  z-index: 11;
}

.services-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-top-right {
  background-color: var(--bg-dark-services);
  color: var(--text-white);
  padding: 6.5rem 0 6.5rem 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.services-box-title {
  color: var(--text-white);
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.services-box-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--text-white);
}

.services-box-desc {
  color: var(--text-light-gray);
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.services-bottom-cards {
  background-color: var(--bg-dark-services);
  padding: 0 0 7.5rem 0;
  position: relative;
  width: 100%;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 12;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 3.5rem 2.5rem;
  color: var(--text-white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all var(--transition-normal);
  min-height: 420px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.service-card-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  margin-bottom: 2.5rem;
  transition: var(--transition-fast);
}

.service-card:hover .service-card-icon-wrapper {
  background-color: var(--text-white);
  color: var(--bg-dark-services);
  border-color: var(--text-white);
}

.service-card-icon-wrapper svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 1.5px;
  fill: none;
}

.service-card-title {
  color: var(--text-white);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.service-card-desc {
  color: var(--text-muted-light);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 3.5rem;
}

.service-card-arrow {
  margin-top: auto;
  color: var(--text-muted-light);
  transition: var(--transition-normal);
}

.service-card:hover .service-card-arrow {
  color: var(--text-white);
  transform: translate(4px, -4px);
}

.service-card-arrow svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2px;
  fill: none;
}

@media (max-width: 991px) {
  .services-top-split {
    background: #ffffff;
  }
  .services-top-grid {
    grid-template-columns: 1fr;
  }
  .services-top-left {
    padding: 4rem 0;
  }
  .services-top-right {
    padding: 4rem 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
  }
  .services-bottom-cards {
    padding: 0 0 4rem 0;
  }
  .services-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .services-intro-image {
    height: 340px;
    margin-bottom: 0;
  }
}

/* ==========================================================================
   SECTION 3: CASES / TRANSACTIONS
   ========================================================================== */
.cases-section {
  background-color: var(--bg-light-primary);
  padding: 6.5rem 0;
}

@media (max-width: 991px) {
  .cases-section {
    padding-top: 4.5rem;
  }
}

.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.cases-text-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cases-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

.cases-title em {
  color: var(--accent-gold);
}

.cases-desc {
  color: var(--text-dark-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.cases-logos-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
  overflow: hidden;
}

.cases-logos-carousel-container {
  overflow: hidden;
  width: 100%;
  max-width: 632px; /* 3 cards of 200px + 2 margins of 16px */
  position: relative;
}

.cases-logos-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  animation: logo-scroll 25s linear infinite;
}

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

.cases-logos-track .partner-logo-card {
  flex: 0 0 200px !important;
  width: 200px !important;
  max-width: 200px !important;
  margin-right: 16px !important;
  height: 150px !important;
  background-color: var(--bg-light-secondary) !important;
  border: 1px solid var(--border-dark) !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01) !important;
  padding: 1.25rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all var(--transition-normal) !important;
}

.cases-logos-track .partner-logo-card:hover {
  transform: translateY(-4px) !important;
  border-color: var(--accent-gold) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04) !important;
}

.cases-logos-track .partner-logo-card img {
  max-height: 55px !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

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

/* Brand logo card */
.partner-logo-card {
  flex: 1;
  background-color: var(--bg-light-secondary);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
}

.partner-logo-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.partner-logo-card img {
  max-height: 50px;
  max-width: 100%;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: var(--transition-fast);
}

.partner-logo-card:hover img {
  transform: scale(1.05);
}

/* Custom inline SVG logo helpers */
.partner-logo-text {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  color: #374151;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.partner-logo-text span {
  color: var(--accent-orange);
}

@media (max-width: 768px) {
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

/* ==========================================================================
   SECTION 4: TEAM CALLOUT ("Conheça o time")
   ========================================================================== */
.team-callout {
  background-color: var(--bg-team-light);
  overflow: hidden;
}

.team-callout-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.team-callout-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 10;
}

.team-callout-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  line-height: 1.25;
}

.team-callout-title em {
  color: var(--accent-gold);
}

.team-callout-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-dark-secondary);
  margin-bottom: 2.5rem;
}

.team-callout-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 380px;
}

/* The big gray logo display in the background */
.team-callout-logo-container {
  width: 100%;
  max-width: 400px;
  opacity: 0.8;
  animation: floatEffect 6s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-callout-logo-container img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@keyframes floatEffect {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 991px) {
  .team-callout-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .team-callout-right {
    height: 250px;
  }
  .team-callout-logo-container {
    max-width: 250px;
  }
}

/* ==========================================================================
   SECTION 5: NEWSLETTER
   ========================================================================== */
.newsletter-section {
  background-color: var(--bg-dark-secondary);
  color: var(--text-white);
  border-bottom: 1px solid var(--border-light);
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4.5rem;
  align-items: center;
}

.newsletter-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.newsletter-title {
  color: var(--text-white);
  font-size: 2.25rem;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.newsletter-desc {
  color: var(--text-light-gray);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
  max-width: 450px;
}

/* Newsletter form controls */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 1.1rem 1.5rem;
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-input::placeholder {
  color: var(--text-muted-light);
  opacity: 0.6;
}

.form-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

.form-submit-btn {
  width: 100%;
  border-radius: 4px;
  justify-content: center;
  padding: 1.1rem 2rem;
  font-weight: 600;
}

/* Form success message popup */
.form-feedback {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  display: none;
}

.form-feedback.success {
  display: block;
  color: #10b981;
}

.form-feedback.error {
  display: block;
  color: #ef4444;
}

@media (max-width: 991px) {
  .newsletter-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: #20282E;
  background-image: linear-gradient(to left, rgba(32, 40, 46, 0.92) 0%, #20282E 75%), url('/asset/bg-footer.jpg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  color: var(--text-light-gray);
  padding: 4rem 0 2rem 0;
  font-size: 0.9rem;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-logo {
  height: 45px;
  display: flex;
}

.footer-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.footer-contacts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-title {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light-gray);
}

.footer-contact-item a:hover {
  color: var(--accent-gold);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-gold);
  fill: none;
  stroke-width: 1.5px;
}

/* Location column */
.footer-column-title {
  color: var(--text-white);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-column-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-gold);
}

.footer-locations {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.footer-location-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.footer-location-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-gold);
  stroke-width: 1.5px;
  fill: none;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.footer-location-text strong {
  color: var(--text-white);
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.footer-location-text p {
  color: var(--text-muted-light);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.footer-social-section {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-social-title {
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-social-icons {
  display: flex;
  gap: 1rem;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light-gray);
  transition: all var(--transition-fast);
}

.footer-social-btn:hover {
  background: var(--accent-gold);
  color: var(--bg-dark-primary);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.footer-social-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Services column list */
.footer-services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-services-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted-light);
}

.footer-services-item a {
  transition: var(--transition-fast);
}

.footer-services-item a:hover {
  color: var(--text-white);
  padding-left: 4px;
}

.footer-services-item svg {
  width: 12px;
  height: 12px;
  stroke: var(--accent-gold);
  stroke-width: 2.5px;
  fill: none;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-muted-light);
  font-size: 0.75rem;
  text-align: center;
}

@media (max-width: 991px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ==========================================================================
   SHARED TEAM MEMBER CARDS & LINKEDIN HOVER OVERLAYS
   ========================================================================== */
.team-member-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1.2;
  background-color: #f7fafc;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.team-member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px rgba(0,0,0,0.1);
}

.team-member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.team-member-card:hover .team-member-photo {
  transform: scale(1.04);
}

.team-member-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: #ffffff;
  border-radius: 6px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transition: all var(--transition-normal);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.member-name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a2533;
  margin: 0;
}

.member-role {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  color: #718096;
  margin: 4px 0 0 0;
}

/* Partners specific LinkedIn overlay */
.team-member-overlay.partner-overlay {
  cursor: pointer;
}

.team-member-overlay.partner-overlay .linkedin-icon-wrapper {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-member-overlay.partner-overlay .member-linkedin-icon {
  width: 18px;
  height: 18px;
  fill: var(--accent-gold);
  transition: fill var(--transition-fast);
}

.team-member-card:hover .team-member-overlay.partner-overlay {
  background: var(--bg-dark-secondary) !important;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15) !important;
}

.team-member-card:hover .team-member-overlay.partner-overlay .member-name {
  color: #ffffff !important;
}

.team-member-card:hover .team-member-overlay.partner-overlay .member-role {
  color: #9ca3af !important;
}

.team-member-card:hover .team-member-overlay.partner-overlay .linkedin-icon-wrapper {
  height: 24px;
  opacity: 1;
  margin-top: 8px;
}

.team-member-overlay.partner-overlay:hover .member-linkedin-icon {
  fill: var(--accent-orange) !important;
}

/* ==========================================================================
   INFO SIDEBAR PANEL (nine-dots-btn)
   ========================================================================== */
.info-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background-color: #ffffff;
  z-index: 1200;
  padding: 2.5rem 2rem;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  color: #1a2533;
  overflow-y: auto;
}

@media (max-width: 480px) {
  .info-sidebar {
    width: 100%;
    right: -100%;
    padding: 2rem 1.5rem;
  }
}

.info-sidebar.open {
  right: 0;
}

.info-sidebar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1199;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(4px);
}

.info-sidebar-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.info-sidebar-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  color: #1a2533;
  cursor: pointer;
  transition: color var(--transition-fast), transform var(--transition-fast);
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-sidebar-close:hover {
  color: var(--accent-gold);
  transform: rotate(90deg);
}

.info-sidebar-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  margin-top: 1rem;
}

.info-sidebar-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 0.75rem;
}

.info-sidebar-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 350;
  color: #718096;
  margin-bottom: 3rem;
  text-transform: none;
  letter-spacing: 0.02em;
}

.info-sidebar-section {
  width: 100%;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-sidebar-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #1a2533;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.info-sidebar-contacts, .info-sidebar-locations {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  max-width: 320px;
  text-align: left;
}

.info-sidebar-contact-item, .info-sidebar-location-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #4a5568;
  line-height: 1.5;
}

.info-sidebar-contact-item svg, .info-sidebar-location-item svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #4a5568;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 3px;
}

.info-sidebar-contact-item a {
  color: #4a5568;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.info-sidebar-contact-item a:hover {
  color: var(--accent-gold);
}

.info-sidebar-socials {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
  justify-content: center;
  width: 100%;
}

.info-sidebar-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #111111;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.info-sidebar-social-btn:hover {
  background-color: var(--accent-gold);
  transform: translateY(-2px);
}

.info-sidebar-social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

