/* ===========================
   RESET & BASE
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #506e96;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    opacity: 1;
}

/* ===========================
   CUSTOM CURSOR
   =========================== */
.cursor,
.cursor-follower {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
}

.cursor {
    width: 10px;
    height: 10px;
    background-color: #141c8f;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid #220969;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

/* ===========================
   PROGRESS BAR
   =========================== */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #071272, #190974);
    z-index: 9999;
    transition: width 0.1s ease;
    
}

/* ===========================
   LOADING SCREEN
   =========================== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 1;
    visibility: visible;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.8s ease 0.3s, visibility 0.8s ease 0.3s;
}


.loading-logo {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 8px;
    color: #ffffff;
    margin-bottom: 30px;
    animation: logoAppear 0.8s ease forwards;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-logo img {
  width: clamp(120px, 30vw, 1000px);
  height: auto;
}


@keyframes logoAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-bar {
    width: 100%;
    height: 2px;
    background-color: rgba(28, 197, 240, 0.2);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.loading-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #051c46, #3455e9);
    animation: loadProgress 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    box-shadow: 0 0 10px rgba(64, 10, 136, 0.5);
}

@keyframes loadProgress {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
    
}
.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.274)),
    url("beautiful-scenery-mountain-range-covered-with-snow-cloudy-sky.jpg") center/cover no-repeat;
  filter: blur(2px); 
  z-index: -1;
}

.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(24, 38, 156, 0.2);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Aqui ele fica "limpo" para não sumir no celular */
}
.listavalores{
    margin-left: 18px;
}
.navbar img {
    width: 200px;
    margin-top: -20px;
    height: 120px;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #fbfaff;
    
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 120px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0e1e7a;
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #0b32df;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background-color: #061c4d;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
        background: 
        linear-gradient(to bottom, transparent 70%, #cdd6e6 100%),
        radial-gradient(ellipse at center, rgba(68, 100, 158, 0.2), #cdd6e6);

}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 8vw, 120px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -2px;
    color: #ffffff;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.line-reveal {
    display: inline-block;
    opacity: 0;
    transform: translateY(100px);
    font-size: clamp(28px, 7vw, 100px);
    margin-top: -20px;
}

.line-reveal.animate {
    animation: lineReveal 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.line-reveal:nth-child(2).animate {
    animation-delay: 0.3s;
}

.line-reveal:nth-child(3).animate {
    animation-delay: 0.6s;
    background: linear-gradient(90deg, #3052e7, #1384cf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes lineReveal {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    margin-bottom: 50px;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-up.animate {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.9s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: transparent;
    border: 2px solid #5c65e4;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #0548a0;
    transition: left 0.4s ease;
    z-index: -1;
}

.cta-button:hover {
    color: #0a0a0a;
}

.cta-button:hover::before {
    left: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.5s;
}


@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.scroll-indicator span {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, transparent, #130a92);
    animation: scrollMove 2s ease-in-out infinite;
}

@keyframes scrollMove {
    0%, 100% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        transform: translateY(20px);
        opacity: 1;
    }
}

.scroll-indicator p {
    font-size: 12px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

/* ===========================
   SECTIONS
   =========================== */
.section {
    padding: 120px 0;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    margin-bottom: 80px;
    text-align: center;
}

.section-subtitle {
    display: block;
    font-size: 14px;
    letter-spacing: 3px;
    color: #103b5e;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-subtitle2{
    display: block;
    font-size: 14px;
    letter-spacing: 3px;
    color: #67c7e4;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}
.section-title2{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #08042ca8;
    margin-bottom: 20px;
}
.title-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #116992, transparent);
    margin: 0 auto;
}

.section-description {
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

/* ===========================
   SOBRE SECTION
   =========================== */
.sobre-section {
    background:  #cdd6e6;
}
.subtitulo{
    font-size: 30px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #000c79;
}
.sobre-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;  
}

.sobre-text {
    padding-right: 40px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.lead-text {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 28px;
    line-height: 1.6;
    color: #000000af;
    margin-bottom: 30px;

}

.sobre-text p, li {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
    font-weight: 700;
}

.valores {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 60px 20px;
  width: 100%;
}

.valores p {
  margin: 0;
  display: flex;
  flex-direction: column;   
  align-items: center;      
  text-align: center;
  gap: 12px;
}

.valores i {
  font-size: 30px; 
}

/* Linha de cima */
.valores p:nth-child(1) { grid-column: 1 / 3; }
.valores p:nth-child(2) { grid-column: 3 / 5; }
.valores p:nth-child(3) { grid-column: 5 / 7; }

/* Linha de baixo */
.valores p:nth-child(4) { grid-column: 2 / 4; }
.valores p:nth-child(5) { grid-column: 4 / 6; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.sobre-imagem {
  display: flex;
  justify-content: center; /* centraliza horizontal */
  align-items: center;     /* centraliza vertical */
}

.sobre-imagem img {
  width: 100%;
  max-width: 500px; /* controla tamanho no desktop */
  height: auto;     /* mantém proporção */
  border-radius: 12px; /* opcional, fica mais bonito */
  margin-top: 10rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    color: #0f0566;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
    margin-top: 10px;
}

.sobre-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-placeholder {
    width: 100%;
    height: 100%;
}

.image-placeholder svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ===========================
   SOLUÇÕES SECTION
   =========================== */
.solucoes-section {
    background-color: #ffffff5e;

}

.solucoes-section::before {
  content: "";
  position: absolute;
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  
  /* Configurações da imagem */
  background-image: url(montfun.png);
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  
  /* CONTROLE DE TRANSPARÊNCIA AQUI */
  opacity: 0.3; 
  
  /* Garante que a imagem fique ATRÁS do texto */
  z-index: -1; 
}

.solucoes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.solution-card {
    background: linear-gradient(135deg, rgba(4, 11, 109, 0.05), rgba(10, 10, 10, 0.8));
    border: 1px solid rgba(73, 104, 241, 0.2);
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(21, 42, 161, 0.2);
}

.card-icon {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 700;
    color: rgba(25, 11, 228, 0.226);
    line-height: 1;
    margin-bottom: 30px;
    transition: color 0.4s ease, transform 0.4s ease;
}

.solution-card:hover .card-icon {
    color: #dddddd;
    transform: scale(1.1);
}

.solution-card h3 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.solution-card p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.card-hover-effect {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(59, 7, 155, 0.1));
    transition: top 0.6s ease;
    pointer-events: none;
}

.solution-card:hover .card-hover-effect {
    top: 0;
}

/* ===========================
   CLIENTES SECTION
   =========================== */
.clientes-section {
    background: linear-gradient(180deg, #111111 0%, #0a0a0a 100%);
    padding: 60px 0;
}

.clientes-efetivos {
    font-size: 40px; /* Ajustado para não quebrar o layout */
    font-family: sans-serif;
    color: white;
    margin-bottom: 20px;
}

.carrossel {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.carrossel-view {
    flex: 1;
    overflow: hidden; /* Corta as logos que estão fora da tela */
}

.clientes-grid {
    display: flex;
    gap: 20px;
    /* Aqui está a animação de transição do movimento */
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}

.cliente-card {
    flex: 0 0 calc(25% - 15px); /* Exibe 4 por vez */
    height: 200px;
    background-color: rgba(139, 124, 221, 0.05);
    border: 1px solid rgba(41, 214, 226, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.cliente-card:hover {
    transform: scale(1.05);
    border-color: #2a35d6;
}

.cliente-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.nav-btn {
    width: 50px;
    height: 50px;
    background-color: #2a35d6;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    flex-shrink: 0;
    transition: 0.3s;
}

.nav-btn:hover {
    background-color: #1a23a0;
}

/* ===========================
   PARCEIROS SECTION
   =========================== */
.parceiros-section {
    background-color: #6187b8b2;
}

.parceiros-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.parceiro-item2 {
    background: linear-gradient(135deg, rgba(22, 166, 233, 0.08), rgba(10, 10, 10, 0.5));
    border: 1px solid rgba(6, 58, 88, 0.2);
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 12px;
}

.parceiro-item:hover {
    transform: translateX(10px);
}

.parceiro-item {
    background: linear-gradient(135deg, rgba(22, 166, 233, 0.08), rgba(10, 10, 10, 0.5));
    border: 1px solid rgba(6, 58, 88, 0.2);
    padding: 3rem;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 12px; /* Cantos arredondados para um look moderno */
    
    /* Transição suave para o card */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.parceiro-content img {
    width: 70%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    
    /* Deixa a logo levemente transparente ou opaca antes do hover */
    opacity: 0.7;
    filter: grayscale(100%); /* Opcional: logo em P&B antes do hover */
    
    /* Transição suave para a imagem */
    transition: all 0.4s ease;
}

/* --- O EFEITO DE HOVER --- */

.parceiro-item:hover {
    /* O card levanta e brilha levemente */
    transform: translateY(-10px);
    background: linear-gradient(135deg, rgba(22, 166, 233, 0.2), rgba(10, 10, 10, 0.7));
    border-color: rgba(22, 166, 233, 0.5);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.parceiro-item:hover .parceiro-content img {
    /* A logo ganha cor, brilho e aumenta um pouco */
    opacity: 1;
    filter: grayscale(0%) brightness(1.2);
    transform: scale(1.1);
}
.parceiro-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.parceiro-logo {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: rgba(2, 12, 56, 0.61);
    letter-spacing: 2px;
    margin-bottom: 25px;
    transition: color 0.4s ease;
}
.parceiros-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    justify-items: center;
}

.parceiro-item2{
    width: 100%;
}

.parceiro-item2:nth-child(3) {
    grid-column: 1 / 3;
    width: 50%;
}

.parceiro-item:hover {
    color: #094c8b;
}

.parceiro-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}


/* ===========================
   TERCEIRO SETOR SECTION
   =========================== */
.terceiro-section {
    background: linear-gradient(180deg, #3070b865 0%, #6e92d694 100%);
}

.terceiro-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 100px;
    align-items: start;
}

.terceiro-text {
    padding-right: 40px;
}

.impact-items {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.impact-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.impact-icon {
    font-size: 32px;
    color: #9684e7;
    line-height: 1;
}

.impact-item h4 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.impact-item p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.terceiro-visual {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.visual-card {
    background: linear-gradient(135deg, rgba(9, 122, 197, 0.1), rgba(10, 10, 10, 0.8));
    border: 1px solid rgba(15, 119, 216, 0.3);
    padding: 40px;
    text-align: center;
    transition: transform 0.4s ease;
}

.visual-card:hover {
    transform: scale(1.05);
}

.visual-stat {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: #112ed3;
    line-height: 1;
    margin-bottom: 15px;
}

.imagemterc img {
  width: 100%;
  max-width: 500px; /* controla tamanho no desktop */
  height: auto;     /* mantém proporção */
  border-radius: 12px; /* opcional, fica mais bonito */
  margin-top: 8rem;
}

.imagemterc{
  display: flex;
    justify-content: flex-end; /* Empurra o conteúdo para a direita */
     width: 100%;
}

.visual-plus {
    font-size: 40px;
}

.visual-card p {
    font-size: 14px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
}

/* ===========================
   CONTATOS SECTION
   =========================== */
.contatos-section {
    background-color: #cbe2f041;
}

.contatos-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contato-info h3 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
}

.contato-info > p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.info-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.info-icon {
    font-size: 24px;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px #fff;
}

.info-item h4 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #ebebeb;
    margin-bottom: 8px;
}

.info-item p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.contato-form {
    background: linear-gradient(135deg, rgba(7, 67, 134, 0.05), rgba(10, 10, 10, 0.8));
    border: 1px solid rgba(8, 42, 134, 0.2);
    padding: 50px;
}

.form-group {
    position: relative;
    margin-bottom: 35px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(0, 9, 138, 0.3);
    color: #ffffff;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #034be6;
}

.form-group label {
    position: absolute;
    top: 18px;
    left: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -20px;
    font-size: 12px;
    color: #ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    padding: 20px;
    background: transparent;
    border: 2px solid #022361;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #0d00c2;
    transition: left 0.4s ease;
    z-index: -1;
}

.submit-button:hover {
    color: #0a0a0a;
}

.submit-button:hover::before {
    left: 0;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background-color: #cbe2f041;
    border-top: 1px solid rgba(8, 31, 107, 0.2);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
}

.footer-links h4,
.footer-social h4 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}
.footer-social{
    text-align: center;
}
.footer-brand img{
    width: clamp(20px, 30vw, 1000px);
  height: auto;
}
.footer-links a:hover {
    color: #000c79;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 30px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #111d8d;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(76, 23, 221, 0.1);
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

/* ===========================
   REVEAL ANIMATIONS
   =========================== */
.reveal-text,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-fade {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-text {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(0.9);
}

.reveal-fade {
    transform: translateY(20px);
}

.reveal-text.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed,
.reveal-fade.revealed {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 90px;
    }
    
    .section-title {
        font-size: 52px;
    }
    
    .solucoes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .clientes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 80px);
        background-color: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 50px 30px;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(40, 20, 224, 0.2);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 64px;
    }
    
    .section-title {
        font-size: 42px;
    }
    
    .sobre-content,
    .contatos-content,
    .terceiro-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .solucoes-grid,
    .parceiros-grid {
        grid-template-columns: 1fr;
    }
    
    .clientes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .clientes-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


@media (min-width: 1024px) {
    .nav-container {
        margin-top: -88px; /* Sua margem original volta aqui */
        margin-right: 225px; /* Seu ajuste de alinhamento volta aqui */
    }
    
    .navbar img {
        width: 200px;
        margin-top: -20px;
        height: 120px;
    }
}

/* ===========================
   AJUSTE DE IMAGENS E SEÇÕES
   =========================== */

/* Remove as margens gigantes que empurram o conteúdo no mobile */
/* ============================================================
   BLOCO DEFINITIVO DE CORREÇÃO MOBILE (COLE NO FINAL DE TUDO)
   ============================================================ */
/* ============================================================
   CORREÇÕES FINAIS MOBILE (COLE NO FINAL DO CSS)
   ============================================================ */

@media (max-width: 768px) {

    /* =========================
       NAVBAR
       ========================= */
    .navbar img {
        width: 120px;
        height: auto;
        margin-top: 0;
    }

    .nav-container {
        margin: 0 !important;
        padding: 0 15px;
    }

    /* =========================
       HERO
       ========================= */
    .hero-title {
        font-size: 34px !important;
        line-height: 1.2 !important;
        margin-top: 40px !important;
        display: block !important;
        text-align: center !important;
    }

    .line-reveal {
        font-size: 28px !important;
        display: block !important;
        transform: none !important;
        opacity: 1 !important;
        margin-bottom: 5px !important;
    }

    .cta-button {
        padding: 14px 25px;
        font-size: 12px;
    }

    /* =========================
       TEXTOS
       ========================= */
    .section-title,
    .section-title2 {
        font-size: 32px !important;
        text-align: center !important;
    }

    .lead-text {
        font-size: 18px;
    }

    /* =========================
       LAYOUT GERAL
       ========================= */
    .sobre-content,
    .terceiro-content,
    .contatos-content {
        display: block !important;
        text-align: center;
    }

    .container {
        padding: 0 20px;
    }

    /* =========================
       IMAGENS (REMOVE ESPAÇOS BUGADOS)
       ========================= */
    .sobre-imagem img,
    .imagemterc img {
        margin-top: 0 !important;
        margin: 20px auto !important;
        display: block;
        max-width: 90%;
        height: auto;
    }

    /* =========================
       VALORES (ÍCONES)
       ========================= */
    .valores {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px;
    }

    .valores p {
        grid-column: span 1 !important;
        align-items: center;
    }

    /* =========================
       SOLUÇÕES (CARDS)
       ========================= */
    .solucoes-grid {
        display: block !important;
        width: 100%;
        padding: 0 15px;
    }

    .solution-card {
        width: 100%;
        margin-bottom: 25px;
        padding: 35px 20px;
        text-align: center;
    }

    .card-icon {
        margin: 0 auto 15px auto;
    }

    /* =========================
       PARCEIROS
       ========================= */
    .parceiros-grid {
        grid-template-columns: 1fr !important;
    }

    .parceiro-item2:nth-child(3) {
        grid-column: auto !important;
        width: 100% !important;
    }

    /* =========================
       FORMULÁRIO
       ========================= */
    .contato-form {
        padding: 25px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 14px;
    }

    /* =========================
       FOOTER
       ========================= */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}


/* EXTRA: telas MUITO pequenas */
@media (max-width: 480px) {
    .valores {
        grid-template-columns: 1fr !important;
    }
}


/* REMOVE CURSOR BUGADO NO MOBILE */
@media (hover: none) {
    .cursor,
    .cursor-follower {
        display: none !important;
    }

    body {
        cursor: default !important;
    }
}


@media (max-width: 768px) {

    /* =========================
       SOBRE (ALINHAMENTO CERTO)
       ========================= */
    .sobre-text {
        padding: 0 !important;
        text-align: center;
    }

    .sobre-text p,
    .sobre-text li {
        text-align: center;
    }

    .lead-text {
        text-align: center;
        margin-left: 0;
        margin-right: 0;
    }

    /* =========================
       TERCEIRO SETOR
       ========================= */
    .terceiro-text {
        padding: 0 !important;
        text-align: center;
    }

    .impact-items {
        align-items: center;
    }

    .impact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .impact-item p {
        text-align: center;
    }

    /* =========================
       CONTATOS (TEXTO ESQUERDO BUGADO)
       ========================= */
    .contato-info {
        text-align: center;
        padding: 0 !important;
    }

    .info-items {
        align-items: center;
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .info-item p {
        text-align: center;
    }

}