/* =================== B2B (limpo) =================== */

/* ===== Variáveis ===== */
:root {
  --container: 1500px;
  --gutter: clamp(16px, 4.5vw, 24px);

  --section-spacing: 3rem;
  --heading-spacing: 1.5rem;

  --brand: var(--color-header-bg, #0f2b3a);
  --coral: var(--color-coral, #f2675b);
  --ink: var(--color-text, #222);
  --ink-2: var(--color-muted, #444);
  --bg: var(--color-bg, #f9f9f9);
}

/* ===== Util & Containers ===== */


/* =================== 1) HERO VÍDEO (FULL-BLEED) =================== */
.hero-video {
  position: relative;
  width: 100vw;
  height: 88vh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: #000;
}

.hero-video > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start; /* sobe o texto */
  background: rgba(76, 76, 76, 0.627);
  color: #fff;
  font-size: 5rem;
  text-align: center;
  padding: 15rem 10rem 5rem; /* controla a distância do topo */
}

/* =================== 2) BENEFÍCIOS =================== */
.relocation-benefits {
  max-width: 1500px;
}
.infactis-highlight {
  color: var(--coral);
  font-weight: 500; 
  font-size: 1.5rem; 
  padding-top: 2rem;;
}


/* =================== 3) SOBRE + VÍDEO =================== */
.sobre-infactis-video { 
  padding: var(--section-spacing) 0; 
  background: #fff; border-radius: 8px;
}
.sobre-infactis-video .container {
 
  display: flex; flex-wrap: wrap; align-items: center; gap: 2rem;
}

.texto-sobre { flex: 1 1 38%; max-width: 38%; }
.texto-sobre h2 {
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: 1rem; color: var(--coral);
  
}
.texto-sobre p { margin-bottom: 1rem; color: var(--ink-2); }
.texto-sobre p:last-child { margin-bottom: 0; }
.logo-inline { width: 40px; height: auto; display: block; }

.video-sobre { flex: 1 1 58%; max-width: 58%; }
.video-wrapper { position: relative; width: 100%; max-width: 900px; margin: 0 auto; }
.video-wrapper video {
  width: 100%; height: auto; display: block;
  border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.btn-audio {
  position: absolute; bottom: 1rem; right: 1rem;
  background: rgba(242,103,91,.9); color: #fff; border: 0;
  padding: .6rem 1rem; border-radius: 8px; cursor: pointer; font-weight: 700;
  transition: background-color .25s ease;
}
.btn-audio:hover { background: #d55249; }

/* =================== 4) DIFERENCIAIS (cards) =================== */

.feature-cards {
  display: grid; 
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem; 
  text-align: center;
  max-width: 1500px;;
}
.feature-cards img {
  width: 100px;
  margin: 0 auto;
  padding-bottom: 2rem;;
}
.card-horizontal{
 
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  width: 100%;;
}
/* =================== 5) SERVIÇOS =================== */
.servicos { padding: var(--section-spacing) 0; background: #fff; border-radius: 8px; }
.servicos-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: center; }
.texto-servicos h2 { margin-bottom: 1rem; color: var(--coral); }
.texto-servicos p  { margin-bottom: 1rem; color: var(--ink-2); }
.imagem-servicos img { width: 500px; max-width: 100%; height: auto; }

/* Botão coral */
.btn-coral-div { text-align: center; margin-top: 1rem; }
.btn-coral {
  background: var(--coral); color: #fff; padding: .8rem 1.5rem;
  border-radius: 8px; text-decoration: none; font-weight: 700; display: inline-block;
  transition: background-color .25s ease, transform .06s ease;
}
.btn-coral:hover { background: #d55249; }
.btn-coral:active { transform: translateY(1px); }

/* =================== CLIENTES - LOGO CLOUD =================== */

/* Grade de Logos */
.clientes-section {
  
  padding: 3rem 0;
  
}
.logos-grid {
  
  display: grid;
  /* Cria colunas que se ajustam sozinhas (mínimo 150px cada) */
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  align-items: center; /* Alinha logos de alturas diferentes no centro */
  justify-items: center;
}
.clientes-section h2{
  padding-bottom: 4rem;
  text-align: center;
}

.logos-grid img {
  width: 100%;
  max-width: 160px; /* Limita o tamanho para não pixelar */
  height: auto;
  object-fit: contain;
}

/* =================== 6) CLIENTES =================== */
.clientes{
  background: #fff;
 
}
.clientes h2 {
  text-align: center;
  padding-bottom: 4rem;

}
.swiper-slide {
  display: flex;
  justify-content: center; /* 👈 centraliza a imagem */
  align-items: center;
  height: 100px;
}

.swiper-slide img {
  max-width: 80%;
  max-height: 70px;
  object-fit: contain;
}

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

.mySwiper .swiper-wrapper {
  transition-timing-function: linear !important; /* se quiser movimento contínuo */
}

.swiper-slide img {
  max-width: 80%;
  max-height: 70px;
  object-fit: contain;
}

/* =================== 7) AVALIAÇÕES =================== */

/* =================== 7) AVALIAÇÕES =================== */
/* 4 cards em linha */
.avaliacoes-caixa{
  
  text-align: center;
}
.avaliacoes-carrossel {
 
  padding: 0 5%;
  display: grid;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  gap: 1rem;
  
}

/* Card */

.avaliacao {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: white;;
  border-radius: 7px;
  padding: 1rem;
}

/* A imagem ocupa exatamente os 50% do grid, com corte elegante */
.botao_avaliacoes{
  margin-top: 2rem;
  margin-bottom: 4rem;;
}
.avaliacao-topo img {
  width: 100%;
  height: auto;       /* Deixa a altura se ajustar à largura */
  aspect-ratio: 1 / 1; /* Opcional: força a imagem a ser um quadrado */
  object-fit: cover;   /* Ainda corta, mas em uma proporção controlada */
  border-radius: 7px;
}

.avaliacao-topo {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  align-items: center; 
  height: auto;        /* Remova os 200px fixos */
  overflow: visible;   /* Evita cortes inesperados */
}

/* Coluna do texto (nome + estrelas) bem alinhada */
.avaliacao-nome {
  display: flex;
  flex-direction: column;     /* estrelas em cima, nome embaixo */
  justify-content: center;
  gap: 0.25rem;

  /* evita quebra de linha que empurra para baixo */
  min-width: 0;
}

.avaliacao-nome .estrelas {
  margin: 0;
  line-height: 1;
  font-size: 1.1rem;
  color: #06527b; 
  white-space: nowrap;        /* estrelas não quebram */
}

.avaliacao-nome h3 {
  
  margin: 0;
  font-size: 1.2rem;
  color: var(--coral);
  overflow: hidden;
 
  
}
.avaliacoes-caixa h2 {
  padding-top: 3rem;;
  margin-bottom: 3rem;
  
}

/* Texto do depoimento sempre ABAIXO do topo, nunca “ao lado” */
.avaliacao > p {
  margin: 0;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
}


/* =================== Acessibilidade =================== */
:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* =================== Espaçamento padrão das seções =================== */
.relocation-benefits,
.sobre-infactis-video,
.sobre-infactis-cards,
.servicos,
.clientes,
.avaliacoes {
  text-align: left;
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
}
.relocation-benefits h1,
.relocation-benefits h2,
.sobre-infactis-video h2,
.sobre-infactis-cards h2,
.servicos h2,
.clientes h2,
.avaliacoes h2 {
  margin-top: 0; margin-bottom: var(--heading-spacing);
}

/* ===== TABLET (≤1500px) ===== */
/* ----------------------------------------------- Até 1500px --- */

@media (max-width: 1500px) {
  
  .hero-video {
    height: 70vh;
  }

}
@media (max-width: 1300px) {

  /* Cada card continua igual */
  .avaliacao {
    
    text-align: left; /* opcional, fica mais legível */
  }
  .hero-video {
    height: 65vh;
  }
  .hero-overlay {
    font-size: 4rem;
    text-align: center;
    padding: 05rem 10rem 5rem; /* controla a distância do topo */
  }

  /* Topo vira coluna */
  .avaliacao-topo {
    display: flex;
    flex-direction: column;
    height: auto;       /* remove altura fixa */
    gap: 0.75rem;
  }

  /* Imagem no topo */
  .avaliacao-topo img {
    
    height: 260px;          /* pode ajustar */
    object-fit: contain;    /* NÃO corta */
    background: #f3f3f3;    /* moldura */
    padding: 0.5rem;        /* opcional */
  }

  /* Nome + estrelas abaixo da imagem */
  .avaliacao-nome {
    justify-content: flex-start;
    align-items: flex-start;
  }

  /* Grid geral: menos colunas */
  .avaliacoes-carrossel {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}
/* =========================================================
   RESPONSIVO — LAPTOPS (≤1280px)
   ========================================================= */
   /* ----------------------------------------------- Até 1300px --- iPAD landscape */
@media (max-width: 1300px) {
  #conteudo_interno, .texto-servicos, .caixa{
    max-width: 98%;
  }
  .caixa-avaliacoes{
 
  padding: 0 2rem;
}
.hero-overlay {
  font-size: 4rem;
  text-align: center;
  padding: 05rem 10rem 5rem; /* controla a distância do topo */
}

  .hero-video {
    height: 65vh;
  }

  
}
/* =========================================================
   RESPONSIVO — TABLETS (≤1024px)
   ========================================================= */
   @media (max-width: 1024px) {
    /* Hero */
  .hero-video {
    height: 50vh;
  }
  

    /* Sobre + Vídeo → uma coluna + vídeo full-bleed */
    .sobre-infactis-video .container { flex-direction: column; align-items: stretch; }
    .texto-sobre, .video-sobre { max-width: 100%; flex: 1 1 100%; }
    .video-wrapper {
      width: 100vw; max-width: 100vw;
      margin-left: calc(50% - 50vw);
      margin-right: calc(50% - 50vw);
    }
    
    .video-wrapper video { border-radius: 0; box-shadow: none; }
    .sobre-infactis-video { padding-bottom: 0;  }
  
    /* Serviços */
    .servicos-grid      { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .imagem-servicos img{ width: 70%; max-width: 360px; margin: -2rem auto 0; display: block; }
  
    /* DIFERENCIAIS — seção full-bleed + cards 1 por linha */
    
    
    /* Cards de diferenciais (2 colunas) */
  /* Cards de diferenciais (2 colunas) */
  .feature-cards {
    gap: 1rem; 
}

  .feature-cards {
    grid-template-columns: repeat(1fr);
  }

  /* Tarja (sem estilos tipográficos) */
  .pacote-label{
    font-size: 1.8rem;  
    top:50%;
    left:0; right:0;
    transform: translateY(-50%);
    
    padding:0.25rem 1.25rem;
    
  }
  
    .avaliacoes-carrossel {
      
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
       }
  }


/* =========================================================
   RESPONSIVO — TABLETS RETRATO (≤900px)
   ========================================================= */
@media (max-width: 900px) {
  /* Benefícios: highlight volta ao fluxo */
  .infactis-highlight {

    padding-top: 0;
  }
  .benefits-layout { padding-right: 0; }
  .benefits-highlight {
    position: static; max-width: 100%; min-width: 0;
    margin-top: 36px; text-align: center;
  }
  .relocation-benefits { padding-bottom: 0;
                        padding-top: 5px;;}
.logos-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 logos por linha no celular */
    gap: 20px;
  }
  .logos-grid img {
  width: 70%;
  
  
  transition: all 0.4s ease;
}
    .ergebnis{
      font-size: 1.5rem;
      text-align: center !important;
    }
.texto-sobre h2, .clientes h2, .avaliacoes h2, .servicos h2{
  text-align: center;
 
}
  .card-horizontal > img { flex: 0 0 140px; width: 140px; height: 140px; }
  .card-content h3 { font-size: 1.25rem; margin-top: 20px; }


  /* Avaliações: leve redução */
  
 
  .avaliacao > p { font-size: 1rem; }
}

@media (max-width: 820px) {
  /* iPad Air portrait */

  
  .hero-overlay {
    font-size: 3.5rem;
   
  }
  
}
/* =========================================================
   RESPONSIVO — MOBILE (≤768px)
   ========================================================= */
@media (max-width: 768px) {
  /* Hero */
  .hero-video {
    height: 35vh;
  }
  .hero-overlay {
    padding: 01rem 3rem 3rem; /* controla a distância do topo */
    font-size: 1.8rem;
  }

  /* Benefícios: coluna única */
  .benefits-layout { flex-direction: column; }
  .benefits-text { padding-right: 0; width: 100%; }
  .relocation-benefits .ergebnis { margin-top: 28px; text-align: center; }

  /* Cards de diferenciais (grid 1 col no mobile) */
  /* Cards de diferenciais (grid 1 col no mobile) */
  .feature-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .card-horizontal {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: start;
    gap: 1rem;
    padding: .9rem;
  }
  .card-horizontal > img {
    width: 120px;
    height: 120px;
    object-fit: contain;
  }
  
  /* A coluna da imagem precisa ser maior */
  .card-horizontal {
    display: grid;
    grid-template-columns: 120px 1fr; /* <-- era 56px */
    align-items: start;
    gap: 1rem;
    padding: .9rem;
  }
  .card-content {
    text-align: left;
    justify-self: start; /* 👈 importante para grid */
    align-self: center;
  }
  
  
  .card-content p  { font-size: 1rem; }

  /* Serviços */
  .imagem-servicos img { width: 80%; max-width: 280px; margin: -2rem auto 0; display: block; }
  .servicos { margin-top: -40px;}

  
  /* Reorganiza imagem e nome */
  .avaliacoes-carrossel {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .avaliacao-topo {
    display: flex;
    flex-direction: column; /* imagem em cima, nome embaixo */
    align-items: center;
    text-align: center;
    gap: 0.5rem;

    /* 🔧 garante que nada fique escondido */
    height: auto;
    overflow: visible;
  }

  /* imagem ocupa toda a largura do card, sem corte */
  .avaliacao-topo img {
    width: 100%;
    max-width: 250px; /* limita no mobile */
    height: auto;     /* evita corte */
    object-fit: contain; /* mostra a imagem inteira */
    border-radius: 8px;
  }

  /* nome + estrelas centralizados */
  .avaliacao-nome {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0.25rem;
    gap: 0.25rem;
  }

  .avaliacao-nome .estrelas {
    font-size: 1.1rem;
   
    margin: 0;
  }

  
  /* texto da avaliação centralizado e visível */
  .avaliacao > p {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
  }


}



