#home_page {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;

  overflow-y: scroll;
  overflow-x: hidden;

  height: 100vh;
  position: relative;
}

.active {
  animation: fadeIn 1.5s both;
}

@keyframes fadeIn {
  0% {
    transform: translateX(10em);
  }

  100% {
    transform: translateX(0em);
  }
}

/* ====== HEADER ====== */
#header {
  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--color-black);

  position: fixed;
  top: 0%;
  width: 100%;
  z-index: 999;

  background-color: var(--color-white);
}

#header>#menu,
#header>label {
  display: none;
}

#header>nav {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 1em 0;
  width: 78%;
  font-size: 1.15em;
}

#header>nav>div {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#header>nav div img {
  width: 2.5em;
  margin-right: 1em;
}

#header>nav div:last-child>a:last-child {
  font-size: 16px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 0.5em;
  background-color: #e55a00;
  /* contraste aprovado */
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  min-height: 22px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.12s ease;
}

#header>nav div:last-child>a:last-child:hover {
  background-color: #cc4400;
  transform: translateY(-1px);
}

#header>nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 0.2em solid transparent;
  color: var(--color-black);
}

#header>nav>div:first-child>a:not(.logo) {
  margin-left: 2.5em;
}

#header>nav>div #internal_access {
  display: none;
}

#header>nav>div label {
  cursor: pointer;
  border-bottom: 0.2em solid transparent;
  color: var(--color-black);
}

#header>nav>div label:hover,
#header>nav a:not(.logo):hover {
  border-bottom: 0.2em solid var(--color-primary);
  transition: 0.2s all;
}

#header>nav>div #internal_access_items {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;

  position: absolute;
  top: 100%;
  left: 0%;
  right: 0%;

  width: 10em;
  padding: 2em;
  background-color: var(--color-white);
}

#header>nav>div #internal_access_items a {
  color: var(--color-black);
  margin: 0.25em 0;
}

#header>nav>div #internal_access:checked~#internal_access_items {
  display: flex;
}

#header>nav>div #internal_access:checked~label {
  padding-bottom: 0.5em;
  border-bottom: 0.2em solid var(--color-primary);
}

#header>nav a:not(.logo) {
  margin-left: 1em;
}

#header nav .only-mobile {
  display: none;
}

@media (max-width: 700px) {
  #header nav .only-mobile {
    display: flex;
    color: #ffffff;
    font-size: 1.1em;
    padding: 0.5em 0;
    text-decoration: none;
    justify-content: center;
  }

  #header nav .only-mobile:hover {
    color: var(--color-primary);
  }
}

@media (max-width: 800px) {
  #header {
    align-items: flex-start;
    justify-content: flex-start;
  }

  #header>label {
    display: flex;
    flex-direction: column;
    padding: 1em 3em;
    z-index: 999;
    cursor: pointer;
  }

  #header input:checked~label .menu_lines:first-child {
    transform: rotate(20deg) translateY(0.3em) translateX(0.3em);
  }

  #header input:checked~label .menu_lines:last-child {
    transform: rotate(-20deg) translateY(-0.2em) translateX(0.2em);
  }

  #header input:checked~label .menu_lines {
    background-color: #ffffff;
  }

  #header>label .menu_lines {
    width: 3em;
    height: 0.35em;
    margin-top: 0.35em;
    display: flex;
    background-color: var(--color-black);
    transition: 0.3s all;
  }

  #header>nav div:last-child>a:last-child {
    border-radius: 0;
  }

  #header #menu:checked label .menu_lines {
    background-color: #ffffff;
  }

  #header>#menu:checked~nav {
    left: 0%;
    transition: 0.3s all;
  }

  #header>nav {
    flex-direction: column;
    justify-content: inherit;
    background-color: var(--color-black);
    position: absolute;
    top: 0%;
    left: 100%;
    width: 50%;
    padding: 3em 2.5em;
    height: 100vh;
  }

  #header>nav div {
    color: #ffffff;
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  #header>nav>div #internal_access_items a {
    color: var(--color-black);
  }

  #header>nav>div>a {
    color: #ffffff;
    margin: 0.5em 0 !important;
  }

  #header>nav>div>nav {
    background-color: aqua;
  }

  #header>nav div:first-child a:first-child {
    display: none;
  }
}

/* ====== LANDING ====== */
#landing_page {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

#landing_page .wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#landing_page .wrapper .left_side {
  width: 100%;
  height: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 3rem; /* Mudei 3em para 3rem */
  background-image: linear-gradient(rgba(255, 255, 255, 0.0), rgba(255, 255, 255, 0.0)), url('../../images/landing.avif');
  background-repeat: no-repeat;
  background-size: cover;
}

#landing_page .wrapper .left_side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem; /* CORRIGIDO: em → rem */
  color: var(--color-black);
}

#landing_page .wrapper .left_side .left_inside {
  width: 78%;
}

#landing_page .wrapper .left_side .left_inside h1 {
  margin-bottom: 0.5rem; /* em → rem */
  font-weight: 700;
  font-size: 2.5rem; /* Adicionei tamanho explícito para h1 */
}

#landing_page .wrapper .left_side .left_inside h2 {
  margin-bottom: 0.5rem; /* em → rem */
  font-weight: 700;
  opacity: 0.75;
}

#landing_page .wrapper .left_side .left_inside a {
  font-size: 18px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 0.5rem; /* em → rem */
  background-color: #e55a00;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  min-height: 22px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.12s ease;
}

#landing_page .wrapper .left_side .left_inside a:hover {
  background-color: #cc4400;
  transform: translateY(-1px);
}

#landing_page .wrapper .footer {
  color: var(--color-black);
  width: 78%;
  height: 20%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}

#landing_page .wrapper .footer a {
  display: flex;
  align-items: center;
  justify-content: center;
}

#landing_page .wrapper .footer a img {
  width: 2rem; /* em → rem */
  margin-left: 1rem; /* em → rem */
  transition: 0.2s all;
}

#landing_page .wrapper .footer>a:first-child:hover img {
  transform: rotate(90deg);
}

#landing_page .wrapper .footer div {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 800px) {
  #landing_page {
    padding: 0;
  }

  #landing_page .wrapper .left_side {
    width: 100%;
    font-size: 1.0rem; /* CORRIGIDO: em → rem */
    padding: 0;
    background-position: 30% center;
  }

  #landing_page .wrapper .left_side .left_inside {
    width: 100%;
    max-width: 335px;
    font-size: 0.9rem; /* em → rem */
    background: none;
    margin-bottom: 4rem; /* em → rem */
    align-items: center;
  }

  #landing_page .wrapper .left_side .left_inside h1 {
    padding-right: 5rem; /* em → rem */
    margin-top: 3rem; /* em → rem */
    font-size: 2rem; /* Adicionei tamanho menor para mobile */
  }

  #landing_page .wrapper .left_side .left_inside h2 {
    display: block;
    margin-bottom: 1rem; /* em → rem */
    margin-top: 1rem; /* em → rem */
    font-size: 1rem; /* em → rem */
  }
}


/* ====== ABOUT ====== */
#home_page #about_emp {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;

  padding: 4em 5em;
  margin: 2em;

  color: var(--color-black);
}

#home_page #about_emp .text {
  margin: 3em;
}

#home_page #about_emp .text h2 {
  margin: 1em 0;
  text-transform: uppercase;
  font-size: 2.5em;
}

#home_page #about_emp .text p {
  font-size: 100%;

  text-align: justify;

  margin-bottom: 2em;
}

#home_page #about_emp .text a:not(.botao-trabalhe):last-child {
  color: var(--color-black);

  padding: 0.5em 1em;

  border: 0.1em solid;
  border-radius: 0.5em;
}


#home_page #about_emp .botao-trabalhe {
  background-color: var(--color-white);
  color: var(--color-gray);
  border: 1px solid var(--color-gray);
  border-radius: 16px;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#home_page #about_emp .botao-trabalhe:hover {
  background-color: var(--color-gray);
  color: var(--color-white);
}


#home_page #about_emp img {
  width: 25em;
  margin: 1em;
}

@media (max-width: 700px) {
  #home_page #about_emp {
    flex-direction: column;

    padding: 4em 0em;
    margin: 0.5em;
  }

  #home_page #about_emp .text {
    margin: 1.5em;
  }

  #home_page #about_emp .text h2 {
    text-align: center;
    font-size: 2em;
  }

  #home_page #about_emp img {
    width: 15em;
  }
}

/* ====== COMPANY STATISTICS - VERSÃO CORRIGIDA ====== */
#company_statistics {
  padding: 2rem 0;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  background: linear-gradient(135deg, #d45500 0%, #fa6400 100%);
  background-size: cover;
  background-repeat: no-repeat;
}

#company_statistics h2 {
  color: var(--color-white);
  text-transform: uppercase;
  font-size: 2.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; /* Corrigido: 10000 não é válido */
  margin-bottom: 2rem;
}

#company_statistics #statistics {
  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--color-black);
  background-color: var(--color-white);

  border-radius: 5rem;
  padding: 2rem;
}

#company_statistics #statistics>div {
  margin: 2rem;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#company_statistics #statistics>div img {
  width: 3rem;
  position: relative;
  transition: 0.3s all;
}

#company_statistics #statistics>div img:hover {
  transform: translateY(-0.5rem);
}

#company_statistics #statistics>div h3 {
  margin: 0.5rem 2rem;
  font-size: 2.5rem;
}

/* Responsivo */
@media (max-width: 700px) {
  #company_statistics #statistics {
    flex-direction: column;
    padding: 2rem 0;
  }

  #company_statistics h2 {
    text-align: center;
    font-size: 2rem;
  }
}


/* ====== VALUES ====== */
#home_page #values {
  background-color: #ffffff;
  color: #000000;
  text-align: center;
  padding: 3em 1em;
}

#home_page #values .section-title {
  font-size: 2.5em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #111111;
  /* Preto mais forte melhora contraste */
  margin-bottom: 1.5em;
  text-transform: uppercase;
}

#home_page #values .values-grid {
  display: flex;
  gap: 2em;
  justify-content: center;
  flex-wrap: wrap;
}

#home_page #values .value-card {
  background-color: #f4f4f4;
  /* Um pouco mais escuro para melhor contraste */
  border-left: 4px solid var(--color-primary);
  border-radius: 1em;
  padding: 2em;
  max-width: 22em;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#home_page #values .value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

#home_page #values .value-card img {
  display: block;
  margin: 0 auto 1em;
  filter: brightness(0) saturate(100%);
  /* Ícones sempre escuros */
}

#home_page #values .value-card h3 {
  color: #d35400;
  /* Substitui var(--color-primary) por um laranja escuro de bom contraste */
  margin: 1em 0 0.5em;
  font-size: 1.4em;
  text-align: center;
  font-weight: 700;
}

#home_page #values .value-card p {
  color: #1a1a1a;
  /* Preto com leve cinza, contraste ótimo */
  font-size: 1em;
  text-align: center;
  line-height: 1.6em;
}

@media (max-width: 700px) {
  #home_page #values .section-title {
    text-align: center;
    font-size: 2em;
  }

  #home_page #values .values-grid {
    flex-direction: column;
    gap: 1.5em;
    align-items: center;
  }

  #home_page #values .value-card {
    width: 90%;
    max-width: none;
    text-align: center;
  }
}

#values .value-card img {
  display: block;
  margin: 0 auto 1em;
  width: 70px;
  height: 70px;
  object-fit: contain;
  /* mantém proporção */
  filter: brightness(0) saturate(100%);
}


/* ====== FEEDBACK ====== */
#feedback {
  /* Escurecemos um pouco a cor de fundo para garantir contraste com o branco */
  background: linear-gradient(135deg, #d45500 0%, #fa6400 100%);
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#feedback>h2 {
  text-align: center;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.5em;
  margin-top: 2em;

  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#feedback>h2 img {
  width: 2em;
  margin-bottom: 0.5em;
  filter: brightness(0) invert(1);
  /* garante ícone visível no fundo */
}

#feedback #items-wrapper {
  width: 100vw;
}

#feedback #items {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
}

#feedback .item {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2em 0;
  font-size: 1.15em;
  width: 100vw;
}

#feedback p {
  width: 50vw;
  display: flex;
  flex-direction: column;

  font-style: oblique;
  text-align: justify;

  color: #fefefe;
  /* ligeiramente diferente do branco puro para legibilidade */
  line-height: 1.7em;
}

#feedback p span {
  margin-top: 1em;
  font-style: normal;
  font-weight: 700;
  color: #ffde9f;
  /* amarelo claro para destacar o autor com bom contraste */
}

#feedback .controller {
  display: flex;
  justify-content: center;
  align-content: center;
  padding: 2em;
}

#feedback .controller button {
  width: 1.5em;
  height: 1.5em;
  margin: 0.3em;

  background-color: rgba(255, 255, 255, 0.45);
  /* mais visível */
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

#feedback .controller button:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 700px) {
  #feedback>h2 {
    font-size: 2em;
    margin-top: 0.2em;
  }

  #feedback .item {
    padding: 0.1em 0;
  }

  #feedback p {
    width: 90vw;
    font-size: 0.95em;
    margin-top: 0;
  }

  #feedback p span {
    margin-top: 0.5em;
  }
}

#products {
  padding: 4em 0;
  text-align: center;
  background-color: #fff;
}

#products h2 {
  text-align: center;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.5em;
  margin-top: 2em;
  color: #000;
  margin-bottom: 0.3em;
}

#products p {
  font-weight: 500;
  margin-bottom: 2em;
  color: #111;
}

.products-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5em;
}

.product-card {
  background: #fff;
  border: 1px solid #ff6600;
  border-radius: 40px;
  padding: 2.5em 2em;
  width: 390px;
  /* antes era 300px */
  text-align: left;
  transition: all 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.2);
  transform: translateY(-4px);
}

.product-card h3 {
  font-size: 1.2em;
  margin-bottom: 1em;
  color: #777;
  white-space: nowrap;
  /* impede quebra de linha no título */
}

.product-card .orange {
  color: #ff6600;
  font-weight: 700;
}

.product-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-card li {
  color: #111;
  line-height: 1.6;
  font-size: 0.95em;
}

@media (max-width: 900px) {
  .products-grid {
    flex-direction: column;
    align-items: center;
  }

  .product-card {
    width: 90%;
  }

  .product-card h3 {
    white-space: normal;
    /* permite quebra no mobile */
    text-align: center;
  }
}

.product-card h3 sup,
.product-card h3 span.tm {
  font-size: 0.6em;
  vertical-align: super;
  opacity: 0.7;
}


/* ====== UNS ====== */
.unidades-section {
  text-align: center;
  padding: 80px 20px;
  background: #fafafa;
}

.unidades-section h2 {
  text-align: center;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.5em;
  margin-top: 0.9em;
  color: #000;
  margin-bottom: 1.5em;
}

.unidades-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

.unidade-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px 25px;
  max-width: 360px;
  text-align: left;
  transition: all 0.3s ease;
}

.unidade-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.card-header img {
  width: 50px;
  height: 50px;
}

.card-header h3 {
  font-size: 1.1rem;
  color: #333;
}

.endereco {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.telefone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #222;
  font-weight: 600;
  margin-bottom: 15px;
}

.telefone img {
  width: 20px;
  height: 20px;
}

.btn-mapa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0056b3;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-mapa img {
  width: 24px;
  height: 24px;
}

.btn-mapa:hover {
  color: #0078ff;
  transform: translateX(4px);
}


/* ====== CAROUSEL ====== */
* {
  margin: 0;
  padding: 0;

  box-sizing: border-box;
}

#items-wrapper {
  width: 100vw;
}

#items {
  display: flex;
  overflow: auto;

  scroll-behavior: smooth;
}

.item {
  flex: none;
}

img {
  width: 100%;
  height: 100%;
}

/* ====== CONTACTS ====== */
#home_page>#contact {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 2em 0;

  background-color: var(--color-primary);
}

#home_page>#contact #wrapper {
  background-color: var(--color-gray-ligth);
  color: var(--color-black);

  width: 80vw;
  min-height: 50vh;

  padding: 2em 0;

  border-radius: 0.5em;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#home_page>#contact #wrapper h2 {
  margin-bottom: 2em;

  text-transform: uppercase;
  font-size: 2.5em;
  font-family: 'Bebas Neue', cursive;
}

#home_page>#contact #wrapper form {
  display: flex;
  flex-direction: column;
  align-items: center;

  width: 100%;
}

#home_page>#contact #wrapper form #inputs {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

#home_page>#contact #wrapper form #inputs .block {
  min-width: 45%;

  margin: 1.5em 0.5em;

  display: flex;
  justify-content: center;
  flex-direction: column-reverse;
}

#home_page>#contact #wrapper form #inputs .block input {
  width: 100%;

  padding: 1em 0;

  background-color: transparent;

  border: none;
  border-bottom: 0.1em solid var(--color-gray);

  margin-top: 0.5em;

  transition: 0.3s all;
}

#home_page>#contact #wrapper form #inputs .block input:focus {
  border-bottom: 0.1em solid var(--color-primary);

  background-color: transparent;
}

#home_page>#contact #wrapper form #inputs .block label {
  color: var(--color-gray);

  transition: 0.3s all;
}

#home_page>#contact #wrapper form #inputs .block input:focus~label {
  color: var(--color-primary);
}

#home_page>#contact #wrapper form #inputs .block select {
  margin-top: 1em;

  background-color: transparent;

  padding: 0.8em 0.5em;

  border: none;
  border-bottom: 0.1em solid;
}

#home_page>#contact #wrapper form #inputs .block select option {
  color: var(--color-black);

  margin: 0.5em 0;
}

#home_page>#contact #wrapper form button {
  margin-top: 2em;

  padding: 0.5em 2em;

  background-color: transparent;

  cursor: pointer;

  border: 0.1em solid;
  border-radius: 0.5em;
}

#home_page>#contact #wrapper form textarea {
  width: 42.5%;

  padding: 1em;
  margin: 1.5em 0.5em;

  border-radius: 0.25em;
  border: 0.1em solid var(--color-black);

  background-color: transparent;
}

#home_page>#contact #wrapper form textarea:focus {
  border: 0.1em solid var(--color-primary);
}

@media (max-width: 800px) {
  #home_page>#contact {
    padding: 4em 2em;
  }

  #home_page>#contact #wrapper {
    width: 100%;
  }

  #home_page>#contact #wrapper form #inputs .block {
    width: 100%;
  }

  #home_page>#contact #wrapper form textarea {
    width: 100%;
  }
}