/* =================== VARIÁVEIS LOCAIS =================== */
:root {
  --container: 1500px;
  --gutter: clamp(16px, 4.5vw, 24px);
  --h2-gap: 1.75rem;
  --rb-pb: 3rem;
  --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);
  --section-spacing: 3rem;
  --heading-spacing: 1.5rem;
}

/* =================== CONTAINERS =================== */
#conteudo_interno, .texto-servicos, .caixa{
  max-width: 1500px;
  margin: 0 auto;
 
}


/* =================== 1) HERO (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.52);
  color: #fff;
  font-size: 5rem;
  text-align: center;
  padding: 05rem 10rem 5rem; /* controla a distância do topo */
}


/* =================== 3) WIR SIND INFACTIS =================== */

#todos{
 
  width: 100%;
  text-align: center;
  margin-bottom: 4rem;
}
#todos h1{
  font-size: 3rem;
}
.sobre-infactis-video {
  margin-top: 2rem;
  
  
}

.sobre-infactis-video .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.texto-sobre {
  flex: 1 1 38%;
  max-width: 38%;
}

.texto-sobre h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  
  
}

.texto-sobre p {
  margin-bottom: 1rem;
  

}
.texto-sobre span {
  color: var(--coral);
  font-weight: 500;
  font-size: 1.5rem;;
}
.logo-inline {
  width: 40px;
  height: auto;
}

.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, 0.15);
}

.btn-audio {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(242, 103, 91, 0.9);
  color: #fff;
  border: 0;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: background-color 0.25s ease;
}

.btn-audio:hover {
  background: #d55249;
}

/* =================== 4) DIFERENCIAIS (CARDS) =================== */

.feature-cards {
  display: grid; 
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem; 
  padding-inline: 0; 
  text-align: center;
  margin-top: 5rem;
  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%;;
}


/* =================== 2) BENEFÍCIOS =================== */
.relocation-benefits {
  margin: 3rem 0;;
  /* usa 1000px como limite, não como valor fixo */
  background-image: url(../images/see2.png);
  background-size:cover;
  background-repeat: no-repeat;
  width: 100vw;    /* ocupa toda a largura da tela */
  height: 20vw;

}
.benefits-layout {
  padding-top: 5%;;
  width: 100vw;   
  margin-left: calc(50% - 50vw); /* truque para remover o centramento do body */
  margin-right: calc(50% - 50vw);
  
}

.infactis-highlight {
  color: var(--bg);
  max-width: 1500px;
  margin: 0 auto;
  font-size: 2vw;
  text-align: center;
  padding: 0 1%;
}

/* =================== 5) SERVIÇOS =================== */
.servicos { padding: 0rem 0; }
.servicos-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: center; }
.texto-servicos h2 { margin-bottom: 2rem; padding-top: 150px;}
.texto-servicos p  { margin-bottom: 1rem;  }
.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); }

/* =================== PACOTES =================== */
.pacotes{ 
  margin-top:5rem;
  text-align: center;

}
.pacotes-descricao{
  max-width:none; /* usa toda a largura do conteudo_interno */
  width:100%;
  margin:0 0 .75rem;
}

.pacotes-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1rem;
  margin-top:3rem;
}

.pacote-card{
  position:relative;
  overflow:hidden;
  border-radius:7px;
  background:#fff;
  box-shadow:0 6px 16px rgba(0,0,0,.08);
  transition: transform .15s ease, box-shadow .2s ease;
}

/* imagem “flat” para cards mais baixos */
.pacote-card img{
  display:block;
  width:100%;
  aspect-ratio:21/9;
  object-fit:cover;
}

/* Tarja (sem estilos tipográficos) */
.pacote-label{
  font-size: 2rem;
  font-weight: 400;
  position:absolute;
  top:45%;
  left:0; right:0;
  transform: translateY(-50%);
  width:100%;
  padding:1rem 1.25rem;
  text-align:center;
  background:rgba(15, 43, 58, 0.65);
  pointer-events:none;
  backdrop-filter:saturate(120%);
  color: #fff;
}


/* =================== 6) CLIENTES =================== */
.clientes {
  background: var(--bg);
  padding: 4rem 0;
}

.clientes h2 {
  text-align: center;
  margin-bottom: 4rem;
  color: var(--coral);
}

.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 =================== */
/* 4 cards em linha */
.avaliacoes-carrossel {
  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;
}

/* TOPO: imagem (50%) + nome/estrelas (50%) */
.avaliacao-topo {

    display: grid;
    grid-template-columns: 1.8fr 1fr; /* imagem 50% + texto 50% */
    align-items: start; /* 👈 faz o nome alinhar pelo topo da imagem */
    column-gap: 0.5rem;
    height: 200px;              /* ajuste fino se quiser */
    overflow: hidden;
  }


/* A imagem ocupa exatamente os 50% do grid, com corte elegante */
.botao_avaliacoes{
  margin-top: 2rem;
  margin-bottom: 4rem;;
}
.avaliacoes{
  
  margin-bottom: 2rem;;
}
.avaliacao-topo img {
  
  width: 100%;
  height: 100%;
  object-fit: cover;          /* preenche sem distorcer */
  border-radius: 7px;
  display: block;
}

/* 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 h2 {

  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 & AJUSTES =================== */
:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}


/********************************************************************** =================== RESPONSIVIDADE =================== */

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

@media (max-width: 1500px) {
  #conteudo_interno, .texto-servicos, .caixa{
    max-width: 98%;
  }

  .hero-video {
    height: 70vh;
  }

}

/* ----------------------------------------------- Até 1300px --- iPAD landscape */
@media (max-width: 1300px) {
  #conteudo_interno, .texto-servicos, .caixa{
    max-width: 98%;
   
  }
  
  .hero-video {
    height: 65vh;
  }
  .relocation-benefits {
    padding: 0 50px !important;
    
  }
  .hero-overlay {
    
    font-size: 4rem;
    text-align: center;
    padding: 05rem 10rem 5rem; /* controla a distância do topo */
  }
}
/* =====------------------------------------ TABLET (≤1024px) ===== */
@media (max-width: 1024px) {
  #todos {
    margin-bottom: 2rem;
}
  #conteudo_interno, .texto-servicos, .caixa{
    max-width: 95%; 
  }
  
.texto-sobre {
  margin-bottom: 2rem;;
}
.avaliacoes-carrossel {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
  /* Hero */
  .hero-video {
    height: 50vh;
  }

  /* Benefícios */
  
  /* Sobre + Vídeo → full-bleed abaixo do texto */
  .sobre-infactis-video .container {
    flex-direction: column;
    align-items: stretch;
  }

  .texto-sobre,
  .video-sobre {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .video-wrapper {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .video-wrapper video {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
  }

  /* Serviços */
  .servicos-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .imagem-servicos img {
    width: 70%;
    max-width: 360px;
    margin: -2rem auto -2rem auto;
    display: block;
  }
.texto-servicos{

  margin-top: -8rem; ;
}
  /* Cards de diferenciais (2 colunas) */
  .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;
    
  }

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

  
  .hero-video {
    height: 50vh;
  }
  .hero-overlay {
    font-size: 3.5rem;
   
  }
  
}
/* =====----------------------------------------- MOBILE (≤768px) ===== */
@media (max-width: 768px) {
  /* Hero */
  .hero-video {
    height: 35vh;
  }
  #todos h1{
    font-size: 1.8rem;
    
  }
  #todos {
       margin-bottom: 1rem;
  }
  .avaliacoes-carrossel {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .pacotes{ 
    margin-top:2rem;
    
  }
  .pacotes-grid{
    grid-template-columns:repeat(1,1fr); 
  }
  /* Tarja (sem estilos tipográficos) */
  .pacote-label{
    font-size: 2rem;
    top:50%;
    left:0; right:0;
    transform: translateY(-50%);
    padding:0.5rem 1.25rem;
    
  }


  /* Reorganiza imagem e nome */
  .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;
  }

  .avaliacao-nome h3 {
    font-size: 1.3rem;
   
    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;
  }


  .hero-overlay {
    padding: 01rem 3rem 3rem; /* controla a distância do topo */
 
    font-size: 2.1rem;

  }

  .relocation-benefits {
    padding: 1rem 2rem;
 
    height: 220px;
  }
  
  
  .infactis-highlight {
    
    font-size: 1.1rem;
    line-height: 1.5;
    
  }
  
  /* Sobre + Vídeo — remove fundo e aproxima dos cards */
  .sobre-infactis-video {
    background: transparent;
    
  }
  .texto-sobre p {
    padding-left: 1rem;;
  }
  .sobre-infactis-cards .feature-cards {
    padding-top: 0.5rem;
  }

  /* Serviços — imagem menor e central */
  .imagem-servicos img {
    width: 80%;
    max-width: 280px;
    margin: 2rem auto 0 auto;
  }

  /* Depoimentos centralizados no mobile */
  .avaliacao {
    text-align: center;
  }


******************************************************

.feature-cards img {
  width: 100px;
  margin: 0 auto;
}
.card-horizontal{
 
  padding: 10px;
  background-color: #fff;
  border-radius: 8px;
  width: 100%;;
}

 /* Cards de diferenciais (1 coluna e ícone menor) */
 .feature-cards {
  margin-top: -5px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* ⬅️ CENTRALIZA */
  gap: 2rem;               /* espaçamento entre cards */
}

.clientes .container > h2,
.avaliacoes .container > h2 {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}
}