:root {
  --rose: #d39aa3;
  --blue: #8fb0d8;
  --gold: #c8a24d;
  --bg: #fbf7f2;
  --text: #4a4a4a;
  --soft-text: #8a8a8a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background .4s ease, box-shadow .4s ease;
}

.navbar.scrolled {
  background: rgba(255,255,255,.96);
  box-shadow: 0 6px 30px rgba(0,0,0,.06);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 42px;
  display: block;
}

nav a {
  margin-left: 30px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: #7a7a7a;
}

/* HERO */
.hero {
  min-height: 100vh;
  background-image: url("images/floral.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 250, 245, 0.72);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 900px;
  padding: 40px;
}

/* SUBTÍTULO */
.subtitle {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--soft-text);
  margin-bottom: 28px;
}

/* NOMES */
.title-serif {
  font-family: 'Cormorant Garamond', serif;
}

.names {
  font-size: 84px;
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 26px;
}

.names span {
  text-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.name-rose { color: var(--rose); }
.name-blue { color: var(--blue); }
.name-gold {
  color: var(--gold);
  padding: 0 14px;
  font-weight: 400;
}

/* DATA */
.date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #6f6f6f;
  margin-bottom: 22px;
}

/* CITAÇÃO */
blockquote {
  font-style: italic;
  font-size: 17px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 10px;
}

.verse {
  font-size: 13px;
  letter-spacing: 1px;
  color: #9a9a9a;
}

/* SAIBA MAIS */
.saiba-mais {
  margin-top: 52px;
  font-size: 11px;
  letter-spacing: 3px;
  color: #777;
}

.arrow {
  margin: 14px auto 0;
  width: 18px;
  height: 18px;
  border-bottom: 2px solid #777;
  border-right: 2px solid #777;
  transform: rotate(45deg);
  animation: bounce 1.8s infinite;
}

@keyframes bounce {
  0%,100% { transform: rotate(45deg) translate(0,0); }
  50% { transform: rotate(45deg) translate(6px,6px); }
}

/* SECTIONS */
.section {
  padding: 120px 24px;
  text-align: center;
}

.bg-soft {
  background: #fdfbf8;
}

.container {
  max-width: 1100px;
  margin: auto;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px;
  font-weight: 500;
  margin-bottom: 64px;
}

/* CARDS */
.card {
  background: white;
  padding: 42px;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0,0,0,.06);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 36px;
}

.info-card i {
  font-size: 34px;
  margin-bottom: 18px;
  color: var(--blue);
}

iframe {
  width: 100%;
  height: 320px;
  border: none;
  border-radius: 14px;
  margin-top: 20px;
}

/* FADE */
.fade-in {
  animation: fadeUp 1.2s ease forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* MOBILE */
@media (max-width: 768px) {
  .hero {
    background: none;
  }

  .hero-overlay {
    background: var(--bg);
  }

  .names {
    font-size: 46px;
  }

  .date {
    font-size: 18px;
  }
  .paleta-card {
  padding: 2.5rem 1.8rem;
  border-radius: 20px;
  margin-bottom: 2.5rem;
  }
}

/* ===== ÁREA DOS PADRINHOS ===== */

.padrinhos-container {
  position: relative;
  background: #faf9f7;
  overflow: hidden;
}

/* camada floral suave */
.padrinhos-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/floral.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.05; /* SUPER sutil */
  pointer-events: none;
}

.padrinhos-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.padrinhos-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.padrinhos-header p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: #555;
}

/* =====================================================
   🔹 NOVO BLOCO — ORIENTAÇÕES VISUAIS
===================================================== */

.orientacoes-visuais {
  max-width: 1100px;
  margin: 0 auto 5rem;
  text-align: center;
}

.orientacoes-visuais h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.orientacoes-intro {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 3rem;
}

.paletas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.paleta-card {
  position: relative;
  padding: 3rem 2.5rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.paleta-card:hover {
  transform: translateY(-6px);
}

.paleta-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.paleta-cor {
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #777;
}

.paleta-imagens {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.paleta-imagens img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
}

.paleta-card.rosa {
  background: #f8edf0;
}

.paleta-card.azul {
  background: #eef4fb;
}

/* =====================================================
   🔹 NOVO BLOCO — NOVENA EM LISTA (ESTILO LITÚRGICO)
===================================================== */

.novena-lista {
  max-width: 900px;
  margin: 0 auto;
}

.novena-lista h2 {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.novena-lista .novena-intro {
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 3rem;
}

.novena-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid #eaeaea;
}

.novena-item:last-child {
  border-bottom: none;
}

.novena-item .dia {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
  display: block;
}

.novena-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #444;
}

.novena-item.destaque h3 {
  color: var(--gold);
}

/* ===== BOTÃO VOLTAR AO INÍCIO ===== */

.voltar-inicio {
  position: fixed;
  top: 20px;
  left: 20px;
  text-decoration: none;
  border: 1px solid #c9b37e;
  color: #c9b37e;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

.voltar-inicio:hover {
  background: #c9b37e;
  color: #fff;
}

/* ==============================
   RESPONSIVIDADE ÁREA PADRINHOS
============================== */

@media (max-width: 768px) {

  .padrinhos-container {
    padding: 6rem 1.2rem 3rem;
  }

  .padrinhos-header h1 {
    font-size: 2rem;
  }

  .orientacoes-visuais h2,
  .novena-lista h2 {
    font-size: 1.8rem;
  }

  .paleta-imagens {
    grid-template-columns: 1fr;
  }

  .paleta-imagens img {
    height: 180px;
  }

  .novena-item {
    padding: 1.2rem 0;
  }

  .novena-item h3 {
    font-size: 1.2rem;
  }

  .voltar-inicio {
    position: static;
    display: inline-block;
    margin-bottom: 2rem;
  }

}

/* ==============================
   LOGIN - ÁREA DOS PADRINHOS
============================== */

.login-container {
  min-height: 100vh;
  background-image: url("images/floral.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.login-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 250, 245, 0.85);
}

.login-card {
  position: relative;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.login-monograma {
  width: 140px;
  margin: 0 auto 1.5rem;
  display: block;
}

.login-card h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.login-card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 2rem;
}

.login-card input {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
}

.password-field {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 0.9rem;
}

.remember {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.remember input {
  width: auto;
  margin: 0;
}

.login-card button {
  width: 100%;
  padding: 0.8rem;
  background: var(--gold);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s ease;
}

.login-card button:hover {
  background: #b8923e;
}

.login-error {
  color: #c0392b;
  font-size: 0.8rem;
  margin-top: 1rem;
  display: block;
}

@media (max-width: 480px) {

  .login-card {
    padding: 2rem 1.5rem;
  }

  .login-card h1 {
    font-size: 1.7rem;
  }

  .login-card input {
    font-size: 0.9rem;
  }

  .login-card button {
    padding: 0.9rem;
  }

}
/* =========================
   MENU MOBILE
========================= */

.menu-toggle {
  display: none;
  font-size: 20px;
  cursor: pointer;
  color: #777;
}

@media (max-width: 768px) {

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background: white;
    display: flex;
    flex-direction: column;
    padding-top: 120px;
    padding-left: 40px;
    transition: right 0.3s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.08);
  }

  nav a {
    margin: 20px 0;
    font-size: 14px;
  }

  nav.active {
    right: 0;
  }

  .menu-toggle {
    display: block;
  }

}

/* OVERLAY DO MENU */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 998;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

nav {
  z-index: 999;
}

.padrinhos-container {
  padding-top: 140px;
}

/* NAVBAR SÓLIDA PARA PÁGINAS INTERNAS */

.navbar-solid {
  background: rgba(255,255,255,.96);
  box-shadow: 0 6px 30px rgba(0,0,0,.06);
}

/* =========================
   TRANSIÇÃO GLOBAL DE PÁGINA
========================= */

body {
  opacity: 0;
  transition: opacity 0.4s ease;
}

body.page-loaded {
  opacity: 1;
}

body.page-fade-out {
  opacity: 0;
}

/* =========================
   ANIMAÇÕES AO ROLAR
========================= */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   ACCORDION NOVENA DEFINITIVO
========================= */

.novena-item {
  border-bottom: 1px solid #eaeaea;
  padding: 1rem 0;
}

.novena-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.novena-title h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  margin-top: 0.3rem;
}

.toggle-icon {
  font-size: 14px;
  color: var(--gold);
  transition: transform 0.3s ease;
}

/* estado fechado */
.novena-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

/* estado aberto */
.novena-item.active .toggle-icon {
  transform: rotate(180deg);
}

/* ===============================
   BOTÃO VOLTAR LOGIN
================================ */

.back-button {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 16px;
  color: #8c8c8c;
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.back-button:hover {
  opacity: 1;
  transform: translateX(-3px);
  color: #b8923f; /* dourado do seu botão */
}

/* ===============================
   SOBRE NÓS
================================ */

.sobre-texto {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.8;
  font-size: 18px;
}

.sobre-texto p {
  margin-bottom: 22px;
}

/* ===============================
   LOCALIZAÇÕES
================================ */

.maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.map-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  text-align: center;
}

.map-card h3 {
  margin-bottom: 10px;
}

.map-card p {
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}

.map-card iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 12px;
}

/* Responsivo */
@media (max-width: 900px) {
  .maps-grid {
    grid-template-columns: 1fr;
  }
}

.map-button {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 18px;
  font-size: 14px;
  text-decoration: none;
  border-radius: 8px;
  background-color: #b8923f;
  color: white;
  transition: all 0.3s ease;
}

.map-button:hover {
  background-color: #a07d34;
  transform: translateY(-2px);
}

/* ===============================
   ÍCONES DOURADOS ANIMADOS
================================ */

.icon-gold {
  color: #b8923f;
  margin: 0 6px;
  font-size: 20px;
  vertical-align: middle;
}

/* Coração pulsando suave */
@keyframes pulseSoft {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.pulse {
  animation: pulseSoft 2.5s infinite ease-in-out;
}

/* Pegadas flutuando leve */
@keyframes floatSoft {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0px); }
}

.float {
  animation: floatSoft 3s infinite ease-in-out;
}

/* Anel com brilho sutil */
@keyframes shineSoft {
  0% { opacity: 0.8; }
  50% { opacity: 1; }
  100% { opacity: 0.8; }
}

.shine {
  animation: shineSoft 2.2s infinite ease-in-out;
}

.novena-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--gold);
}

.novena-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
  font-size: 0.95rem;
  color: #555;
}

/* ===============================
   PALETAS - AJUSTE DE TAMANHO
================================ */

.paleta-mood {
  margin: 2rem 0 1.5rem;
  display: flex;
  justify-content: center;
}

.paleta-mood img {
  width: 100%;
  max-width: 600px;  /* LIMITE DA IMAGEM */
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.paleta-card {
  max-width: 900px;
  margin: 0 auto 3rem;
}
/* ===============================
   AJUSTE DEFINITIVO DAS PALETAS
================================ */

.paleta-mood {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
  overflow: hidden; /* impede vazamento */
}

.paleta-mood img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

@media (max-width: 768px) {

  .paletas-grid {
    grid-template-columns: 1fr;
  }

  .paleta-mood img {
    max-height: 260px; /* limita altura no celular */
    object-fit: contain;
  }

}

/* ===============================
   PALETAS MINIMALISTAS
================================ */
.cor-item {
  text-align: center;
}

.cor {
  width: 100%;
  height: 38px;
  border-radius: 6px;
  margin-bottom: 0.6rem;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.04);
}

/* ROSAS */
.rosa1 { background: #f3c9cd; }
.rosa2 { background: #f19aa8; }
.rosa3 { background: #e85c74; }
.rosa4 { background: #c98ca0; }

/* AZUIS */
.azul1 { background: #a7c7e7; }
.azul2 { background: #8fb0d8; }
.azul3 { background: #c7dff2; }
.azul4 { background: #b8c7da; }

/* MOBILE */
@media (max-width: 768px) {
  .cor {
    width: 60px;
    height: 60px;
  }

  .paleta-colors {
    gap: 1.5rem;
  }
}

.paleta-colors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .paleta-colors {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
  }

  .cor {
    height: 45px;
  }

  .cor-item span {
    font-size: 0.85rem;
  }
  .paleta-card h3 {
  font-size: 1.4rem;
}

.paleta-cor {
  font-size: 0.7rem;
  margin-bottom: 1rem;
}
.orientacoes-visuais {
  padding: 0 1rem;
}

}

/* ===============================
   DECORAÇÃO FLORAL SUPERIOR
================================ */

.padrinhos-header {
  position: relative;
  padding: 6rem 2rem 4rem;
}

.padrinhos-header::before,
.padrinhos-header::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background-image: url("images/floral.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.06;
  pointer-events: none;
}

.padrinhos-header::before {
  top: -80px;
  left: -80px;
}

.padrinhos-header::after {
  top: -80px;
  right: -80px;
  transform: scaleX(-1);
}