/* ===== UTILITY CLASSES ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== VARIABLES CSS ===== */
:root {
  /* Colors */
  --primary-color: #1E3A8A; /* Azul mais escuro para combinar com a logo */
  --primary-dark: #1E40AF; /* Tom mais escuro para hover */
  --primary-light: #3B82F6; /* Tom mais claro para destaques */
  --secondary-color: #1E3A8A; /* Mesma cor do primário para consistência */
  --accent-color: #3B82F6; /* Azul mais claro para destaques */
  --success-color: #27AE60;
  --warning-color: #F39C12;
  --danger-color: #E74C3C;
  
  /* Neutral Colors */
  --white-color: #FFFFFF;
  --light-gray: #F8F9FA;
  --gray-100: #E9ECEF;
  --gray-200: #DEE2E6;
  --gray-300: #CED4DA;
  --gray-400: #ADB5BD;
  --gray-500: #6C757D;
  --gray-600: #495057;
  --gray-700: #343A40;
  --gray-800: #212529;
  --black-color: #000000;
  
  /* Typography */
  --body-font: 'Poppins', sans-serif;
  --h1-font-size: 3rem;
  --h2-font-size: 2.25rem;
  --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;
  
  /* 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;
  
  /* Z-index */
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
  
  /* Transitions */
  --transition: all 0.3s ease-in-out;
  --transition-fast: all 0.2s ease-in-out;
  
  /* Shadows */
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.2);
  
  /* Border Radius */
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
}

/* ===== TOP BAR ===== */
.top-bar {
  background-color: var(--primary-color);
  color: var(--white-color);
  font-size: 0.85rem;
  padding: 0.35rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
}

.top-bar__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-bar__info {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar__link,
.top-bar__schedule {
  color: var(--white-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.top-bar__link:hover {
  color: var(--primary-color);
}

.top-bar__social {
  display: flex;
  gap: 1rem;
}

.top-bar__social-link {
  color: var(--white-color);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

/* Header fixo abaixo da top-bar */
.header {
  position: fixed;
  top: 28px; /* Altura da top bar */
  left: 0;
  width: 100%;
  background-color: var(--white-color);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition);
  padding: 0.5rem 0; /* Reduced padding */
}

/* Efeito de transparência ao rolar */
.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}

/* Ajuste do padding do body para compensar o header fixo */
body {
  padding-top: 120px; /* Ajustado para melhor visualização */
}

/* Ajuste do conteúdo principal */
.main {
  margin-top: 0;
}

/* Ajuste da seção hero para compensar o header fixo */
.hero {
  padding-top: 100px; /* Espaço para o header fixo */
  margin-top: 0;
  padding-bottom: 80px; /* Reduced from 100px */
  position: relative;
  z-index: 1;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px; /* Compensar o header fixo ao rolar */
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  font-weight: var(--font-regular);
  color: var(--gray-700);
  line-height: 1.6;
  background-color: var(--white-color);
}

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

ul {
  list-style: none;
}

/* ===== LINKS ===== */
a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.2s ease, opacity 0.2s ease;
  position: relative;
  font-weight: 500;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Links em texto */
.text-link {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.text-link:hover {
  color: var(--primary-dark);
  text-decoration-thickness: 2px;
}

/* Links no rodapé */
.footer__link {
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.2s ease;
  display: inline-block;
  line-height: 1.6;
}

.footer__link:hover {
  color: var(--white-color);
  transform: translateX(4px);
  text-decoration: none;
}

/* Links de navegação */
.nav__link {
  color: var(--secondary-color);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

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

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

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

.section {
  padding: 4rem 0 3rem; /* Reduced vertical padding */
}

.section__header {
  text-align: center;
  margin-bottom: 2rem; /* Reduced from 3rem */
}

.section__title {
  font-size: calc(var(--h2-font-size) * 0.9); /* Slightly smaller title */
  color: var(--gray-800);
  margin-bottom: 0.75rem; /* Reduced from 1rem */
  position: relative;
  display: inline-block;
}

.section__subtitle {
  color: var(--gray-600);
  font-size: 1rem; /* Reduced from 1.1rem */
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5; /* Slightly tighter line height */
  padding: 0 1rem; /* Added side padding for better mobile */
}

.text-gradient {
  background: linear-gradient(135deg, #2a9df4, #1e7bc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  min-width: 140px;
}

/* Efeito de hover para todos os botões */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::after {
  opacity: 1;
}

/* Botão primário */
.btn--primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white-color);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(30, 58, 138, 0.2);
}

/* Botão outline */
.btn--outline {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  transition: all 0.3s ease;
}

.btn--outline:hover {
  background: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.btn--outline:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(30, 58, 138, 0.1);
}

/* Botão secundário */
.btn--secondary {
  background: var(--gray-100);
  color: var(--gray-800);
  border: 2px solid var(--gray-200);
}

.btn--secondary:hover {
  background: var(--gray-200);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Tamanhos de botão */
.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  min-width: auto;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  min-width: 180px;
}

/* Botão com ícone */
.btn--icon {
  gap: 0.75rem;
  padding-right: 1.5rem;
}

.btn--icon i {
  font-size: 1.25em;
  transition: transform 0.3s ease;
}

.btn--icon:hover i {
  transform: translateX(3px);
}

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

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 28px; /* Altura da top bar */
  left: 0;
  width: 100%;
  background-color: var(--white-color);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition);
  padding: 0.5rem 0; /* Reduced padding */
}

.header.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.nav {
  height: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.header.scrolled .nav {
  height: 4rem;
}

.nav__logo-img {
  height: 65px; /* Increased from 50px */
  width: auto;
  transition: all 0.3s ease;
}

.header.scrolled .nav__logo-img {
  height: 55px; /* Increased from 45px when scrolled */
}

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

.nav__link {
  color: var(--gray-800);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.nav__link.active-link {
  font-weight: 600;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

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

.nav__link i {
  font-size: 1.1em;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__toggle,
.nav__close {
  display: none;
  font-size: 1.25rem;
  color: var(--white-color);
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 60px;
  padding-bottom: 40px;
}

.hero__video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    -webkit-transform: translateZ(0); /* Aceleração de hardware para iOS */
    transform: translateZ(0);
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Garante que o vídeo não seja exibido em tela cheia no iOS */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Estilos específicos para iOS */
@supports (-webkit-touch-callout: none) {
    .hero__video {
        /* Necessário para evitar o comportamento de tela cheia no iOS */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 10rem;
  color: var(--white-color);
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero__title {
  margin: 0 auto 1rem;
  max-width: 800px;
  text-align: center;
  font-size: 3rem; /* Reduced from 3.5rem */
  font-weight: var(--font-bold);
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 1rem; /* Reduced from 1.5rem */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
  font-size: 1.25rem; /* Reduced from 1.5rem */
  margin-bottom: 1.5rem; /* Reduced from 2.5rem */
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
  max-width: 600px;
  line-height: 1.5;
}

.hero__cta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn--large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: var(--font-semi-bold);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

/* Features Container */
.features-container {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding: 0 1rem;
  width: 100%;
}

.features-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.features-row:last-child {
  margin-bottom: 0;
}

.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 1.5rem 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  color: var(--white-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  min-height: 120px;
  width: 100%;
  max-width: 300px;
}

.feature i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  color: var(--white-color);
}

.feature span {
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  line-height: 1.4;
}

/* Tooltip Styles */
.feature::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white-color);
  color: var(--gray-800);
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  width: 280px;
  text-align: center;
  pointer-events: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.feature::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  border-width: 8px;
  border-style: solid;
  border-color: var(--white-color) transparent transparent transparent;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07));
}

.feature:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature:hover::before,
.feature:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .feature {
    padding: 1.25rem 0.75rem;
    min-height: 110px;
  }
  
  .feature i {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
}

@media (max-width: 992px) {
  .features-row {
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  .feature {
    min-height: 100px;
  }
  
  .feature span {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .features-row {
    flex-wrap: wrap;
  }
  
  .feature {
    max-width: calc(50% - 0.5rem);
    min-height: 110px;
  }
  
  .features-row:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 576px) {
  .features-container {
    padding: 0 0.5rem;
  }
  
  .features-row {
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }
  
  .feature {
    max-width: 100%;
    min-height: 0;
    padding: 1rem;
    flex-direction: row;
    text-align: left;
    justify-content: flex-start;
  }
  
  .feature i {
    margin-bottom: 0;
    margin-right: 0.75rem;
    margin-left: 0.25rem;
    flex-shrink: 0;
  }
  
  .feature::before {
    left: 50%;
    bottom: auto;
    top: calc(100% + 15px);
    transform: translateX(-50%) translateY(-10px);
  }
  
  .feature::after {
    bottom: auto;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    border-color: transparent transparent var(--white-color) transparent;
  }
  
  .feature:hover::before {
    transform: translateX(-50%) translateY(0);
  }
  
  .feature:hover::after {
    transform: translateX(-50%) translateY(0);
  }
}

.feature:hover i {
  background: var(--white-color);
  color: var(--primary-color);
  transform: rotate(5deg) scale(1.1);
}

/* Home section styles (mantendo compatibilidade) */
.home {
  padding-top: 4rem;
  background: var(--white-color);
}

.home__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 0;
}

.home__stats {
  background: var(--white-color);
  padding: 2rem 0;
  box-shadow: var(--shadow-light);
}

.home__stats {
  background: var(--white-color);
  padding: 2rem 0;
  box-shadow: var(--shadow-light);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stats__number {
  font-size: 2.5rem;
  font-weight: var(--font-bold);
  color: var(--primary-color);
  margin-bottom: var(--mb-0-25);
}

.stats__text {
  color: var(--gray-600);
  font-weight: var(--font-medium);
}

/* ===== SERVICES ===== */
.services {
  background: var(--white-color);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2rem auto 0;
  max-width: 1200px;
  padding: 0 1rem;
  justify-content: center;
}

.service__card {
  background: var(--white-color);
  padding: 1.5rem 1.25rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(30, 58, 138, 0.08);
  position: relative;
  overflow: hidden;
  height: auto;
  min-height: 240px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.95);
  justify-content: flex-start;
}

.service__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service__card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  border-color: rgba(30, 58, 138, 0.15);
  background: white;
}

.service__card:hover::before {
  opacity: 1;
}

.service__icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
  font-size: 1.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(30, 58, 138, 0.2), 0 2px 4px -1px rgba(30, 58, 138, 0.1);
  flex-shrink: 0;
}

.service__card:hover .service__icon {
  transform: rotate(5deg) scale(1.05);
}

.service__icon i {
  font-size: 1.4rem;
  color: white;
  transition: all 0.3s ease;
}

.service__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.service__description {
  color: var(--gray-600);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
  opacity: 0.9;
  letter-spacing: 0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service__link {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  width: 100%;
  justify-content: space-between;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
  }
  
  .service__card {
    padding: 1.25rem 1rem;
    min-height: 220px;
  }
  
  .service__icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
  }
  
  .service__title {
    font-size: 1.1rem;
    margin-bottom: 0.875rem;
  }
  
  .service__description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
}

/* ===== ABOUT ===== */
.about {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/pattern-dots.png') repeat;
  opacity: 0.03;
  z-index: 0;
}

.about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about__content {
  padding: 2rem 0;
}

.about__subtitle {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about__title {
  font-size: 2.25rem;
  color: var(--gray-800);
  margin-bottom: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
}

.about__title span {
  color: var(--primary-color);
  position: relative;
}

.about__title span::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(30, 58, 138, 0.2);
  z-index: -1;
  border-radius: 4px;
}

.about__text {
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.feature__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 1.025rem;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.875rem 1.25rem;
  border-radius: 8px;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
}

.feature__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border-color: rgba(30, 58, 138, 0.1);
}

.feature__item i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
  background: rgba(30, 58, 138, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.feature__item:hover i {
  background: var(--primary-color);
  color: white;
  transform: rotate(5deg);
}

.about__img-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: perspective(1000px) rotateY(-5deg);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  transition: all 0.5s ease;
}

.about__img-container:hover {
  transform: perspective(1000px) rotateY(0deg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.about__img-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.4) 0%, rgba(30, 58, 138, 0) 100%);
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 1;
  border-radius: 20px;
}

.about__img-container:hover::before {
  opacity: 1;
}

/* Responsividade */
@media (max-width: 1024px) {
  .about__container {
    gap: 3rem;
  }
  
  .about__features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about__features {
    grid-template-columns: 1fr 1fr;
  }
  
  .feature__item {
    text-align: left;
  }
  
  .about__img-container {
    max-width: 600px;
    margin: 0 auto;
    transform: none;
  }
  
  .about__img-container:hover {
    transform: none;
  }
}

@media (max-width: 576px) {
  .about__features {
    grid-template-columns: 1fr;
  }
  
  .about__title {
    font-size: 1.875rem;
  }
}

/* ===== PARTNERS ===== */
.partners {
    background-color: #f9f9f9;
    padding: 5rem 0;
}

.partners__slider {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto 0;
    overflow: hidden;
}

.partners__track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
    padding: 2rem 0;
}

.partners__slide {
    min-width: 200px;
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    height: 120px;
    position: relative;
    overflow: hidden;
}

.partners__slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.partners__slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partners__slide:hover::before {
    opacity: 0.9;
}

.partners__img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.partners__slide:hover .partners__img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.partners__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

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

.partners__nav--prev {
    left: 1rem;
}

.partners__nav--next {
    right: 1rem;
}

/* ===== CONTACT ===== */
.contact {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/pattern-dots.png') repeat;
  opacity: 0.03;
  z-index: 0;
}

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.contact__info {
  padding: 2rem 0;
}

.contact__subtitle {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact__title {
  font-size: 2.25rem;
  color: var(--gray-800);
  margin-bottom: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
}

.contact__title span {
  color: var(--primary-color);
  position: relative;
}

.contact__title span::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(30, 58, 138, 0.2);
  z-index: -1;
  border-radius: 4px;
}

.contact__description {
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

.contact__data {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.8);
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.contact__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  border-color: rgba(30, 58, 138, 0.1);
}

.contact__icon {
  width: 48px;
  height: 48px;
  background: rgba(30, 58, 138, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact__item:hover .contact__icon {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.contact__info-group h4 {
  font-size: 1.125rem;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.contact__info-group p,
.contact__info-group a {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.6;
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact__info-group a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.contact__social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(30, 58, 138, 0.05);
  border-radius: 10px;
  color: var(--primary-color);
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.contact__social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(30, 58, 138, 0.2);
}

/* Formulário de contato */
.contact__form-container {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  overflow: hidden;
}

.contact__form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

/* Responsividade */
@media (max-width: 1024px) {
  .contact__container {
    gap: 3rem;
  }
  
  .contact__form-container {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .contact__container {
    grid-template-columns: 1fr;
  }
  
  .contact__form-container {
    margin-top: 1.5rem;
  }
}

@media (max-width: 576px) {
  .contact__title {
    font-size: 1.875rem;
  }
  
  .contact__form-container {
    padding: 1.5rem;
  }
  
  .contact__item {
    padding: 1rem;
  }
  
  .contact__icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

.contact__item h4 {
  font-weight: var(--font-semi-bold);
  color: var(--secondary-color);
  margin-bottom: var(--mb-0-25);
}

.contact__item p {
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

/* ===== FORMULÁRIO ===== */
.contact__form {
  background: var(--white-color);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

.contact__form:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.contact__form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  transition: all 0.4s ease;
}

.contact__form:hover::before {
  height: 6px;
}

.form__header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.form__header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  border-radius: 4px;
  transition: all 0.3s ease;
}

.contact__form:hover .form__header::after {
  width: 100px;
}

.form__title {
  font-size: 1.875rem;
  color: var(--gray-800);
  margin-bottom: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  position: relative;
  display: inline-block;
}

.form__title::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(30, 58, 138, 0.15);
  z-index: -1;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.contact__form:hover .form__title::after {
  height: 10px;
  background: rgba(30, 58, 138, 0.1);
}

.form__subtitle {
  color: var(--gray-600);
  font-size: 1.05rem;
  margin: 0 auto 0.5rem;
  max-width: 90%;
  line-height: 1.7;
  position: relative;
}

.form__row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  width: 100%;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .form__row {
    flex-direction: column;
    gap: 1rem;
  }
  
  .form__group--half {
    flex: 1 1 100%;
    min-width: 100%;
    max-width: 100%;
  }
  
  .form__group {
    margin-bottom: 1.25rem;
  }
  
  .form__header {
    margin-bottom: 1.5rem;
  }
  
  .form__title {
    font-size: 1.5rem;
  }
  
  .form__subtitle {
    font-size: 1rem;
  }
}

.form__group {
  margin-bottom: 1.5rem;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.form__group--half {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.form__label {
  display: block;
  font-size: 0.95rem;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.form__group:focus-within .form__label {
  color: var(--primary-color);
}

.form__label.required::after {
  content: '*';
  color: var(--danger-color);
  margin-left: 0.25rem;
  font-size: 1.1em;
  line-height: 1;
  transition: all 0.3s ease;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  max-width: 100%;
  padding: 0.875rem 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-family: var(--body-font);
  font-size: 1rem;
  color: #1a202c;
  transition: all 0.3s ease;
  background-color: #f8fafc;
  outline: none;
  box-sizing: border-box;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--gray-400);
  opacity: 1;
}

.form__feedback {
  font-size: 0.8rem;
  margin-top: 0.25rem;
  min-height: 1rem;
  line-height: 1;
  transition: all 0.3s ease;
  position: absolute;
  bottom: -20px;
  left: 0;
}

.form__feedback.error {
  color: #e53e3e;
  opacity: 1;
  transform: translateY(0);
}

.form__feedback.success {
  color: #38a169;
  opacity: 1;
  transform: translateY(0);
}

.form__icon {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  color: var(--success-color);
  opacity: 0;
  transition: all 0.3s ease;
}

.form__input:valid + .form__icon,
.form__select:valid + .form__icon {
  opacity: 1;
}

.form__help {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  line-height: 1.4;
}

.form__help--error {
  color: var(--danger-color);
}

.form__help--info {
  color: var(--gray-500);
}

.form__checkbox-group,
.form__radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0.5rem 0;
}

.form__checkbox-item,
.form__radio-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.form__checkbox-item:hover,
.form__radio-item:hover {
  background-color: rgba(30, 58, 138, 0.03);
}

.form__checkbox-input,
.form__radio-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.form__checkbox-custom,
.form__radio-custom {
  position: relative;
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--gray-300);
  border-radius: 4px;
  margin-top: 0.125rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.form__radio-custom {
  border-radius: 50%;
}

.form__checkbox-input:checked + .form__checkbox-custom {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form__radio-input:checked + .form__radio-custom {
  border-color: var(--primary-color);
}

.form__radio-input:checked + .form__radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.625rem;
  height: 0.625rem;
  background-color: var(--primary-color);
  border-radius: 50%;
}

.form__checkbox-input:checked + .form__checkbox-custom::after {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.7rem;
}

.form__checkbox-input:focus + .form__checkbox-custom,
.form__radio-input:focus + .form__radio-custom {
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.2);
  outline: none;
}

.form__checkbox-label,
.form__radio-label {
  font-size: 0.9rem;
  color: var(--gray-600);
  cursor: pointer;
  line-height: 1.4;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.form__disclaimer {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-top: 1rem;
  text-align: center;
  line-height: 1.5;
}

.form__link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.form__link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

.form__submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(30, 58, 138, 0.2);
}

.form__submit:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.3);
}

.form__submit:disabled {
  background: var(--gray-300);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form__submit i {
  font-size: 1.1em;
  transition: transform 0.3s ease;
}

.form__submit:hover i {
  transform: translateX(3px);
}

.form__message {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form__message--success {
  background-color: rgba(39, 174, 96, 0.1);
  border: 1px solid rgba(39, 174, 96, 0.2);
  color: #27ae60;
}

.form__message--error {
  background-color: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.2);
  color: #e74c3c;
}

.form__message i {
  font-size: 1.25rem;
  margin-top: 0.125rem;
}

.form__phone {
  display: flex;
  gap: 10px;
  width: 100%;
  align-items: center;
}

.form__phone select {
  flex: 0 0 120px;
  max-width: 120px;
  padding: 0.75rem 1.25rem;
  padding-right: 2rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%236b7280%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7em top 50%;
  background-size: 0.65em auto;
  cursor: pointer;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-family: var(--body-font);
  font-size: 1rem;
  color: #1a202c;
  transition: all 0.3s ease;
  background-color: #f8fafc;
}

.form__phone input {
  flex: 1;
  min-width: 0;
}

.form__select {
  flex: 0 0 100px;
  width: auto;
  padding: 0.75rem 1.25rem;
  padding-right: 2rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%236b7280%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 12px auto;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--gray-800);
  transition: all 0.3s ease;
  background-color: white;
}

/* Estilo para o input de telefone */
.form__phone input[type="tel"] {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

/* Melhorias para telas menores */
@media (max-width: 480px) {
  .form__phone {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .form__select {
    width: 100%;
    flex: 1 1 auto;
  }
  
  .form__phone input[type="tel"] {
    width: 100%;
  }
}

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

.form__char-count {
  text-align: right;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

.form__group--checkbox {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}

.form__checkbox {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  cursor: pointer;
}

.form__checkbox-label {
  font-size: 0.9rem;
  color: var(--gray-600);
  cursor: pointer;
  line-height: 1.4;
}

.form__feedback {
  font-size: 0.8rem;
  margin-top: 0.25rem;
  min-height: 1rem;
  line-height: 1;
}

.form__feedback.error {
  color: var(--danger-color);
}

.form__feedback.success {
  color: var(--success-color);
}

/* Grupo de botões */
.form__button-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.form__button-group .btn {
  flex: 1;
  min-width: 120px;
}

@media (max-width: 480px) {
  .form__button-group {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .form__button-group .btn {
    width: 100%;
  }
}

/* Formulário em linha (para header, etc) */
.form--inline {
  display: flex;
  gap: 0.5rem;
}

.form--inline .form__group {
  margin-bottom: 0;
  flex: 1;
}

.form--inline .form__input {
  min-width: 200px;
}

/* Tamanhos de formulário */
.form--sm {
  max-width: 500px;
  margin: 0 auto;
}

.form--md {
  max-width: 700px;
  margin: 0 auto;
}

.form--lg {
  max-width: 900px;
  margin: 0 auto;
}

/* Formulário em cartão */
.form--card {
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.form--card .form__header {
  background-color: var(--gray-50);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 2rem;
}

.form--card .form__body {
  padding: 0 2rem 2rem;
}

/* Formulário em abas */
.form--tabs {
  position: relative;
}

.form--tabs .form__tabs-header {
  display: flex;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.form--tabs .form__tab {
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s ease;
}

.form--tabs .form__tab:hover {
  color: var(--primary-color);
}

.form--tabs .form__tab.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.form--tabs .form__tab-content {
  display: none;
}

.form--tabs .form__tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* Estilo para o contador de caracteres */
.form__char-count {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-align: right;
  margin-top: 0.25rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
}

.form__char-count.warning {
  color: #d69e2e;
}

.form__char-count.error {
  color: #e53e3e;
  font-weight: 500;
}

/* Estilo para o ícone de carregamento */
.form__loading {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(30, 58, 138, 0.2);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
  margin-right: 0.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Estilo para checkboxes personalizados */
.form__group--checkbox {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.form__group--checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Estilo do checkbox personalizado */
.form__group--checkbox .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 2px solid var(--gray-300);
  border-radius: 4px;
  margin-top: 0.125rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

/* Ao passar o mouse */
.form__group--checkbox:hover input ~ .checkmark {
  border-color: var(--primary-color);
}

/* Quando o checkbox está marcado */
.form__group--checkbox input:checked + .checkmark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Estilo do checkmark (escondido quando não marcado) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Mostra o checkmark quando marcado */
.form__group--checkbox input:checked + .checkmark:after {
  display: block;
}

/* Estilo do checkmark/ícone */
.form__group--checkbox .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form__checkbox {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  cursor: pointer;
}

.form__checkbox-label {
  font-size: 0.9rem;
  color: var(--gray-600);
  cursor: pointer;
  line-height: 1.4;
}

.form__footer {
  text-align: center;
  margin-top: 2rem;
}

.form__disclaimer {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 1rem;
  line-height: 1.5;
}

.form__link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.form__link:hover {
  text-decoration: underline;
}


@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsividade do popup */
@media screen and (max-width: 576px) {
  .popup__content {
    width: 95%;
    margin: 10% auto;
  }
  
  .popup__header {
    padding: 1.5rem 1.25rem 1rem;
  }
  
  .popup__title {
    font-size: 1.5rem;
  }
  
  .popup__body {
    padding: 1.5rem 1.25rem;
  }
  
  .popup__footer {
    padding: 1rem;
    font-size: 0.8rem;
  }
}

/* Responsividade do formulário */
@media screen and (max-width: 768px) {
  .form__row {
    flex-direction: column;
    gap: 1rem;
  }
  
  .form__group--half {
    flex: 1 1 100%;
    width: 100%;
  }
  
  .contact__form {
    padding: 1.5rem;
  }
  
  .form__title {
    font-size: 1.5rem;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white-color);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent-color));
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.footer__container {
  display: grid;
  gap: 2rem;
}

.footer__content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer__logo-img {
  height: 50px; /* Reduced from 60px */
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: var(--mb-1);
}

.footer__description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 1rem 0;
}

.footer__title {
  font-size: 1.25rem;
  color: var(--white-color);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
  font-weight: 600;
}

.footer__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--white-color);
  opacity: 0.7;
}

.footer__links {
  display: grid;
  gap: 0.5rem;
}

.footer__link {
  color: rgba(255, 255, 255, 0.8);
  display: inline-block;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
  padding: 0.25rem 0;
}

.footer__link:hover {
  color: var(--white-color);
  transform: translateX(5px);
  text-decoration: underline;
}

.footer__contact p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.5;
}

.footer__contact i {
  color: var(--white-color);
  width: 20px;
  text-align: center;
  font-size: 1.1rem;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy,
.footer__credit {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer__credit a {
  color: var(--white-color);
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
}

.footer__credit a:hover {
  color: var(--white-color);
  border-bottom-color: var(--white-color);
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  z-index: var(--z-tooltip);
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  animation: pulse 2s infinite;
  text-decoration: none;
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.whatsapp-btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  animation: none;
}

.whatsapp-btn:hover::before {
  opacity: 1;
  transform: scale(1.5);
}

.whatsapp-btn i {
  font-size: 2rem;
  color: var(--white-color);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

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

.whatsapp-notification {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #FF3B30;
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: bold;
  animation: bounce 2s infinite;
  border: 2px solid var(--white-color);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-10px);}
  60% {transform: translateY(-5px);}
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-medium);
  z-index: var(--z-tooltip);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.scroll-top i {
  font-size: 1.25rem;
  color: var(--white-color);
}

/* ===== CTAs OTIMIZADOS ===== */
/* CTA de Emergência */
.emergency-cta {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white-color);
  padding: 3rem 0;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}

.emergency-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/pattern-dots.png') repeat;
  opacity: 0.1;
  z-index: 0;
}

.emergency-cta__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.emergency-cta__text h3 {
  font-size: 1.75rem;
  margin: 0 0 0.5rem 0;
  color: var(--white-color);
}

.emergency-cta__text p {
  margin: 0;
  font-size: 1.1rem;
  opacity: 0.9;
}

.emergency-cta .btn--secondary {
  background-color: var(--white-color);
  color: var(--primary-color);
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
  margin-left: 2rem;
}

.emergency-cta .btn--secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  background-color: var(--light-gray);
}

/* ===== PORTFÓLIO ===== */
.portfolio {
  padding: 5rem 0;
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.portfolio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.03) 0%, rgba(59, 130, 246, 0.03) 100%);
  z-index: 0;
}

.portfolio .container {
  position: relative;
  z-index: 1;
}

.portfolio__header {
  text-align: center;
  margin-bottom: 3rem;
}

.portfolio__title {
  font-size: 2.25rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.portfolio__title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 3px;
}

.portfolio__subtitle {
  color: var(--gray-600);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.portfolio__container {
  position: relative;
  padding: 0 2rem;
  margin: 0 auto;
  max-width: 1400px;
  width: 100%;
}

.portfolio__slider {
  position: relative;
  overflow: visible;
  padding: 2rem 0;
  width: 100%;
}

.portfolio__track {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1rem 0;
  justify-content: flex-start;
  width: 100%;
  margin: 0 auto;
  max-width: 1200px;
}

.portfolio__slide {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 300px;
  max-width: 350px;
  margin-bottom: 1.5rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: white;
  position: relative;
  cursor: pointer;
}

.portfolio__slide:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.portfolio__image-container {
  position: relative;
  width: 100%;
  padding-top: 75%; /* Proporção 4:3 */
  overflow: hidden;
}

.portfolio__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio__slide:hover .portfolio__image {
  transform: scale(1.05);
}

.portfolio__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio__slide:hover .portfolio__overlay {
  opacity: 1;
}

.portfolio__info {
  transform: translateY(20px);
  transition: transform 0.3s ease 0.1s;
  color: white;
}

.portfolio__slide:hover .portfolio__info {
  transform: translateY(0);
}

.portfolio__name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.portfolio__category {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.portfolio__view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.portfolio__view-btn:hover {
  background: white;
  transform: translateY(-3px);
}

/* Navegação do Carrossel */
.portfolio__nav {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 1rem;
}

.portfolio__nav-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--gray-300);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.portfolio__nav-btn.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* Modal */
.portfolio__modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.portfolio__modal.active {
  opacity: 1;
  visibility: visible;
}

.portfolio__modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  overflow: hidden;
  border-radius: 15px;
  background: white;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.portfolio__modal.active .portfolio__modal-content {
  transform: scale(1);
}

.portfolio__modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.portfolio__modal-close:hover {
  background: var(--primary-color);
  transform: rotate(90deg);
}

.portfolio__modal-image {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.portfolio__modal-info {
  padding: 1.5rem;
  text-align: center;
}

.portfolio__modal-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.portfolio__modal-description {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Responsivo */
@media (min-width: 1200px) {
  .portfolio__slide {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .portfolio__slide {
    flex: 0 0 calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .portfolio__slide {
    flex: 0 0 100%;
    max-width: 400px;
    margin: 0 auto 1.5rem;
  }
  
  .portfolio__modal-content {
    width: 95%;
  }
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.portfolio__title,
.portfolio__subtitle {
  animation: fadeInUp 0.6s ease-out forwards;
}

.portfolio__subtitle {
  animation-delay: 0.2s;
}

.portfolio__track {
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* CTA de Contato */
.contact-cta {
  position: relative;
  border-radius: var(--border-radius);
  padding: 3rem;
  margin: 4rem 0;
  text-align: center;
  overflow: hidden;
  color: white;
}

.contact-cta__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.contact-cta__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.contact-cta__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.contact-cta i {
  font-size: 3rem;
  color: white;
  margin-bottom: 1.5rem;
  display: inline-block;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  animation: pulse 2s infinite;
}

.contact-cta h3 {
  font-size: 1.75rem;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contact-cta p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.contact-cta .btn--whatsapp {
  background-color: #25D366;
  color: white;
  padding: 0.8rem 2.5rem;
  font-weight: 600;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.contact-cta .btn--whatsapp i {
  font-size: 1.5rem;
  margin-right: 0.5rem;
  margin-bottom: 0;
  animation: none;
}

.contact-cta .btn--whatsapp:hover {
  background-color: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.contact-cta__small {
  font-size: 0.9rem !important;
  color: var(--gray-500) !important;
  margin-top: 0.5rem !important;
}

/* Animações */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes jump {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Botão com animação de pulo */
.btn--cta-animation {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
}

.btn--cta-animation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  z-index: -1;
  transition: all 0.3s ease;
  opacity: 0;
}

.btn--cta-animation:hover::before {
  opacity: 1;
  transform: scale(1.5);
}

/* Responsividade para CTAs */
@media screen and (max-width: 768px) {
  .emergency-cta__content {
    flex-direction: column;
    text-align: center;
  }
  
  .emergency-cta .btn--secondary {
    margin: 1.5rem 0 0 0;
    width: 100%;
  }
  
  .contact-cta {
    padding: 2rem 1.5rem;
  }
  
  .contact-cta__content {
    padding: 1.5rem 0;
  }
  
  .contact-cta h3 {
    font-size: 1.5rem;
  }
  
  .contact-cta p {
    font-size: 1rem;
  }
}

/* ===== RESPONSIVE ===== */
/* Large devices */
@media screen and (max-width: 1200px) {
  .container {
    max-width: 968px;
  }
}

/* Medium devices */
@media screen and (max-width: 968px) {
  :root {
    --h1-font-size: 2.5rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.25rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .about__container,
  .contact__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Small devices */
/* ===== TOUCH TARGETS ===== */
@media (hover: none) and (pointer: coarse) {
  button, 
  .btn,
  a,
  input[type="checkbox"],
  input[type="radio"],
  select,
  textarea {
    min-height: 44px;
    min-width: 44px;
  }
  
  .nav__link {
    padding: 0.75rem 0;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
  }
}

/* ===== RESPONSIVE STYLES ===== */
@media screen and (max-width: 480px) {
  /* Base Typography */
  :root {
    --h1-font-size: 1.75rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 0.9rem;
  }
  
  /* Top Bar */
  .top-bar {
    padding: 0.3rem 0;
    font-size: 0.75rem;
  }
  
  .top-bar__info {
    gap: 0.5rem;
  }
  
  .top-bar__link {
    font-size: 0.7rem;
  }
  
  .top-bar__social-link {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }
  
  /* Header & Navigation */
  .header {
    padding-top: 60px;
  }
  
  .nav {
    height: 60px;
  }
  
  .nav__logo-img {
    height: 55px;
  }
  
  .nav__menu {
    width: 100%;
    padding: 2rem 1.5rem;
    top: 60px;
  }
  
  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .nav__link {
    font-size: 1.1rem;
  }
  
  .nav__actions {
    margin-left: auto;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  /* Hero Section */
  .hero {
    padding: 4rem 0 3rem;
    min-height: 0;
  }
  
  .hero__title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero__description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero__cta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn--large {
    width: 100%;
    padding: 0.8rem 1.5rem;
  }
  
  /* Services Section */
  .services__container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .section__title {
    font-size: 1.75rem;
  }
  
  /* Contact Form */
  .contact__form {
    padding: 1.5rem;
  }
  
  .form__group {
    margin-bottom: 1.25rem;
  }
  
  /* Footer */
  .footer__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer__title {
    font-size: 1.25rem;
  }
}

@media screen and (max-width: 992px) {
  /* Mobile Menu Overlay */
  .nav__menu::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: -1;
  }
  
  /* Mobile Menu */
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #ffffff;
    padding: 80px 1.5rem 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow-y: auto;
    /* Removida propriedade obsoleta -webkit-overflow-scrolling */
  scroll-behavior: smooth;
    transform: translateX(100%);
    will-change: transform;
  }
  
  .nav__menu.show-menu {
    transform: translateX(0);
  }
  
  .nav__menu.show-menu::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-100%);
  }
  
  .nav__menu.show-menu {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  
  /* Menu List */
  .nav__list {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
  }
  
  /* Menu Items */
  .nav__item {
    width: 100%;
  }
  
  /* Menu Links */
  .nav__link {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    color: #333;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .nav__link i {
    margin-right: 10px;
    font-size: 1.2em;
  }
  
  .nav__link:hover,
  .nav__link.active-link {
    background-color: rgba(30, 58, 138, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
  }
  
  .nav__menu::-webkit-scrollbar {
    width: 5px;
  }
  
  .nav__menu::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 5px;
  }
  
  .nav__list {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
  }
  
  .nav__link {
    font-size: 1.1rem;
    color: var(--gray-800);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
  }
  
  .nav__link:hover,
  .nav__link.active-link {
    background-color: rgba(30, 58, 138, 0.05);
    color: var(--primary-color);
  }
  
  /* Mobile Menu Toggle Button */
  .nav__toggle {
    display: none; /* Hidden by default, shown on mobile */
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
    margin-left: 1rem;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
  }

  /* Mobile Menu Close Button */
  .nav__close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .nav__menu.show-menu .nav__close {
    opacity: 1;
    visibility: visible;
  }

  /* Hover and Active States */
  .nav__toggle:hover,
  .nav__close:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
  }

  .nav__toggle:active,
  .nav__close:active {
    transform: scale(0.95);
  }

  /* Show toggle button on mobile */
  .nav__toggle {
    display: flex;
  }
  
  .nav__close {
    display: flex;
  }
  
  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
    height: 100vh;
    position: fixed;
    width: 100%;
  }
  
  .nav__actions .btn {
    display: none;
  }
  
  .hero {
    min-height: 0;
    padding: 4rem 0 3rem;
  }
  
  .hero__title {
    font-size: 2.5rem;
  }
  
  .hero__subtitle {
    font-size: 1.25rem;
  }
  
  .hero__cta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn--large {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  
  .hero__features {
    flex-direction: column;
    gap: 1rem;
  }
  
  .services__grid {
    grid-template-columns: 1fr;
  }
  
  .stats__grid {
    grid-template-columns: 1fr;
  }
  
  .whatsapp-btn {
    width: 50px;
    height: 50px;
    bottom: 1rem;
    right: 1rem;
  }
  
  .whatsapp-btn i {
    font-size: 1.25rem;
  }
  
  .scroll-top {
    bottom: 1rem;
    left: 1rem;
    width: 40px;
    height: 40px;
  }
  
  .scroll-top i {
    font-size: 1rem;
  }
}

/* Extra small devices */
@media screen and (max-width: 480px) {
  :root {
    --h1-font-size: 2rem;
    --h2-font-size: 1.75rem;
  }
  
  .container {
    padding: 0 0.75rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .hero__title {
    font-size: 2rem;
  }
  
  .hero__subtitle {
    font-size: 1.1rem;
  }
  
  .contact__form {
    padding: 1.5rem;
  }
}

/* ===== TEAM QUALIFIED SECTION ===== */
.team-qualified {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../../Background/background-equipe.jpg') center/cover no-repeat fixed;
  padding: 5rem 0;
  color: var(--white-color);
}

.team-qualified .section__header {
  margin-bottom: 3rem;
  text-align: center;
}

.team-qualified .section__title {
  color: #fff;
}

.team-qualified .section__subtitle {
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto 2rem;
}

.qualifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 0 1rem;
}

.qualification-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.qualification-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
}

.qualification-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--gray-800);
  text-align: center;
  line-height: 1.3;
  min-height: 3.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qualification-hover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-color);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  border-radius: 10px;
  overflow-y: auto;
}

.qualification-card {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qualification-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.qualification-card:hover .qualification-hover {
  opacity: 1;
  transform: translateY(0);
}

.qualification-description {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}

/* Estilos para parágrafos de texto justificado */
.about__text {
  text-align: justify;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

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

/* Responsividade para os cards de qualificação */
@media screen and (max-width: 1200px) {
  .qualifications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .qualifications-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .qualification-title {
    font-size: 1.1rem;
  }
  
  .qualification-description {
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 480px) {
  .qualification-title {
    font-size: 1rem;
    min-height: 0;
  }
  
  .qualification-icon {
    font-size: 1.75rem;
  }
  
  .qualification-card {
    padding: 1.25rem;
  }
}

