@charset "UTF-8";
:root {
  /* Base neutra */
  --white: #ffffff;
  --black: #000000;
  --gray-light: #f5f5f5;
  --gray-dark: #333333;
  --off-white: #fffce9;
  /* Fundo */
  --background-color: #0F2346;
  --background-dark: #1d3b58;
  --background-ligth: #dae7fd;
  /* Paleta temática */
  --primary-color: #0353a4;
  --secondary-color: #00aeef;
  --tertiary-color: #1d3b58;
  --accent-color: #FFE900;
  /* Texto */
  --text-color: #f8fcff;
  --text-inverted: #0F2346;
  --text-muted: #e7e7e7;
  /* Estados (UI Feedback) */
  --success-color: #28a745;
  --error-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #00aeef;
  /* Hover/Interação */
  --hover-color: #feda15; /* hover em botões com amarelo mais escuro */
  --hover-secondary: #1d3b58; /* hover em elementos escuros */
  --button-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
  /* Bordas e efeitos */
  --border-color: #0F2346;
  --card-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  background-color: var(--gray-light);
  color: var(--text-color);
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
}

a {
  color: var(--text-color);
  text-decoration: none;
}

.accent-color {
  color: var(--accent-color);
}

.section-title {
  color: var(--text-inverted);
  font-size: 3rem;
  text-align: center;
  font-weight: 700;
}

.section-subtitle {
  color: var(--tertiary-color);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 400;
}

.alt-title {
  color: var(--gray-light);
  font-size: 3rem;
  text-align: center;
  font-weight: 700;
}

.alt-subtitle {
  color: var(--accent-color);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 400;
}

/* Bloco: site-header */
.site-header {
  margin: 0;
  /* Modificador: Estado de scroll */
}
.site-header--scrolled {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease-in-out;
}

/* Bloco: top-bar */
.top-bar {
  background-color: var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5rem;
  position: relative;
}
.top-bar__title {
  font-size: 32px;
  font-weight: 800;
}
.top-bar__menu-burger {
  display: none;
}
.top-bar__cart {
  font-size: 24px;
  color: var(--white);
  cursor: pointer;
}
.top-bar__cart .fa-cart-shopping {
  cursor: pointer;
}

/* Bloco: search-bar */
.search-bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  background-color: var(--gray-light);
  padding: 5px 10px;
  border-radius: 20px;
  width: 30%;
}
.search-bar__input {
  border: none;
  outline: none;
  font-size: 14px;
  width: 100%;
  background-color: transparent;
}
.search-bar__button {
  border: none;
  outline: none;
  background-color: transparent;
}
.search-bar__button .fa-magnifying-glass {
  color: var(--gray-dark);
  cursor: pointer;
}

/* Bloco: main-nav */
.main-nav {
  background-color: #0353a4;
  padding: 10px 0;
  text-align: center;
  /* Modificador: Estado ativo para menu mobile */
}
.main-nav--is-active {
  display: flex; /* Usado em JS para exibir */
}
.main-nav__list {
  display: flex;
  justify-content: center;
  gap: 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav__item {
  display: inline-block;
  margin: 0;
}
.main-nav__link {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.3rem;
  /* Modificador: Link ativo */
}
.main-nav__link--active {
  border-bottom: 5px solid var(--accent-color);
  color: var(--accent-color);
  position: relative;
}

/* --- Media Queries --- */
@media (max-width: 950px) {
  .top-bar {
    justify-content: center;
    padding: 10px 20px;
  }
  .top-bar__title {
    margin: 0;
  }
  .top-bar__cart {
    display: block;
    position: absolute;
    right: 3rem;
  }
  .top-bar__menu-burger {
    position: absolute;
    top: 7px;
    left: 20px;
    font-size: 2rem;
    display: block;
    cursor: pointer;
    color: var(--white);
  }
  .search-bar {
    display: none;
  }
  .main-nav {
    display: none; /* Oculto por padrão, controlado por JS */
  }
}
@media (max-width: 600px) {
  .top-bar {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .top-bar__cart {
    right: 1rem;
  }
  .main-nav {
    display: flex;
    position: absolute;
    z-index: 2;
    flex-direction: column;
    width: 60%;
    height: 100vh;
    padding-top: 1rem;
    align-items: flex-start;
    border-radius: 0 0 8px 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
  }
  .main-nav--is-active {
    transform: translateX(0);
  }
  .main-nav__list {
    flex-direction: column;
    gap: 1rem;
    padding-left: 1rem;
  }
  .main-nav__item {
    text-align: start;
  }
}
/* Bloco: hero */
.hero {
  background-image: url(/assets/hero-background.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.hero .carousel-item {
  transition: transform 1s ease-in-out;
}
.hero__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 420px;
  padding-top: 1rem;
  gap: 2rem;
}
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  gap: 1.5rem;
  padding: 0 1.5rem;
}
.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: flex-start;
}
.hero__title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 800;
}
.hero__title.hero__subtitle,
.hero__title + .hero__subtitle {
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  margin: 0;
}
.hero__subtitle-highlight {
  font-size: clamp(2.8rem, 8vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
}
.hero__description {
  font-size: 1rem;
  max-width: 50ch;
}
.hero__contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.hero__contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}
.hero__contact-link i {
  font-size: 1.3rem;
}
.hero__image {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}
.hero__image img {
  width: auto;
  max-width: 95%;
  height: auto;
  max-height: 350px;
  -o-object-fit: contain;
     object-fit: contain;
}
.hero__image--compound {
  gap: 1rem;
}
.hero__idr-img {
  display: none;
}
.hero__control {
  width: 5%;
}

/* ==========================================================================
   Estilos para Telas Grandes (Desktop)
   ========================================================================== */
@media (min-width: 992px) {
  .hero__container {
    flex-direction: row;
    text-align: left;
    padding: 0;
    gap: 0;
    height: 420px;
  }
  .hero__content {
    flex: 1 1 auto;
    align-items: flex-start;
    padding: 2rem 2rem 2rem 8%;
    gap: 2.5rem;
  }
  .hero__contacts {
    justify-content: flex-start;
  }
  .hero__image {
    flex-basis: 50%;
    flex-shrink: 0;
    height: 100%;
    justify-content: flex-end;
  }
  .hero__image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
  }
  .hero__image-child {
    flex-grow: 1;
    height: 100%;
  }
  .hero__idr-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-left: 1rem;
  }
}
/* Bloco: features */
.features__item {
  background-color: var(--background-dark);
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.features__icon {
  font-size: 7rem;
  color: var(--accent-color);
  margin-bottom: 10px;
}
.features__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.features__description {
  font-size: 14px;
  color: var(--text-muted);
}

/*
  Bloco: service-card
  Este bloco define o estilo para os cartões de serviço.
*/
.service-card {
  background-color: var(--background-dark);
  border: none;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
}
.service-card__image {
  width: 100%;
  height: auto; /* Mantém a proporção da imagem */
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  overflow: hidden;
}
.service-card__image img {
  display: block; /* Remove espaço extra abaixo da imagem */
  width: 100%;
  height: 200px; /* Defina uma altura fixa ou use object-fit */
  -o-object-fit: cover;
     object-fit: cover; /* Garante que a imagem cubra o espaço sem deformar */
}
.service-card__title {
  color: var(--accent-color);
  font-weight: 700;
}
.service-card__description {
  color: var(--text-muted);
}
.service-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-card__body {
  padding: 1.5rem;
  display: flex; /* Adicionado para alinhar verticalmente os conteúdos */
  flex-direction: column; /* Conteúdo do body em coluna */
  justify-content: space-between; /* Espaço entre o texto e os botões */
  flex-grow: 1; /* Permite que o body cresça e empurre os botões para baixo */
}
.service-card__title {
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.service-card__description {
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-align: justify;
  flex-grow: 1;
  -webkit-hyphens: auto;
          hyphens: auto;
}
.service-card__actions {
  margin-top: 1rem; /* Adiciona um pouco de espaço acima dos botões, se necessário */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-card__button {
  width: 100%; /* Faz os botões ocuparem a largura total */
}

.section-bg {
  background-color: var(--off-white);
}

/* Bloco: products */
.products {
  background-color: var(--background-color);
  position: relative;
  padding: 3rem 0;
  /* Estilização para a biblioteca Tiny Slider, escopada neste bloco */
}
.products__container {
  background-color: var(--background-dark);
  padding: 3rem 1rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 1rem;
}
.products .tns-controls button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  color: var(--primary-color);
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.products .tns-controls button:hover {
  background: var(--primary-color);
  color: var(--white);
}
.products .tns-controls button[data-controls=prev] {
  left: 25px;
}
.products .tns-controls button[data-controls=next] {
  right: 25px;
}

/* Bloco: product-card */
.product-card {
  background-color: var(--white);
  border: 1px solid #eee;
  border-radius: 15px;
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--card-shadow);
}
.product-card:hover .product-card__image img {
  transform: scale(1.05);
}
.product-card__image img {
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  transition: transform 0.3s ease;
  border: 1px solid var(--primary-color);
  border-radius: 10px;
}
.product-card__category {
  font-size: 0.8rem;
  color: #6c757d;
  text-transform: uppercase;
  font-weight: 700;
}
.product-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-inverted);
  margin: 0.5rem 0;
}
.product-card__price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 1rem 0;
}
.product-card__button {
  /*
    CORREÇÃO:
    As regras de estilo abaixo estavam na classe ".btn-budget" no SASS original,
    mas essa classe não existia no HTML. Agora, elas são aplicadas corretamente
    ao botão do card, sobrescrevendo o estilo de .btn-primary quando necessário.
  */
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.product-card__button:hover {
  background-color: var(--accent-color);
  color: var(--text-inverted);
}

/* --- Media Queries --- */
@media (max-width: 768px) {
  .products {
    padding: 40px 0;
  }
  .product-card__price {
    font-size: 1.2rem;
  }
}
/* Bloco Container: contact */
.contact {
  padding: 80px 0;
  background-color: var(--off-white);
}

/* Bloco: info-box */
.info-box {
  color: var(--text-inverted);
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.199);
  padding: 30px;
  border-radius: 4px;
  background: var(--background-dark);
  height: 100%;
}
.info-box__icon {
  font-size: 2rem;
  color: var(--accent-color);
  padding: 2rem;
  margin-bottom: 0.5rem;
}
.info-box__title {
  font-size: 20px;
  color: var(--white);
  font-weight: 700;
}
.info-box__link {
  text-decoration: none;
  color: var(--accent-color);
  font-weight: 700;
  line-height: 24px;
  font-size: 1.1rem;
  transition: 0.3s ease-in-out;
}
.info-box__link:hover {
  color: var(--secondary-color);
}

/* Bloco: contact-form */
.contact-form {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
  padding: 30px;
  border-radius: 15px;
  background: var(--white);
  height: 100%;
}
.contact-form__input {
  border-radius: 10px;
  padding: 12px;
}
.contact-form__input:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}
.contact-form__submit-button {
  background: var(--primary-color);
  border: 0;
  padding: 12px 34px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
  font-weight: 700;
}
.contact-form__submit-button:hover {
  background: var(--accent-color);
  color: var(--text-inverted);
}

/* Bloco: site-footer */
.site-footer {
  background: var(--background-dark);
  padding: 60px 0;
  color: var(--text-muted);
  font-size: 14px;
}
.site-footer__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}
.site-footer__social-link {
  font-size: 20px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 40px;
  height: 40px;
  transition: 0.3s;
}
.site-footer__social-link:hover {
  background: var(--primary-color);
  color: var(--white);
}
.site-footer__copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  margin-top: 30px;
  text-align: center;
}

.card-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.card-buttons .btn-primary {
  background-color: var(--primary-color);
  border: none;
  transition: all 0.3s ease-in-out;
  box-shadow: var(--button-shadow);
}

.card-buttons .btn-primary:hover {
  background-color: var(--secondary-color);
  transform: scale(1.04);
}

.card-buttons .btn-secondary {
  background-color: var(--success-color);
  border: none;
  transition: all 0.3s ease-in-out;
}

.card-buttons .btn-secondary:hover {
  background-color: var(--hover-color);
  transform: scale(1.04);
}

.modal-header {
  background-color: var(--primary-color);
  color: var(--white);
}

.modal-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-body {
  background-color: var(--off-white);
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-icon-wrapper {
  position: relative;
  cursor: pointer;
  font-size: 1.5rem;
}

.cart-counter {
  position: absolute;
  top: 16px;
  right: 8px;
  background-color: var(--accent-color);
  color: var(--text-inverted);
  font-weight: bold;
  font-size: 0.75rem;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--primary-color);
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-controls .form-control {
  text-align: center;
  max-width: 60px;
}

.btn-remove-item {
  color: var(--danger-color);
}

#cart-total {
  font-weight: bold;
}

#finalize-budget-btn {
  background-color: var(--success-color);
  border-color: var(--success-color);
}

@media (min-width: 951px) {
  .cart-counter {
    top: 20px;
    right: 4rem;
  }
}
.search-modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  padding-top: 60px;
}

.search-modal-content {
  background-color: var(--gray-light);
  margin: 5% auto;
  padding: 25px;
  border: 1px solid #888;
  width: 80%;
  max-width: 700px;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  color: var(--text-inverted);
}

.search-modal-content h2 {
  color: var(--text-inverted);
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.search-modal-close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 32px;
  font-weight: bold;
  line-height: 1;
}

.search-modal-close:hover,
.search-modal-close:focus {
  color: var(--error-color);
  text-decoration: none;
  cursor: pointer;
}

#search-results-container {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 10px;
}

.search-result-item {
  display: flex;
  align-items: center;
  background-color: var(--white);
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  transition: box-shadow 0.3s ease;
}

.search-result-item:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.search-result-item img {
  width: 80px;
  height: 80px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 5px;
  margin-right: 1.5rem;
  border: 1px solid var(--gray-light);
}

.search-result-item .result-details {
  flex-grow: 1;
}

.search-result-item .result-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.search-result-item .result-category {
  font-size: 0.8rem;
  color: #6c757d;
  text-transform: uppercase;
  font-weight: 600;
}

.search-result-item .btn {
  white-space: nowrap;
  padding: 8px 15px;
}/*# sourceMappingURL=main.css.map */