/* ==========================================================================
   BESSA SISTEMA - DESIGN SYSTEM & STYLESHEET
   Slogan: "Conectamos tecnologia, pessoas e resultados."
   ========================================================================== */

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

/* 2. DESIGN TOKENS & CSS VARIABLES */
:root {
  --azul-marinho: #0B1D3D;
  --azul-intermediario: #1D3F73;
  --azul-claro: #5C8DFF;
  --branco: #FFFFFF;
  --cinza-claro: #F2F4F7;
  --grafite: #2B2F36;
  --texto-secundario: #5B6472;
  
  --gradiente-bessa: linear-gradient(135deg, #07162F 0%, #0B1D3D 45%, #1D3F73 100%);
  --gradiente-destaque: linear-gradient(135deg, #1D3F73 0%, #5C8DFF 100%);
  --gradiente-card: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  --gradiente-glow: radial-gradient(circle, rgba(92, 141, 255, 0.15) 0%, rgba(11, 29, 61, 0) 70%);

  --container-wide: 1600px;
  --container: 1280px;
  
  --radius-small: 10px;
  --radius-medium: 18px;
  --radius-large: 28px;
  
  --shadow-sm: 0 4px 12px rgba(11, 29, 61, 0.05);
  --shadow-md: 0 8px 24px rgba(11, 29, 61, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 29, 61, 0.12);
  --shadow-glow: 0 0 25px rgba(92, 141, 255, 0.3);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  
  --header-height: 90px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--grafite);
  background-color: var(--branco);
  line-height: 1.6;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

/* ACCESSIBILITY UTILITIES */
.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;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--azul-claro);
  color: var(--branco);
  padding: 12px 24px;
  border-radius: var(--radius-small);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 20px;
}

:focus-visible {
  outline: 3px solid var(--azul-claro);
  outline-offset: 4px;
}

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
}

/* 4. TYPOGRAPHY SYSTEM */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--azul-marinho);
  line-height: 1.25;
  font-weight: 700;
}

.section-subtitle {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--azul-claro);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  color: var(--azul-marinho);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-description {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--texto-secundario);
  max-width: 720px;
  margin: 0 auto 48px auto;
}

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

/* 5. BUTTONS & BADGES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-small);
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
  min-height: 48px;
}

.btn-primary {
  background: var(--azul-marinho);
  color: var(--branco);
  box-shadow: 0 4px 14px rgba(11, 29, 61, 0.2);
}

.btn-primary:hover {
  background: var(--azul-intermediario);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 63, 115, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--azul-marinho);
  border: 2px solid var(--azul-marinho);
}

.btn-secondary:hover {
  background: rgba(11, 29, 61, 0.05);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--branco);
  color: var(--azul-marinho);
}

.btn-light:hover {
  background: var(--cinza-claro);
  transform: translateY(-2px);
}

.btn-gradient {
  background: var(--gradiente-destaque);
  color: var(--branco);
  box-shadow: var(--shadow-glow);
}

.btn-gradient:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--branco);

}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* 6. HEADER & NAVIGATION */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--branco);
  z-index: 1000;
  transition: all var(--transition-fast);
  border-bottom: 1px solid rgba(11, 29, 61, 0.06);
}

.header.scrolled {
  height: 76px;
  box-shadow: var(--shadow-md);
}

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

.logo-link {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--grafite);
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--azul-claro);
  border-radius: 2px;
  transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--azul-marinho);
}

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

/* DROPDOWN SUBMENU */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--branco);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-lg);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  border: 1px solid var(--cinza-claro);
}

.dropdown-item:hover > .dropdown-menu,
.nav-item:hover > .dropdown-menu,
.dropdown-menu:focus-within {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grafite);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown-link:hover {
  background: var(--cinza-claro);
  color: var(--azul-claro);
}

/* MOBILE MENU HAMBURGER */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
  padding: 4px;
}

.mobile-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--azul-marinho);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* 7. HERO SECTION */
.hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 90px;
  background: radial-gradient(circle at 80% 20%, rgba(92, 141, 255, 0.08) 0%, rgba(255, 255, 255, 0) 60%),
              linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-title {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--azul-marinho);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--texto-secundario);
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(11, 29, 61, 0.1);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--azul-marinho);
}

.benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(92, 141, 255, 0.12);
  color: var(--azul-claro);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(92, 141, 255, 0.2);
}

.hero-image {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 29, 61, 0.3) 0%, rgba(29, 63, 115, 0.1) 100%);
  pointer-events: none;
}

/* 8. SOLUÇÕES SECTION */
.solutions-section {
  padding: 100px 0;
  background-color: var(--cinza-claro);
  position: relative;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.solution-card {
  background: var(--branco);
  border-radius: var(--radius-medium);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11, 29, 61, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  height: 100%;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--azul-claro);
}

.solution-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-small);
  background: rgba(92, 141, 255, 0.1);
  color: var(--azul-claro);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.solution-card:hover .solution-icon-wrapper {
  background: var(--azul-marinho);
  color: var(--azul-claro);
}

.solution-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.solution-description {
  color: var(--texto-secundario);
  font-size: 0.95rem;
  margin-bottom: 28px;
  flex-grow: 1;
}

.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--azul-intermediario);
}

.solution-card:hover .solution-link {
  color: var(--azul-claro);
}

/* 9. INDICADORES SECTION */
.stats-section {
  background: var(--gradiente-bessa);
  color: var(--branco);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.stat-icon {
  width: 48px;
  height: 48px;
  color: var(--azul-claro);
  margin-bottom: 16px;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--branco);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* 10. SOBRE SECTION */
.about-section {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-content h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  margin-bottom: 24px;
}

.about-text {
  font-size: 1.05rem;
  color: var(--texto-secundario);
  margin-bottom: 20px;
  line-height: 1.7;
}

.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.value-badge {
  background: rgba(92, 141, 255, 0.1);
  color: var(--azul-marinho);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(92, 141, 255, 0.2);
}

/* 11. PROCESSO DE TRABALHO SECTION */
.process-section {
  padding: 100px 0;
  background-color: var(--branco);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 60px;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 5%;
  right: 5%;
  height: 3px;
  background: var(--cinza-claro);
  z-index: 1;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--azul-marinho);
  color: var(--branco);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 0 0 8px var(--branco), var(--shadow-sm);
  transition: all var(--transition-normal);
}

.process-step:hover .step-number {
  background: var(--azul-claro);
  transform: scale(1.1);
}

.step-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--texto-secundario);
  line-height: 1.5;
}

/* 12. PROJETOS SECTION */
.projects-section {
  padding: 100px 0;
  background-color: var(--cinza-claro);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.project-card {
  background: var(--branco);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border: 1px solid rgba(11, 29, 61, 0.06);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--azul-claro);
}

.project-image-wrapper {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.project-desc {
  color: var(--texto-secundario);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.project-link {
  font-weight: 600;
  color: var(--azul-intermediario);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.project-card:hover .project-link {
  color: var(--azul-claro);
}

/* 13. TECNOLOGIAS SECTION */
.tech-section {
  padding: 100px 0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.tech-card {
  background: var(--branco);
  border: 1px solid var(--cinza-claro);
  border-radius: var(--radius-medium);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.tech-card:hover {
  transform: translateY(-4px);
  border-color: var(--azul-claro);
  box-shadow: var(--shadow-md);
}

.tech-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.tech-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--grafite);
}

/* 14. DIFERENCIAIS & SEGMENTOS & INTEGRAÇÕES & SEGURANÇA */
.grid-3-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-box {
  background: var(--branco);
  border-radius: var(--radius-medium);
  padding: 32px;
  border: 1px solid var(--cinza-claro);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.feature-box:hover {
  border-color: var(--azul-claro);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 44px;
  height: 44px;
  color: var(--azul-claro);
  margin-bottom: 20px;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.tag-item {
  background: var(--cinza-claro);
  color: var(--azul-marinho);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(11, 29, 61, 0.08);
  transition: all var(--transition-fast);
}

.tag-item:hover {
  background: var(--azul-marinho);
  color: var(--branco);
}

/* 15. BLOG SECTION */
.blog-section {
  padding: 100px 0;
  background-color: var(--cinza-claro);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  background: var(--branco);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid rgba(11, 29, 61, 0.06);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 24px;
}

.blog-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--azul-claro);
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.blog-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

/* 16. CONTATO SECTION */
.contact-section {
  background: var(--gradiente-bessa);
  color: var(--branco);
  padding: 100px 0;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  color: var(--branco);
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 20px;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.contact-form-container {
  background: var(--branco);
  color: var(--grafite);
  border-radius: var(--radius-large);
  padding: 44px;
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--azul-marinho);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-small);
  background-color: #F8FAFC;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--azul-claro);
  background-color: var(--branco);
  box-shadow: 0 0 0 4px rgba(92, 141, 255, 0.15);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--azul-marinho);
  margin-top: 3px;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.85rem;
  color: var(--texto-secundario);
}

/* 17. FOOTER */
.footer {
  background-color: #061126;
  color: var(--branco);
  padding-top: 80px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 360px;
}

.footer-logo {
  height: 44px;
  margin-bottom: 20px;
}

.footer-slogan {
  font-weight: 600;
  color: var(--azul-claro);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-column-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  color: var(--branco);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-links a:hover {
  color: var(--azul-claro);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* 18. MODALS */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 29, 61, 0.8);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--branco);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  border-radius: var(--radius-large);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.modal-backdrop.active .modal-container {
  transform: scale(1);
}

.modal-header {
  padding: 28px 36px;
  border-bottom: 1px solid var(--cinza-claro);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--branco);
  z-index: 10;
}

.modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cinza-claro);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.modal-close:hover {
  background: #E2E8F0;
}

.modal-tabs {
  display: flex;
  gap: 8px;
  padding: 0 36px;
  border-bottom: 1px solid var(--cinza-claro);
  background: #F8FAFC;
  overflow-x: auto;
}

.tab-btn {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--texto-secundario);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.tab-btn.active {
  color: var(--azul-marinho);
  border-bottom-color: var(--azul-claro);
}

.modal-body {
  padding: 36px;
  flex-grow: 1;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* FLOATING BUTTONS */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--branco);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 990;
  transition: transform var(--transition-fast);
}

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

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 100px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--azul-marinho);
  color: var(--branco);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--azul-claro);
}

/* 19. RESPONSIVE BREAKPOINTS */
@media (max-width: 1200px) {
  .solutions-grid, .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-image-wrapper {
    height: 380px;
  }
  .process-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .process-steps::before {
    top: 0;
    bottom: 0;
    left: 32px;
    width: 3px;
    height: 100%;
  }
  .process-step {
    flex-direction: row;
    text-align: left;
    gap: 20px;
  }
  .step-number {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--branco);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    gap: 20px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.active {
    transform: translateX(0);
  }
  .mobile-toggle {
    display: flex;
  }
  .grid-3-cols, .projects-grid {
    grid-template-columns: 1fr;
  }
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .solutions-grid, .blog-grid, .tech-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
  }
  .contact-form-container {
    padding: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .modal-container {
    max-height: 95vh;
  }
  .modal-header, .modal-body {
    padding: 20px;
  }
}
