@import url('https://cdn.jsdelivr.net/npm/lucide-static/font/Lucide.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    background-color: #FFFDF9;
    font-family: 'Playfair Display', serif;
}

.navbar {
    width: 100%;
    height: 124px;
    background-color: #FFFDF9;
    display: flex;
    font-size: 24px;
    line-height: 33px;
    justify-content: space-between;
    align-items: center;
    padding: 0 70px;
    color: black;
    position: relative;
}

.logo img {
    padding-top: 12%;
    height: 130px;
    width: auto;
    object-fit: contain;
}

.menu-toggle {
    display: none;
    /* Esconde no desktop */
    font-size: 36px;
    cursor: pointer;
    color: #7B1E3B;
}

.nav-links {
    display: flex;
    gap: 97px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #000000;
    font-size: 24px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #7B1E3B;
}

.cruz {
    position: absolute;
    z-index: 999;
    width: 50px;
    height: 80px;
}

.cruz1 {
    top: 20px;
    right: 30px;
}


.capa {
    margin-top: 0;
    padding-top: 0;
}

.capa {
    width: 100%;
    height: 774px;
    background-image: url(imagens/capa.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#mensagem {
    width: 50%;
    color: #FFFDF9;
    font-size: 70px;
    padding-top: 280px;
    padding-left: 95px;
}

.capa-links {
    list-style: none;
    display: flex;
    gap: 20px;
    padding-left: 95px;
    padding-top: 60px;
    font-size: 20px;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;

}


.capa-links a {
    list-style: none;
    color: #7B1E3B;
    background-color: #CFAE60;
    text-decoration: none;
    border-radius: 15px;
    padding: 10px 20px;
}

.botao-nav:hover {
    transform: scale(1.25);
}

.cruz2 {
    padding-left: 50px;
}

.sobre-titulo {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 50px;
    padding-top: 75px;
}

.sobre-titulo h2 {
    font-size: 45px;
    color: #7B1E3B;
}

p {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margiN: 7%;
    margin-top: 3%;
    margin-bottom: 3%;
}

.missa-titulo h2 {
    font-size: 45px;
    color: #7B1E3B;
    text-align: center;
    margin-top: 10%;


}

.tabela-container {
    overflow-x: auto;
    margin: 0 auto;
    max-width: 90vw;
    padding: 10%;
    padding-top: 5%;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
}

.tabela-missas {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    background-color: #FFFDF9;
    font-family: 'Merriweather', serif;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.tabela-missas thead {
    background-color: #7B1E3B;
    color: #FFFDF9;
}

.tabela-missas th,
.tabela-missas td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #E6E4DF;
    transition: background-color 0.3s ease;
}

.tabela-missas tbody tr:nth-child(even) {
    background-color: #CFAE60;
    /* tom claro inspirado no #CFAE60 */
}

.tabela-missas tbody tr:nth-child(odd) {
    background-color: #F7E8BA
        /* cor base do site */
}

.pastoral-titulo {
    text-align: center;
    font-size: 45px;
    color: #7B1E3B;
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.pastoral-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 5%;
    margin-bottom: 4rem;
}

.pastoral-card {
    background-color: #FFFDF9;
    border: 1px solid #E6E4DF;
    border-left: 6px solid #CFAE60;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease;
    height: 100%;
}

.pastoral-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
}

.pastoral-card h3 {
    color: #7B1E3B;
    font-size: 24px;
    margin-bottom: 10px;
}

.pastoral-card p {
    font-size: 20px;
    color: #333333;
    line-height: 1.5;
}

.card-link{
        display: block;
        width: 100%;
        height: 100%;
        text-decoration: none;
        color: inherit; 
        cursor: pointer;
    }

.footer {
    background-color: #7B1E3B;
    color: #FFFDF9;
    padding: 2rem 5%;
    font-family: 'Playfair Display', serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-left h3 {
    margin-bottom: 0.5rem;
    font-size: 24px;
}

.footer-left p,
.footer-right p {
    margin: 0.3rem 0;
    font-size: 18px;
}

.footer-right .social-icons {
    display: flex;
    gap: 10px;
    margin-top: 0.5rem;
    width: auto;
    height: 20%;
}

.social-icons a {
    color: #FFFDF9;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #CFAE60;
}

.footer-bottom {
    border-top: 1px solid #FFFDF9;
    padding-top: 1rem;
    text-align: center;
    font-size: 14px;
}

.lucide {
    width: 34px;
    height: 34px;
    stroke: #FFFDF9;
    fill: none;
    margin: 0 10px;
    transition: transform 0.2s ease;
}

.lucide:hover {
    transform: scale(1.2);
    stroke: #CFAE60;
    /* cor ao passar o mouse */
}

/* Container do formulário - focado em desktop */
#form-intencao {
  background: #FFFDF9;
  padding: 50px 60px;
  max-width: 900px;
  margin: 60px auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Título */
#form-intencao h1 {
  text-align: center;
  color: #7B1E3B;
  margin-bottom: 10px;
  font-size: 2.2rem;
}

#form-intencao p {
  text-align: center;
  margin-bottom: 40px;
  color: #333333;
  font-size: 1.1rem;
}

/* Labels */
#form-intencao label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333333;
  font-size: 1rem;
}

/* Campos */
#form-intencao input,
#form-intencao select,
#form-intencao textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #E6E4DF;
  border-radius: 6px;
  font-size: 1rem;
  margin-bottom: 25px;
  background-color: #fff;
  transition: all 0.2s ease;
}

/* Foco nos campos */
#form-intencao input:focus,
#form-intencao select:focus,
#form-intencao textarea:focus {
  outline: none;
  border-color: #CFAE60;
  box-shadow: 0 0 0 3px rgba(207, 174, 96, 0.25);
}

/* Botão */
#form-intencao button {
  background: #7B1E3B;
  color: #fff;
  padding: 14px 28px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

#form-intencao button:hover {
  background: #5E162C;
  transform: translateY(-2px);
}

/* Espaço entre grupos de campos (opcional pra desktop) */
#form-intencao form > *:not(button) {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}


/* ----------- VERSÃO MÉDIA (TABLETS até 1024px) ----------- */
@media (max-width: 1024px) {

    .navbar {
        padding: 0 30px;
        flex-direction: column;
        height: auto;
        gap: 10px;
    }

    .logo img {
        padding-top: 5%;
        height: 100px;
    }

    .menu-toggle {
        display: none;
        /* Esconde no desktop */
        font-size: 36px;
        cursor: pointer;
        color: #7B1E3B;
    }

    .nav-links {
        gap: 30px;
        flex-wrap: wrap;
        justify-content: center;
    }

    #mensagem {
        width: 100%;
        font-size: 48px;
        padding-left: 20px;
        padding-top: 150px;
    }

    .capa-links {
        padding-left: 20px;
        font-size: 18px;
        flex-direction: column;
        align-items: flex-start;
    }

    .sobre-titulo {
        padding-left: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .tabela-container {
        padding: 5%;
    }

    /* ----- ESTILO BASE (desktop que você já tem) ----- */
/* Aqui entra o CSS que já te passei antes pro PC */

/* ----- TELAS MÉDIAS (tablet) ----- */
@media (max-width: 1024px) {
  #form-intencao {
    padding: 35px 30px;
    margin: 40px auto;
    max-width: 90%;
  }

  #form-intencao h1 {
    font-size: 1.8rem;
  }

  #form-intencao p {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  #form-intencao input,
  #form-intencao select,
  #form-intencao textarea {
    font-size: 0.95rem;
    padding: 10px 12px;
    margin-bottom: 20px;
  }

  #form-intencao button {
    font-size: 0.95rem;
    padding: 12px 20px;
  }
}

}


/* ----------- VERSÃO MOBILE (CELULARES até 768px) ----------- */
@media screen and (max-width: 768px) {

    /* GERAL */
    body {
        font-size: 16px;
    }

    /* NAVBAR */
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        height: auto;
        align-items: center;
        padding: 1rem 2rem;
        position: relative;
    }

    .cruz1 {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .logo {
        margin: 0 auto;
    }

    .logo img {
        height: 80px;
        padding: 0;
    }

    .menu-toggle {
        display: block;
        font-size: 32px;
        cursor: pointer;
        position: absolute;
        right: 2rem;
        top: 50%;
        transform: translateY(-50%);
        color: #7B1E3B;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 1rem;
        position: absolute;
        top: 100%;
        right: 1rem;
        background-color: #FFFDF9;
        border: 1px solid #E6E4DF;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        z-index: 999;
        border-radius: 10px;
        width: fit-content;
    }

    .nav-links.active {
        display: flex;
        animation: dropFade 0.3s ease forwards;
    }

    @keyframes dropFade {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links li {
        text-align: right;
        width: 100%;
    }

    .nav-links a {
        font-size: 20px;
        padding: 0.5rem 0;
        display: block;
        color: #000;
    }

    /* CAPA */
    .capa {
        height: auto;
        padding: 2rem 1rem;
        text-align: center;
    }

    #mensagem {
        font-size: 38px;
        width: 100%;
        padding: 2rem 0;
    }

    .capa-links {
        flex-direction: column;
        align-items: center;
        padding-left: 0;
    }

    /* SOBRE */
    .sobre-titulo {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-left: 0;
        gap: 10px;
    }

    .sobre-titulo h2 {
        font-size: 36px;
    }

    .cruz2 {
        padding-left: 0;
    }

    p {
        font-size: 18px;
        margin: 2rem 5%;
    }

    /* TABELA */
    .tabela-container {
        padding: 5%;
    }

    .tabela-missas th,
    .tabela-missas td {
        padding: 0.5rem;
        font-size: 14px;
    }

    /* PASTORAIS */
    .pastoral-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .pastoral-card {
        font-size: 16px;
    }

    .card-link{
        display: block;
        text-decoration: none;
        color: inherit; 
        cursor: pointer;

    }

    /* RODAPÉ */
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-left h3 {
        font-size: 20px;
    }

    .footer-left p,
    .footer-right p {
        font-size: 18px;
    }

    .social-icons{
        padding-left: 10%;
    }
}

.musica img{
    width: 100%;
    height: 15%;
    
}

#explicacao-pastorais {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 64px;
  }
  .pastoral-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    background: #FFFDF9;
    border-radius: 18px;
    padding: 24px 32px;
    box-shadow: 0 2px 10px #0001;
  }
  .pastoral-info img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 2px 8px #0001;
    background: #E6E4DF;
    flex-shrink: 0;
  }
  .pastoral-texto {
    flex: 1;
    color: #333;
  }
  .pastoral-info h2 {
    color: #7B1E3B;
    margin-top: 0;
    margin-bottom: 14px;
  }
  .alinhamento-esquerda {
    flex-direction: row;
  }
  .alinhamento-direita {
    flex-direction: row-reverse;
    text-align: right;
    
  }
  @media (max-width: 800px) {
    .pastoral-info,
    .alinhamento-esquerda,
    .alinhamento-direita {
      flex-direction: column !important;
      text-align: center;
      gap: 18px;
    }
    .pastoral-info img {
      width: 100%;
      height: auto;
    }
  
  
  #form-intencao {
    padding: 20px 15px;
    margin: 20px auto;
    max-width: 100%;
    border-radius: 0; /* tira cantos arredondados pra usar 100% da tela */
    box-shadow: none; /* menos sombra no mobile */
  }

  #form-intencao h1 {
    font-size: 1.4rem;
    line-height: 1.2;
  }

  #form-intencao p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  #form-intencao label {
    font-size: 0.85rem;
  }

  #form-intencao input,
  #form-intencao select,
  #form-intencao textarea {
    font-size: 0.9rem;
    padding: 9px 10px;
    margin-bottom: 15px;
  }

  #form-intencao button {
    font-size: 0.95rem;
    padding: 12px;
    width: 100%; /* ocupa a largura total no mobile */
  }

  /* Força campos lado a lado a ficarem empilhados */
  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-row > div {
    width: 100%;
  }
}
