@import url('brand-vars.css');

/* Fontes */
@font-face {
  font-family: 'BureauVeritasExtBdUltraCond';
  src: url('/sites/default/files/fonts/1722614566_11abbb_bureauveritasextbdultracond.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'BureauVeritasThinUltraCond';
  src: url('/sites/default/files/fonts/1722614566_d306b2_bureauveritasthinultracond.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Escopo apenas nessa página */
.bv-page {
  position: relative;
  background: #fff;
  color: #111;
  overflow-x: hidden; /* fallback */
  overflow-x: clip;
  font-family: 'BureauVeritasThinUltraCond', sans-serif;
}

/* Linhas verticais */
.bv-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to right,
      rgba(0, 0, 0, 0) 0,
      rgba(0, 0, 0, 0) 220px,
      rgba(0, 0, 0, 0.06) 221px,
      rgba(0, 0, 0, 0.06) 222px
    );
  z-index: 0;
}

.bv-page * { box-sizing: border-box; }

.bv-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 24px; */
}

/* HERO */
.bv-hero { padding: 0; }

.bv-hero .bv-container {
  max-width: none;
  padding: 0;
}

.bv-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  gap: 0;
  align-items: stretch;
  width: 100%;
}

.bv-hero__media,
.bv-hero__content {
  min-width: 0;
}

.bv-hero__media {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: #ddd;
}

.bv-hero__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.bv-hero__corner-logo {
  position: absolute;
  top: 0;
  left: 80px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.bv-hero__corner-logo img {
  width: 135px;
  height: auto;
  display: block;
  opacity: 1;
  filter: none;
}

/* ✅ padding menor pra aumentar a “área útil” do texto */
.bv-hero__content {
  padding: 88px 28px 0 56px;
}

/* breadcrumb */
.bv-breadcrumb {
  display: inline-block;
  font-family: 'BureauVeritasThinUltraCond', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #333;
  text-decoration: none;
  margin-bottom: 18px;
}

/* Título */
.bv-title {
  margin: 0;
  text-transform: uppercase;
  line-height: 1;
}

.bv-title__top {
  display: flex;
  align-items: baseline;
  gap: 10px;          /* ✅ menor, cabe mais fácil */
  flex-wrap: nowrap;  /* mantém como na referência em telas grandes */
}

.bv-title__strong {
  font-family: 'BureauVeritasExtBdUltraCond', sans-serif;
  font-size: clamp(44px, 3.6vw, 66px); /* ✅ reduz o máximo */
  letter-spacing: .5px;
  white-space: nowrap;
}

.bv-title__thin {
  font-family: 'BureauVeritasThinUltraCond', sans-serif;
  font-size: clamp(24px, 2.0vw, 36px); /* ✅ reduz */
  letter-spacing: 2px;
  opacity: 0.9;
  white-space: nowrap;
}

.bv-title__bottom {
  display: block;
  margin-top: 10px;
  font-family: 'BureauVeritasThinUltraCond', sans-serif;
  font-size: clamp(34px, 3.4vw, 54px);
  letter-spacing: 5px;
  opacity: 0.9;
}

/* ✅ Se precisar quebrar antes do mobile */
@media (max-width: 1400px) {
  .bv-title__top { flex-wrap: wrap; }
  .bv-title__strong,
  .bv-title__thin { white-space: normal; }
}

/* INTRO */
.bv-intro {
  padding: 28px 0 6px;
}

.bv-intro__text {
  max-width: 860px;
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.35;
  color: #2a2a2a;
}

/* MAIN */
.bv-main {
  padding: 36px 0 80px;
}

.bv-block {
  padding: 22px 0 30px;
}

.bv-block--spaced {
  padding-top: 38px;
}

.bv-block__title {
  margin: 0 0 14px;
  font-family: 'BureauVeritasExtBdUltraCond', sans-serif;
  font-size: 36px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.bv-block__text {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.35;
  color: #2a2a2a;
  max-width: 860px;
}

.bv-readmore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'BureauVeritasExtBdUltraCond', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--azul-escuro);
  text-decoration: none;
}

.bv-arrow { font-size: 22px; }

/* TABELAS 2 COLUNAS */
.bv-table-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  padding: 22px 0 10px;
}

.bv-table { border: 0; }

.bv-table__head {
  background: #e9e9e9;
  padding: 10px 12px;
  font-family: 'BureauVeritasExtBdUltraCond', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #222;
}

.bv-table__list {
  margin: 0;
  padding: 12px 18px 0 20px;
  list-style: disc;
  font-size: 20px;
  line-height: 1.35;
  color: #2a2a2a;
}

/* WHY + CARDS */
.bv-why { padding-top: 28px; }

.bv-why__title {
  margin: 0 0 14px;
  font-family: 'BureauVeritasExtBdUltraCond', sans-serif;
  font-size: 34px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bv-why__list {
  margin: 0 0 26px;
  padding-left: 20px;
  font-size: 22px;
  line-height: 1.35;
  color: #2a2a2a;
}

.bv-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 8px 0 0;
}

.bv-card {
  position: relative;
  min-height: 310px;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  overflow: hidden;
}

.bv-card__overlay {
  position: absolute;
  inset: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 45%, rgba(0,0,0,0.65) 100%);
}

.bv-card__title {
  font-family: 'BureauVeritasExtBdUltraCond', sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  max-width: 80%;
}

.bv-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'BureauVeritasExtBdUltraCond', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

/* BOTÃO “INÍCIO” */
.bv-backtop {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  text-decoration: none;
  color: var(--azul-escuro);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.bv-backtop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.bv-backtop__icon { font-size: 22px; line-height: 1; }

.bv-backtop__text {
  font-family: 'BureauVeritasExtBdUltraCond', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
}

/* RESPONSIVO */
@media (max-width: 1200px) {
  /* ✅ NÃO inverter (deixa texto maior) */
  .bv-hero__grid { grid-template-columns: minmax(0, 45%) minmax(0, 55%); }
  .bv-hero__content { padding: 72px 24px 0 40px; }
}

@media (max-width: 992px) {
  .bv-hero .bv-container { padding: 0; }

  .bv-hero__grid { grid-template-columns: 1fr; }

  .bv-hero__media { height: 360px; }

  .bv-hero__content { padding: 18px 24px 0 24px; }

  .bv-title__top { flex-wrap: wrap; }
  .bv-title__strong { white-space: normal; }
  .bv-title__thin { white-space: normal; }

  .bv-intro__text,
  .bv-block__text { font-size: 20px; }

  .bv-table-grid { grid-template-columns: 1fr; }
  .bv-cards { grid-template-columns: 1fr; }
  .bv-backtop { right: 14px; }
}

@media (max-width: 480px) {
  .bv-hero__media { height: 300px; }
  .bv-title__bottom { letter-spacing: 3px; }
}
