@font-face {
  font-family: 'Arsenica-Antiqua';
  src: url(./arsenica-antiqua-regular1.ttf) format('truetype');
}

/* ...existing code... */

h2, .card-content h2, .card-grande h2 {
  font-family: 'Arsenica-Antiqua', serif;
}

/* ...existing code... */

@font-face {
  font-family: 'Arsenica';
  src: url('./ArsenicaTrial-Medium.ttf') format('truetype');
}

.hero-text h1 {
  font-family: 'Arsenica', sans-serif;
}

@font-face {
  font-family: 'Poly';
  src: url('./Poly-Italic.ttf') format('truetype');
  font-style: italic;
}

body{
  background-color: #F5F1EC;
}

html {
  scroll-behavior: smooth;
}

 p, ul, a, li {
  font-family: 'Poly', serif;
  background-color: transparent; /* Fundo transparente */
  color: white;
  line-height: 1.6;
  margin: 0;           /* Adicione esta linha */
  padding: 0;          /* Adicione esta linha */
}


.servicos {
  display: flex;
  flex-direction: column;    /* Um embaixo do outro */
  align-items: center;       /* Centraliza os cards na tela */
  padding-right: 0;
}

.card-content{
  color: white;
  display: flex;
  flex-direction: column;    /* Um embaixo do outro */
  align-items: center;       /* Centraliza o conteúdo dos cards */
  margin-top: 0rem;   /* Diminui o espaço em cima */
  width: 100%;               /* Garante que ocupe toda a largura do card */
}

.card{
  color: white;
  width: 340px;              /* Aumenta o tamanho dos cards */
  background: #9C9187;
  padding: 1.5rem;           /* Mais espaço interno */
  border-radius: 8px;
  text-align: right;         /* Texto alinhado à direita */
  margin-bottom: 24px;       /* Espaço entre os cards */
  font-size: 1.3rem;         /* Letras um pouco maiores */
}

.card {   /* Card notebook com imagem e texto */
  display: flex;
  align-items: flex-start;
  width: 340px; /* ajuste conforme necessário */
  background: #9C9187;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: right;
  margin-bottom: 24px;
  font-size: 1.3rem;
  gap: 1rem; /* espaço entre imagem e texto */
}

.card-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: #fff;
} /* Card notebook com imagem e texto */

.card-content {
  flex: 1;
  text-align: right;
}

.card h2 {
  color: white;
  font-size: 1.5rem;         /* Título maior */
}

.card li {
  color: white;
  font-size: 1.18rem;        /* Itens maiores */
}

.hero {
  position: relative;
  width: 100vw;
  min-width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  height: 350px;
  overflow: hidden;
  margin: 0 0 24px 0;
  text-align: center;
  box-sizing: border-box;
}

footer {
  width: 100vw;
  min-width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  background-color: #F5F1EC;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  margin: 0;
  box-sizing: border-box;
  position: relative;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Garante que a imagem continue aparecendo e se ajuste em telas pequenas */
@media (max-width: 600px) {
  .hero {
    height: 180px;
    min-height: 120px;
  }
  .hero img {
    height: 100%;
    min-height: 120px;
  }
  .hero-text {
    padding: 0 0.5rem;
  }
}


hero {
  position: relative;
  width: 100%;
  height: 350px; /* ajuste conforme necessário */
  overflow: hidden;
  margin-bottom: 24px;
  text-align: center;
}


.hero-text h1 {
  font-family: 'Arsenica', serif;
}


/* Faz o texto ficar por cima da imagem */
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-shadow: 1px 1px 4px #000; /* melhora a leitura */
  z-index: 2;
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero {
  text-align: center;
  
  background: #9C9187;
  color: white;
}
.hero h1 {
  font-size: 4.0rem;
  font-family: 'Arsenica', serif;
}
.hero p {
  font-size: 1.3rem;
  margin: 1rem 0;
}
.btn {
  background: gray;
  color: white;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 2rem;
}
section {
  padding: 2rem;
}
h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card {
  flex: 1;
  background: #9C9187;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 24px; /* Espaço na parte de baixo */
}

.card li{
  color: white;
}

.card h2{
  color: white;
}

.card-apresentação {
  color: white;
  background: #9C9187;
  border-radius: 16px;      /* Borda mais arredondada */
  margin: 0 auto 24px auto; /* Centraliza e dá espaço embaixo */
  max-width: 600px;         /* Largura máxima para centralizar melhor */
  padding: 2rem;            /* Espaço interno para destacar */
  text-align: center;       /* Centraliza o texto */
}
.card .btn {
  margin-top: 1.5rem;
  display: inline-block;
}

.btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { /*Efeito de aumentar no botão do header*/
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.galeria img {
  width: 100%;
  border-radius: 6px;
}
footer {
  background: #9C9187;
  color: #fff;
  text-align: center;
  padding: 1rem;
  
}
a {
  color: #2a2a2a;
}
a:hover {
  text-decoration: underline;

}

.hero{
  margin-bottom: 24px;
}

/* ...existing code... */

/* Responsividade para tablets e celulares */
@media (max-width: 900px) {
  .hero {
    height: 250px;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }
  .card-apresentação {
    padding: 1.2rem;
    font-size: 1rem;
  }
  .card {
    width: 90vw;
    max-width: 340px;
    font-size: 1.1rem;
    padding: 1rem;
  }
}

@media (max-width: 600px) {
  .hero {
    height: 180px;
    min-height: 120px;
    padding: 0;
  }
  .hero-text {
    padding: 0 0.5rem;
  }
  .hero-text h1 {
    font-size: 1.5rem;
    line-height: 1.1;
  }
  .hero-text p {
    font-size: 1rem;
  }
  .btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
  section {
    padding: 1rem 0.3rem;
  }
  .card-apresentação {
    padding: 1rem 0.5rem;
    font-size: 0.98rem;
    max-width: 98vw;
  }
  .servicos {
    padding: 0;
  }
  .card {
    width: 98vw;
    max-width: 99vw;
    font-size: 1rem;
    padding: 0.7rem;
    margin-bottom: 16px;
  }
  .galeria {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .card-content {
    padding: 0;
  }
}

/* Ajuste para imagens dos cards se usar .card-img */
.card-img {
  width: 40px;
  height: 40px;
  margin-right: 0.7rem;
}

@media (max-width: 600px) {
  .card-img {
    width: 32px;
    height: 32px;
    margin-right: 0.7rem;
  }
}

.destaque-footer {
  color: white; /* Dourado forte, visível */
  letter-spacing: 1px;
  text-decoration: none;

  background: transparent;
  padding: 2px 6px;
  
  
}

.card-content,
.card-content ul,
.card-content li,
.card ul,
.card li {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.card ul {
  list-style-position: inside;
  padding-left: 0.5rem;
  margin: 0;
}

.card ul {
  list-style-type: disc;
  list-style-position: inside;
  padding-left: 1.2em; /* espaço para os pontos aparecerem */
  margin: 0;
}

.card li {
  display: list-item;
}

.card li {
  margin-left: 0;
  padding-left: 0;
  line-height: 1.3; /* Deixa as linhas mais próximas */
}

.card-centralizado { /* Centraliza o conteúdo do terceiro card */
  align-items: center !important;
  text-align: center !important;
}
.card-centralizado h2 { /* Centraliza o título do terceiro card */
  width: 100%;
  text-align: center;
}


.hero-text h1,
.hero h1 {
  font-size: 4rem;
}

@media (max-width: 900px) {
  .hero-text h1,
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 600px) {
  .hero-text h1,
  .hero h1 {
    font-size: 1.7rem;
  }
}

.hero-text h1 {
  font-family: 'Arsenica', sans-serif;
  font-size: 4rem; /* Aumenta o tamanho do título */
}

@media (max-width: 900px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 600px) {
  .hero-text h1 {
    font-size: 1.7rem;
  }
}

.card-content {
  flex: 1;
  text-align: right;        /* Mantém o texto alinhado à direita dentro do bloco */
  display: flex;
  flex-direction: column;
  align-items: flex-end;    /* Faz o texto "ficar na direita" do bloco */
}

.card {
  display: flex;
  align-items: center;
  background: #9C9187;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 24px;
  width: 340px;
  font-size: 1.3rem;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .card {
    width: 90vw;
    max-width: 340px;
    font-size: 1.1rem;
    padding: 1rem;
  }
  .card-img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 600px) {
  .card {
    /* NÃO coloque flex-direction: column aqui! */
    width: 98vw;
    max-width: 99vw;
    font-size: 1rem;
    padding: 0.7rem;
    margin-bottom: 16px;
    text-align: right;
  }
  .card-img {
    width: 32px;
    height: 32px;
    margin-right: 0.5rem;
  }
  .card-content {
    align-items: flex-end;
    text-align: right;
  }
}

.card-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (max-width: 900px) { /* Ajusta o tamanho do título (h2) dos cards  em telas maiores */
  .card-content h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) { /* Ajusta o tamanho do título (h2) dos cards em telas menores */
  .card-content h2 {
    font-size: 2.0rem;
  }
}

.destaque-h2 {
  font-weight: bold;
  font-style: italic;
}

.card-grande {
  width: 480px;
  max-width: 98vw;
  min-height: 320px;
  font-size: 1.5rem;
  padding: 2.2rem 1.5rem;
}

.card-grande .card-content {
  font-size: 1.25em;
}

.card-grande h2 {
  font-size: 2.3rem;
}

@media (max-width: 600px) {
  .card-grande {
    width: 98vw;
    min-height: 220px;
    font-size: 1.1rem;
    padding: 1.2rem 0.5rem;
  }
  .card-grande h2 {
    font-size: 1.5rem;
  }
}

.card-grande {
  font-size: 1.18rem;
}

.card-grande .card-content {
  font-size: 1.08em;
}

.card-grande .card-content ul,
.card-grande .card-content li {
  font-size: 1.08em;
}

@media (max-width: 600px) {
  .card,
  .card-grande {
    width: 92vw;
    max-width: 96vw;
    min-height: unset;
    padding: 0.7rem 0.5rem;
    font-size: 0.95rem;
  }

  .card-content h2,
  .card-grande h2 {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
  }

  .card-content ul,
  .card-content li {
    font-size: 0.98em;
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
}

.card,
.card-grande {
  width: 98vw;
  max-width: 600px;
}

.card-img {
  width: 260px;
  height: 260px;
  background: transparent;
  box-shadow: none;
  border: none;
  display: block;
  object-fit: cover;
  border-radius: 16px;
  position: relative;
  transform: translateX(-50%); /* Move para fora à esquerda */
  z-index: 2;
  margin-right: 0.2rem;
}

/* Para telas pequenas, ajuste o tamanho e o deslocamento */
@media (max-width: 600px) {
  .card-img {
    width: 188px;
    height: 180px;
    transform: translateX(-20px);
    margin-right: 0.2rem;
  }
}
