/* =================== 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 ===== */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}

/* =================== 1) HERO VÍDEO (FULL-BLEED) =================== */
.hero-video {
  position: relative;
  width: 100vw;
  height: 100vh;
  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; flex-direction: column;
  align-items: center; justify-content: center;
  color: #fff; text-align: center; padding: 2rem;
  background: rgba(0,0,0,.35);
}

/* =================== 2) BENEFÍCIOS =================== */
.relocation-benefits {
  
  position: relative;
  background: var(--bg);
  padding: 0 0 360px 0; /* reserva altura p/ card absoluto */
}
.relocation-benefits h1,
.relocation-benefits h2 { color: var(--coral); margin: 0; }

.benefits-layout {
  display: flex; flex-wrap: wrap; align-items: flex-start;
  padding-right: 480px; /* espaço p/ highlight à direita */
}
.benefits-text { flex: 2; min-width: 280px; max-width: 950px; padding-right: 50px; }
.benefits-text > p { color: var(--ink-2); margin: 0; }

.benefits-highlight {
  position: absolute; top: 150px; right: 0;
  min-width: 400px; max-width: 450px; text-align: center;
}
.infactis-highlight {
  background: #fff; border-radius: 8px; color: var(--coral);
  font-weight: 500; font-size: 1.3rem; line-height: 1.6; padding: 30px;
}
/* h2 “Ergebnis” fora da .container mas alinhado ao grid */
.relocation-benefits .ergebnis {
  margin: 48px auto 0;
  max-width: var(--container);
  padding: 0 var(--gutter);
  text-align: left;
}

/* =================== 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);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}
.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: 2rem; padding-inline: 0; 
  text-align: center;
}
.feature-cards img {
  width: 100px;
  margin: 0 auto;
}
.card-horizontal{

  padding: 10px;
  background-color: #fff;
  border-radius: 8px;;
}

/* =================== 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); }

/* =================== 6) CLIENTES =================== */
.clientes { padding: var(--section-spacing) 0; background: var(--bg); }
.clientes h2 { text-align: left; margin-bottom: var(--heading-spacing); color: var(--coral); }
.swiper-slide { display: flex; justify-content: center; align-items: center; height: 100px; }
.swiper-slide img { max-height: 80px; width: auto; object-fit: contain; }
.clientes .swiper-slide { display: flex; align-items: center; justify-content: center; }
.clientes .swiper-slide img { max-width: 80%; max-height: 70px; width: auto; height: auto; object-fit: contain; }

/* =================== 7) AVALIAÇÕES =================== */
.avaliacoes { padding: var(--section-spacing) 0; margin-bottom: 2rem; }
.avaliacoes h2 { text-align: left; margin-bottom: var(--heading-spacing); color: var(--coral); }
.avaliacoes-carrossel { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; }
.avaliacao {
  background: #fff; border-radius: 12px; padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
  flex: 1 1 300px; max-width: 450px;
  display: flex; flex-direction: column; gap: 1rem; text-align: left;
}
.avaliacao-topo { display: flex; align-items: center; gap: 1rem; }
.avaliacao img { width: 100px; height: 100px; border-radius: 8px; object-fit: cover; }
.avaliacao h3 { margin: 0; font-size: 1rem; color: var(--ink); }
.avaliacao p  { font-size: 0.95rem; line-height: 1.5; }
.estrelas { color: var(--coral); }

/* =================== 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);
}

/* =========================================================
   RESPONSIVO — LAPTOPS (≤1280px)
   ========================================================= */
@media (max-width: 1280px) {
  .benefits-layout { padding-right: 420px; }
  .benefits-highlight { max-width: 420px; }

}
/* =========================================================
   RESPONSIVO — TABLETS (≤1024px)
   ========================================================= */
   @media (max-width: 1024px) {
    /* Hero */
    .hero-video { height: 70vh; }
  
    /* Benefícios (redução leve) */
    .benefits-layout   { padding-right: 360px; }
    .benefits-highlight{ max-width: 360px; min-width: 320px; }
    .benefits-text     { padding-right: 32px; }
    .infactis-highlight{ padding: 26px; } /* tipografia segue o base.css */
  
    /* 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; background: var(--bg); }
  
    /* 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 */
    
    
    .feature-cards{
      display: flex;
      flex-direction: column;
      gap: 1.75rem;
      align-items: stretch;                 /* cada card ocupa 100% */
    }
    .card-horizontal{
      width: 100%;
      display: flex;
      align-items: flex-start;
      gap: 1.5rem;
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 8px rgba(0,0,0,.08);
      padding: 1.75rem;
      text-align: left;
    }
   
    .card-content{
      flex: 1 1 auto;
      display: grid;                        /* facilita alinhamento */
      justify-items: start;                 /* tudo à esquerda */
      align-items: start;
    }
    .card-content h3{
      font-size: 1.35rem;
      line-height: 1.3;
      color: var(--color-coral);            /* antes: --coral */
      margin: 0 0 .5rem 0;
      text-align: left !important;          /* vence centragem teimosa */
      justify-self: start;
      align-self: start;
    }
    .card-content p{
      font-size: 1.1rem;
      line-height: 1.55;
      color: var(--color-muted);            /* antes: --ink-2 */
      margin: 0;
      text-align: left;
    }
  
    /* AVALIAÇÕES — full-bleed robusto + cards 1 por linha */
    .avaliacoes{
      position: relative;
      isolation: isolate;           /* cria camada p/ o ::before */
      padding: var(--section-spacing) 0;
    }
    .avaliacoes::before{
      content: "";
      position: absolute;
      z-index: -1;
      top: 0; bottom: 0;
      left: 50%;
      width: 100vw;
      transform: translateX(-50%);  /* estica até as bordas da viewport */
      background: var(--bg);
    }
    .avaliacoes > div{
      max-width: var(--container);
      margin-inline: auto;
      padding-inline: var(--gutter);
    }
    .avaliacoes-carrossel{
      display: flex;
      flex-direction: column;
      gap: 1.75rem;
      align-items: stretch;         /* cada card 100% de largura */
    }
    .avaliacao{
      width: 100%;
      max-width: none;
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,.08);
      padding: 1.75rem;
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      text-align: left;
      box-sizing: border-box;
    }
    .avaliacao-topo{ display: flex; align-items: center; gap: 1rem; }
    .avaliacao-topo img{
      flex: 0 0 100px;
      width: 100px; height: 100px;
      border-radius: 8px; object-fit: cover;
    }
  }


/* =========================================================
   RESPONSIVO — TABLETS RETRATO (≤900px)
   ========================================================= */
@media (max-width: 900px) {
  /* Benefícios: highlight volta ao fluxo */
  .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;;}
    .ergebnis{
      font-size: 1.5rem;
      text-align: center !important;
    }
.texto-sobre h2, .clientes h2, .avaliacoes h2, .servicos h2{
  text-align: center;
  font-size: 1.5rem;
}
  .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-topo img { flex-basis: 90px; width: 90px; height: 90px; }
  .avaliacao h3 { font-size: 1.2rem; }
  .avaliacao > p { font-size: 1rem; }
}

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

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

    margin-top: -60px;;
    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 h3 { font-size: 1.2rem; margin-top: 5px;;}
  .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;}

}



