body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat';
}

p, h1, h2, h3, ul, li {
  margin: 0;
  padding: 0;
}

.background-inicio {
  background-image: url('./img/background-verde.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.logo  {
  width: 80px;
}

.header-menu {
  display: flex;
  max-width: 960px;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.menu-nav ul {
  display: flex;
}

.menu-nav ul li {
  list-style: none;
}

.menu-nav ul li a {
  list-style: none;
  margin: 20px;
  font-size: 12px;
  font-weight: bold;
  color: #5D653E;
  text-decoration: none;
}

button {
  background: #5D653E;
  padding: 10px 25px;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 10px;
}

.btn-second {
  text-decoration: none;
  background: #5D653E;
  padding: 10px 25px;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 10px;
}

.btn-inicio img {
  width: 30px;
  height: 30px;
}

.btn-inicio {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.btn-inicio a {
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
}

.primeira-section {
  display: flex;
}

.sub-info-primeira-section {
  display: flex;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  gap: 80px;
}

.foto-section img {
  width: 450px;
  border-radius: 20px;
  mix-blend-mode: multiply;
  margin-bottom: 20px;
}

.sessao-titulo {
  place-items: center;
}

.sub-info-primeira-section {
  align-items: center;
}

.sessao-titulo h1 {
  font-size: 36px;
}
.sessao-titulo h2 {
  font-family: "Pacifico", cursive;
  font-size: 48px;
}

.info-segunda-section {
  gap: 60px;
}

.info-segunda-section-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.info-segunda-section img {
  width: 300px;
  border-radius: 16px;
}

.info-segunda-section {
  max-width: 960px;
  display: flex;
  margin: 0 auto;
  padding: 60px;
}

.segunda-section {
  background-color: #F8F4F1;
}

.section-info {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.sobre {
  position: relative;
  display: flex;
  margin-left: 22px;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-size: 12px;
}

.sobre::before {
  content: '';
  width: 15px;
  height: 3px;
  background-color: #000;
  position: absolute;
  left: -20px;
  bottom: 5px;
}

.section-info h1 {
  margin-bottom: 20px;
}

.sobre-info {
  margin-bottom: 40px;
}

.formacao {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.formacao-info {
  display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza a imagem */
    text-align: center;  /* Centraliza o texto */
    flex: 1;
}

.formacao-info img {
  align-self: center;
}

.formacao p {
  text-align: center;
}

.formacao img {
  width: 120px;
}

.terceira-section {
  padding: 60px;
}

.info-section {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
}

.terceira-section h2 {
  margin-bottom: 30px;
  font-size: 36px;
}

.info-section img {
  width: 200px;
}

.card {
  width: 280px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #ececec;
  box-shadow: 0 5px 18px rgba(0,0,0,.08);
  transition: .3s;

  display: flex;
  flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,.12);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2f2f2f;
  line-height: 1.3;
  min-height: 55px; /* deixa todos os títulos na mesma altura */
}

.line {
  width: 80px;
  height: 3px;
  background: #5D653E;
  border-radius: 50px;
  margin: 16px 0 20px;
}

.card-content p {
  color: #555;
  font-size: .95rem;
  line-height: 1.3;
  flex: 1; /* ocupa o espaço disponível */
  margin-bottom: 30px;
}

.card-content span {
    color: #5D653E;
    font-size: .95rem;
    font-weight: 600;
}

.titulo {
  max-width: 960px;
  margin: 0 auto;
}

.quarta-section {
  background-color: #F8F4F1;
  padding: 60px;
}

.cards-quarta-section {
  display: flex;
}

.quarta-section h2 {
  margin-bottom: 30px ;
  font-size: 36px;
}


.cards-quarta-section img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.sexta-section {
  background-image: url('./img/background-transofrmacao.jpg');
  background-size: 100% auto; 
  background-position: center;
  background-repeat: no-repeat;
}

.sub-info {
  padding: 30px 0px;
  max-width: 960px;
  margin: 0 auto;
}

.sub-info h2 {
  color: #fff;
  font-weight: 300;
  font-size: 42px;
  line-height: 1.2;
}

.sub-info p {
  color: #fff;
  margin: 20px 0px;
  line-height: 1.3;
}

.footer {
  padding: 30px 0px;
}

.footer-section {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  gap: 100px;
  justify-content: space-between;
}

.footer-info {
  font-size: 11px;
}

.footer-info ul {
  list-style: none;
}

.info-contacto {
  margin-top: 20px;
}

.info-contacto li {
  margin-bottom: 10px;
}

.info-contacto li i {
  margin-right: 10px;
}

.redes-sociais ul {
  margin-top: 20px;
  display: flex;
}

.redes-sociais li {
  margin-right: 20px;
}

.redes-sociais i {
  font-size: 20px;
  color: #5D653E;
}

.copy h3 {
  margin-bottom: 20px;
}

/* ===========================
   TABLETS
=========================== */
@media (max-width: 992px) {

  .header-menu {
    padding: 20px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .menu-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .menu-nav ul li a {
    margin: 8px;
  }

  .sub-info-primeira-section {
    flex-direction: column;
    gap: 30px;
    padding: 40px 20px;
    text-align: center;
  }

  .foto-section img {
    width: 350px;
  }

  .sessao-titulo h1 {
    font-size: 30px;
  }

  .sessao-titulo h2 {
    font-size: 40px;
  }

  .info-segunda-section {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
  }

  .info-segunda-section-foto img {
    max-width: 400px;
  }

  .section-info {
    text-align: center;
  }

  .sobre {
    justify-content: center;
    margin-left: 0;
  }

  .sobre::before {
    display: none;
  }

  .formacao {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }

  .titulo {
    text-align: center;
  }

  .info-section {
    flex-wrap: wrap;
    justify-content: center;
  }

  .card {
    width: 320px;
  }

  .footer-section {
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    text-align: center;
  }

  .redes-sociais ul {
    justify-content: center;
  }

}


/* ===========================
   CELULARES
=========================== */
@media (max-width: 768px) {

  .header-menu {
    flex-direction: column;
    padding: 20px;
  }

  .menu-nav ul {
    flex-direction: column;
    align-items: center;
  }

  .menu-nav ul li {
    margin: 8px 0;
  }

  .header button {
    width: 100%;
    max-width: 250px;
  }

  .sub-info-primeira-section {
    flex-direction: column;
    gap: 30px;
    padding: 30px 20px;
    text-align: center;
  }

  .foto-section img {
    width: 100%;
    max-width: 320px;
  }

  .sessao-titulo {
    text-align: center;
  }

  .sessao-titulo h1 {
    font-size: 28px;
  }

  .sessao-titulo h2 {
    font-size: 34px;
  }

  .sessao-titulo p br {
    display: none;
  }

  .segunda-section,
  .terceira-section,
  .quarta-section {
    padding: 40px 20px;
  }

  .info-segunda-section {
    flex-direction: column;
    padding: 20px 0;
    gap: 30px;
    text-align: center;
  }

  .info-segunda-section-foto img {
    width: 100%;
    max-width: 320px;
  }

  .section-info {
    text-align: center;
  }

  .sobre {
    justify-content: center;
    margin-left: 0;
  }

  .sobre::before {
    display: none;
  }

  .section-info h1,
  .terceira-section h2,
  .quarta-section h2 {
    font-size: 30px;
    text-align: center;
  }

  .formacao {
    flex-direction: column;
    gap: 25px;
  }

  .titulo {
    text-align: center;
  }

  .info-section {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .card {
    width: 100%;
    max-width: 350px;
  }

  .card-content {
    text-align: center;
  }

  .line {
    margin: 14px auto 22px;
  }

  /* BENEFÍCIOS */

  .cards-quarta-section {
    width: 100%;
    max-width: 350px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 18px;
  }

  .cards-quarta-section img {
    width: 110px;
  }

  .cards-quarta-section p {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
  }

  .sexta-section {
    background-size: cover;
  }

  .sub-info {
    padding: 40px 20px;
    text-align: center;
  }

  .sub-info h2 {
    font-size: 30px;
  }

  .sub-info p {
    text-align: center;
  }

  .sub-info h2 br,
  .sub-info p br {
    display: none;
  }

  .footer-section {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
  }

  .footer-info {
    text-align: center;
  }

  .redes-sociais ul {
    justify-content: center;
  }

}


/* ===========================
   CELULARES PEQUENOS
=========================== */
@media (max-width: 480px) {

  .logo {
    width: 60px;
  }

  .sessao-titulo h1 {
    font-size: 24px;
  }

  .sessao-titulo h2 {
    font-size: 28px;
  }

  .sessao-titulo p {
    font-size: 15px;
  }

  .btn-inicio {
    width: 100%;
  }

  .btn-inicio a {
    font-size: 13px;
  }

  button {
    width: 100%;
  }

  .section-info h1,
  .terceira-section h2,
  .quarta-section h2,
  .sub-info h2 {
    font-size: 26px;
  }

  .card-content {
    padding: 18px;
  }

  .cards-quarta-section {
    max-width: 100%;
  }

  .cards-quarta-section img {
    width: 95px;
  }

  .cards-quarta-section p {
    font-size: 16px;
  }

}