* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lora", serif;
}

:root {
  /* Adicionei a variável que faltava */
  --spacing-base: 3.1875rem; 
  --font-h1: clamp(2rem, 8vw, 2.8rem);
  --text-line-height: 1.6;
}

main {
  width: 90%;  
  max-width: 60rem;               
  margin: 0 auto;
  /* Agora a variável funciona */
  padding: var(--spacing-base) 1rem;
  display: flex;
  flex-direction: column;
  /* O gap de 2rem já cria o espaçamento entre TUDO automaticamente */
  gap: 2rem; 
}

h1 {
    font-weight: 700;
    /* Use o clamp para o título não ficar gigante no celular */
    font-size: var(--font-h1); 
    color: rgb(0, 103, 179);
    line-height: 1.5; /* Line height de títulos deve ser menor (1.1 a 1.2) */
    text-align: center;
    margin-bottom: auto;
   
}

/* Regra geral para TODAS as imagens serem seguras */
img {
    max-width: 100%;
    height: auto;
    display: block;
    align-self: center;
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.2);
}

.img1 {
  /* Use max-width para definir o limite, mas permite que ela diminua */
  max-width: 34.375rem; 
}

.img2 {
  /* Se você quer que ela seja pequena (80px), use max-width */
  max-width: 5rem; 
}
.img4 {
  cursor: pointer;
  transition: 0.5s ease;
}
.img4:hover {
  opacity: 0.9;
   transform: scale(1.05); 
}
.img4:active {
  opacity: 0.6;
}
p {
  font-weight: 400;
  font-size: 1.3rem;         
  line-height: 1.8;           
  color: rgb(51, 51, 51);
  max-width: 80ch; 
  /* Centraliza o bloco do parágrafo no main */
  margin: 0 auto;
  text-align: left; 
}

.break-line {
  display: block; 
  margin-bottom: 0.5rem;
}

h2 {
    font-weight: 700;
    font-size: 2rem;           /* Tamanho sugerido para hierarquia */
    color: rgb(51, 51, 51);   /* Mantendo a cor da marca */
    text-align: center;        /* Centraliza o texto dentro da tag */
    align-self: center;        /* Centraliza a tag dentro do flex-container (main) */
    max-width: 800px;
    margin-top: 1rem;          /* Espaço extra opcional acima do subtítulo */
}
.cta a {
   color: rgb(0, 103, 179);
    font-size: var(--font-h1); 
    text-decoration: none;
    display: inline-block;
    transition: 0.5s ease;
}
.cta a:hover {
  opacity: 0.8;
  transform: scale(1.05); 
}
.cta a:active {
  opacity: 0.6;
}
a {
  align-self: center;
}

button {
  background-color: rgb(255, 180, 15);
  color: white;
  padding: 0.8rem 0.8rem;
  border: none;
  border-radius: 8px;
  font-weight: 900;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 4px 8px 15px rgba(0, 0, 0, 0.2);
  outline: none;
  align-self: center;
  width: 100%;
  max-width: 500px;
  transition: 0.4s ease;
  
}
button:hover {
  opacity: 0.8;
  transform: scale(1.05); /* Aumenta levemente ao passar o mouse */
  
}
button:active {
  opacity: 0.6;
}
footer {
  background-color: #dbdbdb;
    padding: 3rem 1.5rem;       /* 48px vertical, 24px horizontal */
    margin-top: 4rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;        /* Centraliza os blocos no meio da página */
    gap: 1.25rem;
}
.footer-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;          /* Quebra linha no celular se necessário */
}
.footer-links a {
    color: rgb(204, 51, 102);
    text-decoration: none;
    font-size: 0.9rem;
}
.footer-links a:hover {
  opacity: 0.8;
}
.footer-links a:active {
  opacity: 0.6;
}
.footer-text {
    color: #666666;
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 50rem; 
    text-align: center;    
}
.footer-copy {
    font-size: 0.85rem;
    color: #666666;
     text-align: center;    
    
}
footer p {
    text-align: center; /* Alinha as linhas de texto no meio */
    width: 100%;        /* Garante que o parágrafo ocupe toda a largura disponível */
    margin-left: auto;  /* Reforço de centralização horizontal */
    margin-right: auto;
    max-width: 45rem;   /* Evita que as linhas fiquem longas demais no desktop */
}
.footer-links a {
  font-size: 1.2rem;
}

/*_____________________________________________________________________________________
                          PRIVACY POLICY PAGE
______________________________________________________________________________________ */

.to-back {
   background-color: rgb(255, 180, 15);
  color: white;
   padding: 0.8rem 0.8rem;
  border: none;
  border-radius: 8px;
  font-weight: 900;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 4px 8px 15px rgba(0, 0, 0, 0.2);
  outline: none;
  display: inline-block;
  transition: 0.4s ease;
  text-decoration: none;
  align-self: flex-start;
   
   }

.to-back:hover {
  opacity: 0.8;
  transform: scale(1.05); 
}
.to-back:active {
  opacity: 0.6;
}
.pages-info {
  color: #333333;
  font-size:2.5rem;
  font-weight: 500;
  margin: 2rem;
 
}  
.texts-info {
  color: #7a7a7a;
  font-size: 1.025rem;

    line-height: 1.5;      
    margin-bottom: 3.5rem; 
    max-width: 65rem;
} 
.letter {
  margin-bottom: 0.7rem; 
}  
.blocks {
  margin-bottom: 1rem;
  margin-top: 3.5rem ;
}  
.blocks-p {
  margin-bottom: 3.5rem;
}   
.blocks-t {
   
   margin-top: 0.7rem;
}    
.legal-page-body {
  padding: 3rem 1.25rem; 
 display: flex;
    align-items: flex-start; /* Força todos os elementos para a esquerda */
    max-width: 65rem;
  margin: 0 auto;
  padding: 3rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

}    

.legal-page-body h1, 
.legal-page-body p {
    max-width: 65rem;
    margin-left: 0;      /* Remove o auto que centraliza o bloco */
    margin-right: auto;  /* Mantém a margem direita livre */
    text-align: left;    /* Garante o alinhamento das letras */
}   
.legal-page-body p {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    line-height: 1.7;
}

                          
/* Configurações exclusivas para telas de até 600px (celulares) */
@media (max-width: 600px) {
  main {
    padding: 2rem 1.2rem; /* Aumenta um pouco o respiro lateral no celular */
    gap: 1.5rem;          /* Diminui o espaço entre os elementos para evitar muito scroll */
  }

  h1 {
    font-size: 1.8rem;    /* Evita que o título ocupe a tela inteira */
    line-height: 1.2;
    margin-top: 1rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  p {
    text-align: center;   /* Centraliza o texto no mobile para um visual mais limpo */
    font-size: 1.1rem;    /* Ajuste leve para legibilidade em telas pequenas */
    line-height: 1.6;
    margin-bottom: 1rem;
    width: 100%;          /* Garante que o texto use toda a largura disponível */
  }

  .img1 {
    width: 100%;          /* Força a imagem principal a preencher a largura no celular */
  }

  
  /* Isso afeta todas as imagens no celular */
  img {
    width: 100vw; /* Força a imagem a ocupar a largura da janela de visualização */
    max-width: none; /* Remove o limite para ela poder esticar se necessário */
    margin-left: calc(-50vw + 50%); /* Técnica para ignorar o padding do main e colar na borda */
    margin-right: calc(-50vw + 50%);
  }

  .img1 {
    width: 100vw;
  }


}

