/*===== GOOGLE FONTS =====*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*===== CSS VARIABLES =====*/
:root {
  --header-height: 4rem;
  
  /*===== Colors =====*/
  --primary-color: #181818;        /* Azul escuro */
  --secondary-color: #00015c;      /* Azul claro */
  --accent-color: #3be5ff;         /* Amarelo */
  --white-color: #FFFFFF;
  --light-gray: #F8F9FA;
  --gray-color: #6C757D;
  --dark-gray: #343A40;
  --text-color: #2C3E50;
  --border-color: #E9ECEF;
  
  /*===== Gradients =====*/
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, #FFC107 100%);
  
  /*===== Typography =====*/
  --font-family: 'Poppins', sans-serif;
  --biggest-font-size: 3rem;
  --h1-font-size: 2.5rem;
  --h2-font-size: 2rem;
  --h3-font-size: 1.5rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.75rem;
  
  /*===== Font Weight =====*/
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;
  --font-extra-bold: 800;
  
  /*===== Spacing =====*/
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;
  --mb-4: 4rem;
  
  /*===== Z-index =====*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
  
  /*===== Shadows =====*/
  --shadow-light: 0 2px 12px rgba(0, 0, 78, 0.1);
  --shadow-medium: 0 4px 20px rgba(0, 0, 78, 0.15);
  --shadow-strong: 0 8px 32px rgba(0, 0, 78, 0.2);
  
  /*===== Border Radius =====*/
  --border-radius-sm: 0.5rem;
  --border-radius-md: 1rem;
  --border-radius-lg: 1.5rem;
  --border-radius-xl: 2rem;
  
  /*===== Transitions =====*/
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

/*===== RESPONSIVE TYPOGRAPHY =====*/
@media screen and (max-width: 768px) {
  :root {
    --biggest-font-size: 2.25rem;
    --h1-font-size: 2rem;
    --h2-font-size: 1.75rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--normal-font-size);
  color: var(--text-color);
  background-color: var(--white-color);
  line-height: 1.6;
}

/* Evita overflow lateral em qualquer largura */
html,
body {
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--primary-color);
  font-weight: var(--font-semi-bold);
  line-height: 1.2;
}

ul {
  list-style: none;
}

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

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

button, input, textarea, select {
  font-family: var(--font-family);
  font-size: var(--normal-font-size);
}

/*===== REUSABLE CSS CLASSES =====*/
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.grid {
  display: grid;
}

.section {
  padding: var(--mb-4) 0;
}

.section__header {
  text-align: center;
  margin-bottom: var(--mb-2);
}

.companies .section__header {
  margin-bottom: var(--mb-2-5);
}

.section__title {
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  color: var(--primary-color);
  margin-bottom: var(--mb-1);
}

.section__subtitle {
  font-size: var(--normal-font-size);
  color: var(--gray-color);
  max-width: 600px;
  margin: 0 auto;
}

/*===== BUTTONS =====*/
.button {
  display: inline-flex;
  align-items: center;
  gap: var(--mb-0-5);
  padding: 1rem 2rem;
  border-radius: var(--border-radius-md);
  font-weight: var(--font-medium);
  font-size: var(--normal-font-size);
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.button-primary {
  background: var(--gradient-primary);
  color: var(--white-color);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.button-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.button-secondary:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

/*===== HEADER & NAV =====*/
.header {
  width: 100%;
  background: var(--white-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  box-shadow: var(--shadow-light);
  transition: var(--transition-normal);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--mb-0-5);
}

.nav__logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav__logo img {
  width: 40px;
  height: 40px;
}

.nav__logo-text {
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
  color: var(--primary-color);
}

.nav__menu {
  position: relative;
}

.nav__list {
  display: flex;
  column-gap: 2rem;
  align-items: center;
}

.nav__link {
  color: var(--text-color);
  font-weight: var(--font-medium);
  transition: var(--transition-fast);
  position: relative;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--primary-color);
}

.nav__link.active-link::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}

.nav__toggle,
.nav__close {
  display: none;
}

/*===== HOME =====*/
.home {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: var(--mb-2);
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--white-color) 100%);  
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.home__container {
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

.home__data {
  z-index: 1;
}

.home__title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-extra-bold);
  line-height: 1.1;
  margin-bottom: var(--mb-1-5);
}

.home__title-highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home__description {
  font-size: var(--normal-font-size);
  color: var(--gray-color);
  margin-bottom: var(--mb-2-5);
  line-height: 1.7;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.home__buttons {
  display: flex;
  gap: var(--mb-1);
  flex-wrap: wrap;
}

.home__img {
  position: relative;
  z-index: 1;
}

.home__img-wrapper {
  position: relative;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.home__img-main {
  width: 100%;
  border-radius: var(--border-radius-xl);
}

/* Controle de visibilidade das imagens desktop/mobile */
.home__img-mobile {
  display: none;
}

.home__img-desktop {
  display: block;
}

.home__img-fallback {
  display: none;
  background: var(--gradient-primary);
  height: 400px;
  border-radius: var(--border-radius-xl);
  justify-content: center;
  align-items: center;
}

.home__img-icon {
  font-size: 4rem;
  color: var(--white-color);
}

/*===== COMPANIES =====*/
.companies {
    background: var(--white-color);
    padding: var(--mb-4) 0;
  }
  
  .companies__container {
    width: 100%;
  }
  
  .companies__carousel {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    margin-top: var(--mb-2);
  }
  
  .companies__track {
    display: flex;
    gap: 2rem;
    transition: none; /* Removemos transição para movimento suave customizado */
    padding: 1rem 0;
    will-change: transform;
  }
  
  /* Cards com largura fixa para carrossel infinito */
  .companies__card {
    flex: 0 0 280px;
    min-width: 280px;
  }
  
  .companies__link {
    display: block;
    text-decoration: none;
    transition: var(--transition-normal);
  }
  
  .companies__card-wrapper {
    background: var(--white-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-normal);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
  }
  
  .companies__card-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 1;
  }
  
  .companies__card:hover .companies__card-wrapper::before {
    opacity: 0.1;
  }
  
  .companies__card:hover .companies__card-wrapper {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
    background: var(--light-gray);
  }
  
  .companies__img {
    max-width: 99%;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition-normal);
    position: relative;
    z-index: 2;
    filter: grayscale(100%);
  }
  
  .companies__card:hover .companies__img {
    filter: grayscale(0%);
    transform: scale(1.1);
  }

/* Em dispositivos sem hover (mobile), manter sempre em escala de cinza */
@media (hover: none) and (pointer: coarse) {
  .companies__card:hover .companies__img,
  .companies__img {
    filter: grayscale(100%);
    transform: none;
  }
}
  
  /* Fallback para logos ausentes */
  .companies__fallback {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: var(--mb-0-5);
    color: var(--gray-color);
    position: relative;
    z-index: 2;
    transition: var(--transition-normal);
  }
  
  .companies__card:hover .companies__fallback {
    color: var(--primary-color);
  }
  
  .companies__fallback i {
    font-size: 5rem;
    transition: var(--transition-normal);
  }
  
  .companies__card:hover .companies__fallback i {
    transform: scale(1.2);
    color: var(--secondary-color);
  }
  
  .companies__fallback span {
    font-weight: var(--font-semi-bold);
    font-size: var(--small-font-size);
  }
  
  /* Navegação - removida para carrossel automático */
  .companies__nav {
    display: none;
  }
  
  /* Indicadores removidos para carrossel mais limpo */
  

/*===== ABOUT =====*/
.about {
  background: var(--white-color);
}

.about__grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: var(--mb-3);
}

.about__card {
  background: var(--white-color);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  text-align: center;
  transition: var(--transition-normal);
  border: 1px solid var(--border-color);
}

.about__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.about__card-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mb-1-5);
}

.about__card-icon i {
  font-size: 2rem;
  color: var(--white-color);
}

.about__card-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-1);
  color: var(--primary-color);
}

.about__card-description {
  color: var(--gray-color);
  line-height: 1.6;
}

/*===== PROCESS =====*/
.process {
  background: var(--light-gray);
}

.process__timeline {
  margin-top: var(--mb-3);
  position: relative;
}

.process__timeline::before {
  content: '';
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
}

.process__step {
  display: flex;
  gap: 2rem;
  margin-bottom: var(--mb-3);
  position: relative;
}

.process__step:last-child {
  margin-bottom: 0;
}

.process__step-number {
  width: 4rem;
  height: 4rem;
  background: var(--gradient-primary);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.process__step-content {
  background: var(--white-color);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  flex: 1;
}

.process__step-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--primary-color);
  margin-bottom: var(--mb-1);
}

.process__step-description {
  color: var(--gray-color);
  line-height: 1.6;
}

/*===== QUOTE =====*/
.quote {
  background: var(--gradient-primary);
  color: var(--white-color);
  text-align: center;
  padding: var(--mb-4) 0;
}

.quote__text {
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  line-height: 1.4;
  margin-bottom: var(--mb-1-5);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.quote__author {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  opacity: 0.9;
}

/*===== LEADERS =====*/
.leaders {
  background: var(--white-color);
}

.leaders__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: var(--mb-3);
}

.leaders__card {
  background: var(--white-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-normal);
}

.leaders__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.leaders__image-wrapper {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--mb-1);
  border: 2px solid var(--border-color);
}

.leaders__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.leaders__img-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: var(--gray-color);
  font-size: 2rem;
}

.leaders__name {
  font-size: 1rem;
  font-weight: var(--font-semi-bold);
  color: var(--primary-color);
}

.leaders__role {
  margin-top: 0.25rem;
  font-size: var(--small-font-size);
  color: var(--gray-color);
}

/*===== CONTACT =====*/
.contact {
  background: var(--white-color);
}

.contact__content {
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: var(--mb-3);
}

.contact__info-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--primary-color);
  margin-bottom: var(--mb-1);
}

.contact__info-description {
  color: var(--gray-color);
  margin-bottom: var(--mb-2);
  line-height: 1.6;
}

.contact__info-items {
  display: flex;
  flex-direction: column;
  gap: var(--mb-1-5);
}

.contact__info-item {
  display: flex;
  align-items: center;
  gap: var(--mb-1);
}

.contact__info-item i {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact__info-item h4 {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--primary-color);
  margin-bottom: var(--mb-0-25);
}

.contact__info-item p {
  color: var(--gray-color);
  font-size: var(--small-font-size);
}

.contact__form {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
}

.contact__form-group {
  margin-bottom: var(--mb-1-5);
}

.contact__form-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background: var(--white-color);
  color: var(--text-color);
  transition: var(--transition-fast);
}

.contact__form-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Estados inválidos do formulário */
.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

.contact__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--mb-0-5);
}

.contact__form-checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.contact__form-checkbox label {
  font-size: var(--small-font-size);
  color: var(--gray-color);
  line-height: 1.5;
}

.contact__form-checkbox a {
  color: var(--primary-color);
  text-decoration: underline;
}

.contact__form-button {
  width: 100%;
  justify-content: center;
}

.contact__form-message {
  margin-top: var(--mb-1);
  padding: var(--mb-0-75);
  border-radius: var(--border-radius-sm);
  font-size: var(--small-font-size);
  text-align: center;
  display: none;
}

.contact__form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.contact__form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

/*===== FOOTER =====*/
.footer {
  background: var(--primary-color);
  color: var(--white-color);
}

.footer__content {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: var(--mb-2);
}

.footer__logo-text {
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
  margin-bottom: var(--mb-1);
  display: block;
}

.footer__description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--mb-1-5);
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: var(--mb-1);
}

.footer__social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.footer__newsletter-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-1);
}

.footer__newsletter-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--mb-1-5);
  line-height: 1.6;
}

.footer__newsletter-group {
  display: flex;
  gap: 0;
  margin-bottom: var(--mb-1);
}

.footer__newsletter-input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: none;
  border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
  background: var(--white-color);
  color: var(--text-color);
}

.footer__newsletter-input:focus {
  outline: none;
}

.footer__newsletter-button {
  padding: 0.875rem 1rem;
  background: var(--accent-color);
  color: var(--primary-color);
  border: none;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  cursor: pointer;
  transition: var(--transition-fast);
}

.footer__newsletter-button:hover {
  background: #FFC107;
}

.footer__newsletter-message {
  font-size: var(--small-font-size);
  text-align: center;
  padding: var(--mb-0-5);
  border-radius: var(--border-radius-sm);
  display: none;
}

.footer__newsletter-message.success {
  background: rgba(212, 237, 218, 0.2);
  color: #90EE90;
  border: 1px solid rgba(195, 230, 203, 0.3);
  display: block;
}

.footer__newsletter-message.error {
  background: rgba(248, 215, 218, 0.2);
  color: #FFB6C1;
  border: 1px solid rgba(245, 198, 203, 0.3);
  display: block;
}

.footer__bottom {
  padding-top: var(--mb-2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer__copy {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--small-font-size);
}

/*===== SCROLL UP =====*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background: var(--gradient-primary);
  color: var(--white-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition-normal);
  z-index: var(--z-tooltip);
  box-shadow: var(--shadow-medium);
}

.scrollup:hover {
  transform: translateY(-3px);
}

.show-scroll {
  bottom: 2rem;
}

/*===== WHATSAPP FLOAT BUTTON =====*/
.whatsapp-float {
  position: fixed;
  left: 1rem;
  bottom: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: var(--z-tooltip);
  transition: var(--transition-normal);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
  filter: brightness(0) invert(1);
}

/* Animação pulsante */
@keyframes pulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}

/* Responsive para WhatsApp button */
@media screen and (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    left: 0.75rem;
    bottom: 1.5rem;
  }
  
  .whatsapp-float img {
    width: 30px;
    height: 30px;
  }
}

@media screen and (max-width: 576px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    left: 0.5rem;
    bottom: 1rem;
  }
  
  .whatsapp-float img {
    width: 28px;
    height: 28px;
  }
}

/*===== RESPONSIVE DESIGN =====*/
/* For large devices */
@media screen and (max-width: 992px) {
  .container {
    max-width: 100%;
    padding: 0 1rem;
    margin-left: auto;
    margin-right: auto;
  }
  .container {
    margin-left: auto;
    margin-right: auto;
  }
  
  .home__container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 1rem;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  
  .home {
    min-height: 90vh;
    padding-bottom: var(--mb-2);
  }
  
  .home__img {
    order: -1;
  }
  
  .home__img-main,
  .home__img-fallback {
    max-height: 280px;
    height: 280px;
  }
  
  /* Preparar para troca de imagem no mobile */
  .home__img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  
  .contact__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .process__timeline::before {
    display: none;
  }
  
  .process__step {
    flex-direction: column;
    gap: var(--mb-1);
  }
  
  .process__step-number {
    align-self: flex-start;
  }
}

/* For medium devices */
@media screen and (max-width: 992px) {
  .companies__card-wrapper {
    height: 180px;
    padding: 1.5rem;
  }
  
  .companies__img {
    max-width: 85%;
    max-height: 140px;
  }
  
  .companies__fallback i {
    font-size: 4rem;
  }
}

@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; /* Garante 100% da viewport width */
    height: 100vh; /* Garante 100% da viewport height */
    background: #0a0a0a; /* Fundo sólido escuro */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
    padding: 5rem 2rem 2rem;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateX(100%);
    opacity: 0;
    z-index: 9999; /* Z-index muito alto para ficar sobre tudo */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav__menu.show-menu {
    transform: translateX(0);
    opacity: 1;
  }
  
  .nav__list {
    flex-direction: column;
    row-gap: 2rem;
    align-items: flex-start;
    padding-top: 2rem;
  }

  /* Links com bom contraste no fundo escuro */
  .nav__menu .nav__link {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: var(--font-medium);
    padding: 0.75rem 0;
    display: block;
    width: 100%;
    transition: var(--transition-fast);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav__menu .nav__link:hover {
    color: var(--accent-color);
    padding-left: 0.5rem;
  }
  
  .nav__menu .nav__link.active-link {
    color: var(--accent-color);
    font-weight: var(--font-semi-bold);
  }
  
  .nav__menu .nav__link.active-link::after {
    display: none; /* Remove a linha inferior no mobile */
  }
  
  /* Botão de fechar visível e com bom contraste */
  .nav__close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10000;
    transition: var(--transition-fast);
    border: 2px solid rgba(255, 255, 255, 0.2);
  }
  
  .nav__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
  }
  
  .nav__toggle {
    color: var(--primary-color);
    font-size: 1.25rem;
    cursor: pointer;
    display: block;
    z-index: 10001; /* Fica acima do menu para poder fechá-lo */
    position: relative;
  }
  
  /* Header fica abaixo do menu quando menu está aberto */
  .header {
    z-index: 100;
  }
  
  /* Garantir que o menu fique sempre acima de tudo */
  .nav__menu {
    z-index: 10000 !important;
  }
  
  .nav__menu.show-menu {
    z-index: 10000 !important;
  }
  
  .home {
    min-height: 80vh;
    padding-top: calc(var(--header-height) + 1rem);
    padding-bottom: var(--mb-2);
  }

  /* Hero imagem mobile como título inicial */
  .home__img-wrapper {
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: transparent;
    padding: 1rem 0;
    min-height: 200px;
    max-height: 400px;
  }
  
  /* Trocar imagens no mobile */
  .home__img-desktop {
    display: none;
  }
  
  .home__img-mobile {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    margin: 0 auto;
  }
  
  .home__img-main,
  .home__img-fallback {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
  }
  
  .home__data {
    text-align: center;
    padding: 0 1rem;
    max-width: 100%;
  }
  
  .home__title,
  .home__description {
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    width: 100%;
    text-align: center;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
  }
  
  .home__description {
    padding: 0 0.5rem;
  }
  
  .home__title {
    font-size: var(--h2-font-size);
  }
  
  .home__img-main,
  .home__img-fallback {
    max-height: 250px;
    height: 250px;
  }
  
  .home__buttons {
    justify-content: center;
  }
  
  .about__grid {
    grid-template-columns: 1fr;
  }
  
  .process__step {
    margin-bottom: var(--mb-2);
  }
  
  .footer__newsletter-group {
    flex-direction: column;
  }
  
  .footer__newsletter-input,
  .footer__newsletter-button {
    border-radius: var(--border-radius-sm);
  }
  
  .companies__card-wrapper {
    height: 160px;
    padding: 1.5rem;
  }
  
  .companies__img {
    max-width: 85%;
    max-height: 120px;
  }
  
  .companies__fallback i {
    font-size: 3rem;
  }
}

/* Body sem scroll quando menu aberto - melhorado para mobile */
body.no-scroll {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
  height: 100%;
}

html.no-scroll {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
  height: 100%;
}


/* For small devices */
@media screen and (max-width: 576px) {
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }
  
  .home__buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .home {
    min-height: 70vh;
  }
  
  .home__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-75);
  }
  
  .home__description {
    margin-bottom: var(--mb-1);
    text-align: center;
    padding: 0 0.75rem;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  
  .home__data {
    text-align: center;
    padding: 0 1rem;
    max-width: 100%;
  }
  
  .home__title {
    text-align: center;
    padding: 0 0.5rem;
    max-width: 100%;
  }
  
  .home__img-main,
  .home__img-fallback {
    max-height: 200px;
    height: 200px;
  }
  
  /* Garantir que imagem mobile está visível e bem formatada */
  .home__img-desktop {
    display: none;
  }
  
  .home__img-mobile {
    display: block;
    max-height: 300px;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
  
  .button {
    width: 100%;
    max-width: 280px;
  }
  
  .about__card,
  .contact__form {
    padding: 1.5rem;
  }
  
  .process__step-content {
    padding: 1.5rem;
  }
  
  .quote__text {
    font-size: var(--h3-font-size);
  }
  
  .companies__card-wrapper {
    height: 140px;
    padding: 1rem;
  }
  
  .companies__img {
    max-width: 85%;
    max-height: 100px;
  }
  
  .companies__fallback i {
    font-size: 2.8rem;
  }
}

/*===== ANIMATIONS =====*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fade-left {
  animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-right {
  animation: fadeInRight 0.6s ease-out;
}

/*===== UTILITIES =====*/
.text-center {
  text-align: center;
}

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

.text-right {
  text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--mb-1); }
.mb-2 { margin-bottom: var(--mb-2); }
.mb-3 { margin-bottom: var(--mb-3); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--mb-1); }
.mt-2 { margin-top: var(--mb-2); }
.mt-3 { margin-top: var(--mb-3); }

.hidden {
  display: none;
}

.visible {
  display: block;
}
