/* style.css */
:root {
  --amarelo: #E8A41D;
  --marrom: #95660A;
  --preto: #222222;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 80px; /* ajuste conforme a altura do seu header */
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  color: var(--preto);
  background-color: #fff;
  line-height: 1.6;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url('../img/hero.png') no-repeat center center / cover;

  padding: 120px 0px 80px 0px; /* 80px em cima/baixo, 20px nas laterais */
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-family: 'Kanit', sans-serif;
  font-size: 52px;
  margin-bottom: 20px;
  color: #fff;
  line-height: 58px;
  font-weight: 500;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;  
  color: #fff;
}
.btn-hero {
  display: inline-block;
  background: var(--amarelo);
  color: #fff; /* texto branco antes do hover */
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-hero:hover {
  background: #fff;
  color: var(--preto);
}

.hero-img {
  display: none; /* Para mobile-first */
}

@media (min-width: 768px) {
  .hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .hero-img {
    display: block;
    max-width: 400px;
  }

  .hero-img img {
    width: 100%;
    border-radius: 12px;
  }

  .hero-content {
    max-width: 50%;
  }
}


.sobre {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.sobre-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Título pequeno (SOBRE NÓS) */
.sobre-texto small {
  font-family: 'Kanit', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  color: #95660A;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

/* Título principal */
.sobre-texto h2 {
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 32px;
  color: #E8A41D;
  margin-bottom: 20px;
}

/* Texto (parágrafos) */
.sobre-texto p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #222222;
  margin-bottom: 15px;
}
.sobre-texto h2 span {
  color: var(--amarelo);
}

.sobre-texto p {
  margin: 15px 0;
  font-size: 16px;
  color: #444;
}

.sobre-img img {
  width: 100%;
  max-width: 480px;
  border-radius: 10px;
}

/* Cards */
.sobre-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 60px;
}

.sobre-cards .card {
  background: #fff;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  border: 1px solid #eee;
}

.sobre-cards .card h3 {
  font-family: 'Kanit', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 24px;
  color: #95660A;
  margin-bottom: 10px;
  margin-top: 10px;
}

.sobre-cards .card p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 23px;
  color: #222222;
}


@media (min-width: 768px) {
  .sobre-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .sobre-texto {
    flex: 1;
    padding-right: 40px;
  }

  .sobre-img {
    flex: 1;
  }

  .sobre-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.servicos {
  background-color: #fff;
  padding: 80px 0;
}

.servicos-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.servicos-header small {
  font-family: 'Kanit', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  color: #95660A;
  display: block;
  margin-bottom: 10px;
}

.servicos-header h2 {
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 32px;
  color: #E8A41D;
  margin-bottom: 15px;
}

.servicos-header p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #222;
  max-width: 600px;
  margin: 0 auto;
}

.servicos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.servico-card {
  background-color: #fff;
  padding: 28px;
  border: 1px solid #eee;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  text-align: left; /* de centralizado para alinhado à esquerda */
  display: flex;
  flex-direction: column;
  gap: 12px;
}
}

.servico-card img {
  width: 52px;
  margin-bottom: 0;
  filter: brightness(0) saturate(100%) invert(72%) sepia(52%) saturate(652%) hue-rotate(2deg) brightness(98%) contrast(96%);
}

.servico-card h3 {
  font-family: 'Kanit', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 24px;
  color: #95660A;
  margin-bottom: 1px;
  margin-top: 1px;
  text-align: left;
}

.servico-card p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 23px;
  color: #222;
  text-align: left;
}

.servicos-cta {
  background-color: #95660A;
  color: #fff;
  padding: 20px 30px;
  border-radius: 8px;
  margin-top: 30px;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 22px;
}

@media (min-width: 768px) {
  .servicos-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 colunas fixo */
  }
}

.servico-card {
  background-color: #fff;
  padding: 28px;
  border: 1px solid #eee;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.servico-card img {
  width: 48px;
  margin-bottom: 15px;
  filter: brightness(0) saturate(100%) invert(72%) sepia(52%) saturate(652%) hue-rotate(2deg) brightness(98%) contrast(96%);
  /* filtro para aproximar #E8A41D no SVG se não tiver fill editável */
}


.simulacao {
  background-color: #111;
  color: #fff;
  padding: 80px 0;
}

.simulacao-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.simulacao-texto small {
  font-family: 'Kanit', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #E8A41D;
  margin-bottom: 10px;
  display: block;
}

.simulacao-texto h2 {
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 32px;
  color: #fff;
  margin-bottom: 15px;
}

.simulacao-texto p {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #ccc;
  margin-bottom: 20px;
  max-width: 500px;
}

.simulacao-texto ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.simulacao-texto ul li {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  margin-bottom: 8px;
}

.simulacao-formulario {
  background-color: #fff;
  padding: 32px;
  border-radius: 10px;
  color: #222;
  flex: 1;
  max-width: 480px;
  margin: 0 auto;
}

.simulacao-formulario .label {
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
  font-size: 16px;
  color: #222;
}

.simulacao-formulario .opcoes {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.simulacao-formulario .opcoes button {
  font-family: 'DM Sans', sans-serif; /* <- isso aqui estava faltando */
  border: 2px solid #E8A41D;
  background: #fff;
  color: #5A2E00;
  padding: 6px 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}


.simulacao-formulario .opcoes button.ativo {
  background: #E8A41D;
  color: white;
}

.simulacao-formulario .opcoes img {
  width: 22px;
  height: 22px;
}

.simulacao-formulario .inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.simulacao-formulario input,
.simulacao-formulario select {
  flex: 1;
  min-width: 180px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  background-color: #fff;
}

.simulacao-formulario .botao {
  font-family: 'DM Sans', sans-serif;
  background-color: #E8A41D;
  color: white;
  font-weight: bold;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  display: block;
  width: 100%;
}


.simulacao-formulario .botao:hover {
  background-color: #000;
  color: #fff;
}

@media (min-width: 768px) {
  .simulacao-container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .simulacao-texto {
    flex: 1;
    padding-right: 40px;
  }

  .simulacao-formulario {
    margin: 0;
  }
}

.depoimentos {
  background-color: #f9f9f9;
  padding: 80px 0;
}

.depoimentos-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.depoimentos-header small {
  font-family: 'Kanit', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  color: #95660A;
  display: block;
  margin-bottom: 10px;
}

.depoimentos-header h2 {
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 32px;
  color: #E8A41D;
  margin-bottom: 15px;
}

.depoimentos-header p {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #222;
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .depoimentos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .depoimentos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.depoimento-card {
  background: #fff;
  padding: 24px;
  border-radius: 10px;
  border: 1px solid #eee;
  box-shadow: 0 0 8px rgba(0,0,0,0.03);
}

.estrelas svg {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin-bottom: 10px;
  fill: #E8A41D;
}

.depoimento-texto {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 24px;
  color: #444;
  margin-bottom: 20px;
  font-style: italic;

}

.autor-nome {
  font-family: 'Kanit', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  color: #95660A;
  margin-bottom: 2px;
}

.depoimento-autor span {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #777;
}

.depoimentos-header {
  text-align: center;
  max-width: 440px; /* <- limite aplicado aqui */
  margin: 0 auto 50px;
}

/* Mobile: alinhamento à esquerda e largura total */
@media (max-width: 767px) {
  .depoimentos-header,
  .servicos-header {
    text-align: left;
    max-width: none;
    margin: 0 0 40px 0;
  }
}

.cartas {
  background-color: #fff;
  padding: 80px 0;
}

.cartas-header {
  text-align: center;
  max-width: 480px;
  margin: 0 auto 50px;
}

.cartas-header small {
  font-family: 'Kanit', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  color: #95660A;
  display: block;
  margin-bottom: 10px;
}

.cartas-header h2 {
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 32px;
  color: #E8A41D;
  margin-bottom: 15px;
}

.cartas-header p {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #222;
}

/* Tabela */
.consorcio-wrapper {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  overflow-x: auto;
}

.consorcio-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 15px;
  min-width: 680px;
}

.consorcio-table thead {
  background-color: #000000;
  color: #fff;
  font-size: 14px;
}

.consorcio-table th,
.consorcio-table td {
  padding: 10px 6px;
  text-align: center;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
  white-space: nowrap;
}

.consorcio-table .admin-logo {
  height: 22px;
  max-width: 80px;
  object-fit: contain;
}

.consorcio-table .btn-negociar {
  background-color: #25D366;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.consorcio-table .btn-negociar img {
  width: 14px;
  height: 14px;
}

.consorcio-table .btn-reservado {
  background-color: #700000;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 13px;
  display: inline-block;
}

.consorcio-table .icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

/* Responsivo */
@media (max-width: 768px) {
  .cartas-header {
    text-align: left;
    max-width: none;
  }

  .consorcio-table th,
  .consorcio-table td {
    font-size: 10.5px;
    padding: 5px 3px;
  }

  .consorcio-table .admin-logo {
    height: 16px;
  }

  .consorcio-table .btn-negociar {
    font-size: 0;
    padding: 5px;
    justify-content: center;
    width: 34px;
    height: 34px;
  }

  .consorcio-table .btn-negociar span {
    display: none;
  }

  .consorcio-table .btn-negociar img {
    width: 16px;
    height: 16px;
  }

  .consorcio-table .btn-reservado {
    font-size: 10px;
    padding: 4px 6px;
  }

  .consorcio-table .icon {
    width: 14px;
    height: 14px;
  }
}

.cartas-wrapper {
  overflow-x: auto;
  width: 100%;
  margin-top: 40px;
}

.cartas-tabela {
  width: 100%;
  border-collapse: collapse;
  font-family: 'DM Sans', sans-serif;
  background-color: #dcdcdc;
}

.cartas-tabela thead {
  background-color: #888;
  color: #fff;
}

.cartas-tabela th,
.cartas-tabela td {
  padding: 12px 10px;
  text-align: center;
  border: 1px solid #444;
  font-size: 14px;
  vertical-align: middle;
}


.contato {
  background-color: #111;
  color: #fff;
  padding: 80px 0;
}

.contato-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contato-info small {
  font-family: 'Kanit', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  color: #95660A;
  display: block;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.contato-info h2 {
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 32px;
  color: #E8A41D;
  margin-bottom: 20px;
}

.contato-info p {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 30px;
  color: #eee;
}

.contato-lista {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contato-lista li {
  display: flex;
  align-items: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  margin-bottom: 12px;
  gap: 10px;
  color: #fff;
}

.contato-lista img {
  width: 18px;
  height: 18px;
  filter: brightness(0) saturate(100%) invert(72%) sepia(52%) saturate(652%) hue-rotate(2deg) brightness(98%) contrast(96%);
}

.contato-mapa iframe {
  border-radius: 8px;
  width: 100%;
  height: 320px;
  border: none;
}

@media (min-width: 768px) {
  .contato-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .contato-info {
    flex: 1;
    padding-right: 40px;
  }

  .contato-mapa {
    flex: 1;
  }
}

@media (max-width: 767px) {
  .hero h1 {
    font-size: 36px;
    line-height: 42px;
  }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #0f0f0f;
  z-index: 999;
  padding: 10px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo img {
  height: 80px;
}

.menu ul {
  display: flex;
  gap: 24px;
  list-style: none;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.btn-whats {
  background: linear-gradient(90deg, #b8840f, #ffb92f);
  color: white;
  padding: 10px 16px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
  font-family: 'DM Sans', sans-serif;
}

.btn-whats:hover {
  background: linear-gradient(90deg, #a5760d, #e6a81e);
}

.btn-whats img {
  width: 18px;
}

/* Ajustes se for dentro do hero */
.hero-btn {
  margin-top: 0px;
  font-size: 16px;
}


.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 22px;
  height: 3px;
  background: #ffb92f;
  display: block;
  border-radius: 2px;
}

/* Mobile */
@media (max-width: 768px) {
  .menu {
    display: none;
    position: fixed;
    top: 100px; /* altura do header */
    left: 0;
    width: 100%;
    background: #0f0f0f;
    padding: 10px 0px 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 998;
  }

  .menu.active {
    display: block;
  }

  .menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .menu ul li {
    width: 100%;
  }

  .menu ul li a {
    color: #fff;
    font-size: 16px;
    text-align: left;
    padding: 8px 0;
    width: 100%;
    display: block;
  }

  .menu-toggle {
    display: flex;
    z-index: 999;
  }

  header .btn-whats {
    display: none;
  }
}

.btn-whats img {
  filter: brightness(0) invert(1);
}

.btn-whats-hero {
  background: linear-gradient(90deg, #b8840f, #ffb92f);
  color: white;
  padding: 12px 20px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.3s ease;
  margin-top: 0px;
}

.btn-whats-hero img {
  width: 20px;
}

.btn-whats-hero:hover {
  background: linear-gradient(90deg, #a5760d, #e6a81e);
}

.btn-whats-hero img {
  filter: brightness(0) invert(1);
}

.menu a:hover {
  color: #E8A41D;
}


.btn-somar {
  position: fixed;
  bottom: 40px;
  right: 30px;
  background: linear-gradient(to right, #e8a41d, #ffcc70);
  color: white;
  font-weight: bold;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  z-index: 999;
}

.popup-soma {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  color: #333;
  position: relative;
}

.fechar-popup {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 22px;
  cursor: pointer;
}

.btn-popup-whats {
  margin-top: 20px;
  background-color: #25d366;
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

.cartas-tabela td:last-child,
.cartas-tabela th:last-child {
  white-space: normal;
  word-break: break-word;
  max-width: 120px; /* ou ajuste conforme necessário */
}

td.reservada {
  background-color: darkred;
  color: white;
  font-weight: bold;
}

td.disponivel {
  background-color: green;
  color: white;
  font-weight: bold;
}

.cartas-tabela {
  background-color: #f3f3f3; /* ou qualquer cor desejada */
}


@media (max-width: 600px) {
  .cartas-tabela {
    width: 100%;
    font-size: 10px;
    border-collapse: collapse;
  }

  .cartas-tabela th,
  .cartas-tabela td {
    padding: 6px 4px;
    white-space: normal;
    word-break: break-word;
    text-align: left;
  }

  .cartas-tabela th {
    font-size: 10px;
  }
}

td.disponivel {
  background-color: #23c552; /* verde */
  color: #f6f6f6;
  font-weight: 500;
}

td.reservada {
  background-color: #f84f31; /* vermelho */
  color: #f6f6f6;
  font-weight: 500;
  
}

.whats-flutuante {
  position: fixed;
  bottom: 10px;
  left: 10px;
  z-index: 9999;
  display: block;
  width: 60px;
  height: 60px;
}

.whats-flutuante img {
  width: 100%;
  height: auto;
  display: block;
}


.toast-sucesso {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #006747;
  color: white;
  padding: 14px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  z-index: 9999;
  animation: fadeInOut 5s ease forwards;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(-10px); }
  10% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-10px); }
}
