@font-face {
    font-family: "DIN Condensed Web";
    src: url("https://db.onlinewebfonts.com/t/69dbc1186412d7831b88d8a78a360360.eot");
    src: url("https://db.onlinewebfonts.com/t/69dbc1186412d7831b88d8a78a360360.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/69dbc1186412d7831b88d8a78a360360.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/69dbc1186412d7831b88d8a78a360360.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/69dbc1186412d7831b88d8a78a360360.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/69dbc1186412d7831b88d8a78a360360.svg#DIN Condensed Web")format("svg");
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ====== Botão Hambúrguer (escondido no desktop) ====== */
.hamburger {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
  line-height: 0;
}
.hamburger svg {
  width: 28px;
  height: 28px;
}

/* ====== Off-canvas ====== */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 999;
}
body.side-open .backdrop {
  opacity: 1;
  pointer-events: all;
}

.side-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(86vw, 340px);
  background: #fff;
  box-shadow: -6px 0 24px rgba(0,0,0,.12);
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}
body.side-open .side-panel {
  transform: translateX(0);
}
.side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
  border-bottom: 1px solid #eee;
}
.side-close {
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 10px;
}
.side-content {
  padding: 12px 16px 24px;
  overflow-y: auto;
}
.side-menu {
  list-style: none;
  display: grid;
  gap: 12px;
}
.side-menu li {
  font-family: "DIN Condensed Web", system-ui, Arial, sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
}
.side-menu img { width: 18px; height: 18px; vertical-align: middle; }

/* ====== Responsivo ====== */
@media (max-width: 950px) {
  /* esconde menu horizontal e mostra hambúrguer */
  .menu { display: none; }
  .hamburger { display: inline-block; }

  /* opcional: ajuste o header para acomodar o botão à direita */
  header { padding: 0 12px; }
}

header {
  max-width: 1360px;
  height: 145px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img { width: 200px; }
.menu ul li {
  font-family: "DIN Condensed Web";
  display: inline;
  font-size: 16px;
  font-weight: 400;
  padding: 0 10px;
  letter-spacing: 1px;
}
.search { padding: 10px 10px !important; margin-top: 3px !important; }
.search img { width: 18px; }
.contato { border: 2px solid black; padding: 10px 20px !important; border-radius: 20px; }


.banner {
  width: 100%;
  height: 700px;
  background-image: url('/img/banner-esocial.jpg'); /* ajuste para sua imagem */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* efeito parallax */
  display: flex;
  flex-direction: column; /* coloca itens em coluna */
  justify-content: center; /* centraliza vertical */
  align-items: center;     /* centraliza horizontal */
  text-align: center;
  color: #fff; /* texto branco para destacar */
  position: relative;
}

.info_banner {
    width: 800px;
    margin: 0 auto;
    text-align: left;
}

.banner .esocial img {
  max-width: 300px; /* ajusta o tamanho da logo esocial */
  height: auto;
  margin-bottom: 20px;
}

.banner p {
  font-size: 20px;
  margin-bottom: 20px;
  width: 500px;
  text-align: left;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 25px;
}

.banner button {
  height: 65px;
  width: 145px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1px;
  border: none;
  border-radius: 50px;
   font-family: "Dosis", sans-serif;
  background: #ffffff; /* azul exemplo */
  color: #000000;
  cursor: pointer;
  transition: background 0.3s ease;
}


.medicina_do_trabalho {
    max-width: 650px;
    text-align: center;
    margin: 0 auto;
    margin-top: 100px;
    margin-bottom: 100px;
}

.medicina_do_trabalho h1 {
    font-family: "Dosis", sans-serif;
    text-transform: uppercase;
    margin-bottom: 50px;
    font-size: 38px;
    letter-spacing: 1px;
    font-weight: 400;
}

.medicina_do_trabalho p {
    text-align: left;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 25px;
  text-align: center
}


.banners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.banner-item {
  background: #fff;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.banner-item img {
  max-width: 100%;
  height: 430px;
  margin-bottom: 15px;
   object-fit: cover;       /* cobre todo o espaço sem distorcer */
  object-position: center;
}

.banner-item h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #333;
  font-family: "Dosis", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.banner-item p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 25px;
}

.banner-item a {
  display: inline-block;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 25px;
  border-radius: 20px;
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}


 .secao-servicos {
      width: 100%;
      height: 1000px;
      background: #00336b;
      color: #fff;
      display: flex;
      justify-content: center;
      margin-top: 150px;
    }

    .container {
      width: 100%;
      max-width: 1520px;
      margin: 0 auto;
    }

    .titulo {
      text-align: center;
      font-weight: 700;
      letter-spacing: 0.08em;
      font-size: clamp(24px, 4vw, 40px);
      margin: 0 0 32px 0;
      font-family: "Dosis", sans-serif;
      font-weight: 400;
      text-transform: uppercase;
      margin-top: 130px;
      margin-bottom: 130px;
    }

    /* Agora duas colunas */
    .cards {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
    }

    .card {
      color: #0b2239;
      overflow: hidden;
      transition: transform .2s ease, box-shadow .2s ease;
    }


    .card__imagem {
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
    }

    .card__conteudo {
      text-align: left;
    }

    .card__titulo {
      font-size: 16px;
      margin: 0 0 8px 0;
      font-family: "Dosis", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  color: white;
  margin-top: 30px;
  margin-bottom: 30px;

    }

    .card__texto {
      font-size: clamp(14px, 1.6vw, 16px);
      margin: 0 0 14px 0;
      opacity: 0.9;
      color: white;
       font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 15px;
  margin-bottom: 30px;
    }

    .card__link {
      display: inline-block;
      font-weight: 600;
      text-decoration: none;
        font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 15px;
  color: white;
    }

    /* Responsivo: abaixo de 900px empilha */
    @media (max-width: 900px) {
      .cards { grid-template-columns: 1fr; }
    }


 .secao-branca {
  width: 100%;
  height: 750px;
  background: #fff;
}

.container {
  max-width: 1520px;
  margin: 0 auto;
}



.cards-blog {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colunas iguais */
  gap: 20px;
}

.card-blog {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-blog__imagem {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-blog__conteudo {
  text-align: left;
  flex: 1;
}

.card-blog__data {
  font-size: 14px;
  color: #777;
  display: block;
  margin-bottom: 6px;
}

.card-blog__titulo {
  font-size: 16px;
      margin: 0 0 8px 0;
      font-family: "Dosis", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  color: rgb(78, 78, 78);
  margin-top: 20px;
  margin-bottom: 10px;
}

.card-blog__texto {
  font-size: clamp(14px, 1.6vw, 16px);
      margin: 0 0 14px 0;
      opacity: 0.9;
      color: rgb(95, 95, 95);
       font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 15px;
  margin-bottom: 10px;
}

.card-blog__link {
  display: inline-block;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  text-decoration: none;
  font-weight: 600;
  color: #000000;
}


/* Responsivo: empilha em telas menores */
@media (max-width: 1000px) {
  .cards-blog {
    grid-template-columns: 1fr;
  }
}


.secao-newsletter {
  width: 100%;
  height: 660px;
  background: #f9f9f9; /* cor de fundo, pode trocar */
  display: flex;
  align-items: center;   /* centraliza verticalmente */
  justify-content: center; /* centraliza horizontalmente */
  text-align: center;
  background-image: url(../img/bg-newsltter2.jpg);
  color: #fff;
 
}

.newsletter-container {
  max-width: 600px;
  width: 100%;
}

.newsletter-titulo {
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: 16px;
  font-weight: 700;
      margin: 0 0 8px 0;
      font-family: "Dosis", sans-serif;
  font-weight: 400;
  color: #fff;
}

.newsletter-texto {
   font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 15px;
  margin-bottom: 24px;
  color: #fff;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  margin: 0 auto;
  width: 400px;
  margin-bottom: 10px;
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #ccc;
   font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 15px;
}

.newsletter-btn {
  width: 160px;
  height: 50px;
  background: #ffffff;
  color: #000000;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  text-transform: uppercase;
  font-weight: 300;
   font-family: "Roboto", sans-serif;
}


.newsletter-span {
  font-size: 14px;
  font-family: "Roboto", sans-serif;
  color: #fff;
}


.footer {
  margin-top: 20px;
  margin-bottom: 20px;
  width: 100%;
  color: #414141;
  text-align: center;
  padding: 30px 16px;
}

.footer-social {
  margin-bottom: 20px;
}

.footer-icon {
  width: 32px;
  height: 32px;
  margin: 0 10px;
  transition: transform 0.2s;
}


.footer-info p {
  margin: 4px 0;
  font-size: 15px;
  font-family: "Roboto", sans-serif;
  line-height: 30px;
}
