/* ============================================
   DESIGN SYSTEM — Cemitério Gethsêmani Morumbi
   Paleta: marrom quente, creme, dourado
   ============================================ */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f5f0eb;
  color: #2c1810;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ---- VARIÁVEIS ---- */
:root {
  --primary:   #7a4a2a;
  --dark:      #2c1810;
  --mid:       #5c3317;
  --accent:    #e8a855;
  --cream:     #f5f0eb;
  --white:     #ffffff;
  --text-muted:#777777;
  --wa-green:  #25D366;
}

/* ---- TIPOGRAFIA ---- */
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; }
a { text-decoration: none; color: inherit; }
a:hover { text-decoration: none; }

/* ---- LABEL TAG ---- */
.label-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--dark);
  font-size: 0.7rem;
  font-family: Arial, sans-serif;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

/* ============================================
   NAVBAR
   ============================================ */
.site-navbar {
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.site-navbar .brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.brand-text .brand-name {
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  display: block;
}
.brand-text .brand-phones {
  font-size: 0.8rem;
  color: #555;
}
.brand-text .brand-phones i { margin-right: 4px; }
.btn-whatsapp-nav {
  background: var(--wa-green);
  color: var(--white) !important;
  border: none;
  border-radius: 25px;
  padding: 9px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 0.3s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.btn-whatsapp-nav:hover {
  background: #1ebe5c;
  transform: translateY(-1px);
  color: var(--white) !important;
}

/* ============================================
   BANNER
   ============================================ */
.site-banner {
  position: relative;
  min-height: 80vh;
  background-image: url('../images/banner.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.site-banner .overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 10, 5, 0.60);
}
.site-banner .banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.banner-ornament {
  color: var(--accent);
  font-size: 2.2rem;
  display: block;
  margin-bottom: 16px;
  animation: fadeInDown 0.8s ease-out;
}
.site-banner h1 {
  color: var(--cream);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 1px 2px 6px rgba(0,0,0,0.6);
  margin-bottom: 14px;
  animation: fadeInUp 0.9s ease-out;
}
.site-banner .banner-sub {
  color: #e8d5c0;
  font-size: 1.1rem;
  font-style: italic;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease-out;
}

/* ============================================
   BOAS-VINDAS
   ============================================ */
.section-welcome {
  background: var(--white);
  padding: 56px 0;
  border-bottom: 1px solid #e8d5c0;
  text-align: center;
}
.section-welcome h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 16px;
}
.section-welcome p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
  text-align: justify;
}

/* ============================================
   SERVIÇOS
   ============================================ */
.section-services {
  background: var(--cream);
  padding: 56px 0;
}
.section-services .section-title {
  text-align: center;
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 36px;
}
.service-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.09);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  background: var(--white);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
.service-card .card-img-top {
  height: 180px;
  object-fit: cover;
  width: 100%;
}
.service-card .card-body { padding: 1.2rem; }
.service-card .card-title {
  font-family: Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.service-card .card-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   CTA WHATSAPP
   ============================================ */
.section-cta {
  background: linear-gradient(135deg, var(--dark) 0%, var(--mid) 100%);
  padding: 64px 20px;
  text-align: center;
}
.section-cta .cta-ornament {
  color: var(--accent);
  font-size: 2rem;
  display: block;
  margin-bottom: 14px;
}
.section-cta h2 {
  color: var(--cream);
  font-size: 2rem;
  line-height: 1.4;
  margin-bottom: 12px;
}
.section-cta .cta-sub {
  color: #e8d5c0;
  font-size: 1rem;
  margin-bottom: 28px;
}
.btn-whatsapp-cta {
  background: var(--wa-green);
  color: var(--white);
  border: none;
  border-radius: 35px;
  padding: 16px 36px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}
.btn-whatsapp-cta:hover {
  background: #1ebe5c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #1a0e08;
  color: #e8d5c0;
  padding: 36px 0 20px;
}
.site-footer .footer-name {
  font-family: Georgia, serif;
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}
.site-footer .footer-domain {
  font-size: 0.8rem;
  color: #888;
}
.site-footer .footer-phones { font-size: 0.88rem; }
.site-footer .footer-phones i { margin-right: 6px; }
.site-footer .footer-divider {
  border-color: #333;
  margin: 20px 0 12px;
}
.site-footer .footer-copy {
  font-size: 0.78rem;
  color: #555;
  text-align: center;
}

/* ============================================
   BOTÃO WHATSAPP FLUTUANTE
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--wa-green);
  color: var(--white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: transform 0.3s, background 0.3s;
  z-index: 999;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  background: #1ebe5c;
  color: var(--white);
}

/* ============================================
   ANIMAÇÕES
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 1199px) {
  .site-banner h1 { font-size: 2.4rem; }
}
@media (max-width: 991px) {
  .site-banner h1 { font-size: 2rem; }
  .section-welcome h2,
  .section-services .section-title,
  .section-cta h2 { font-size: 1.7rem; }
}
@media (max-width: 767px) {
  .site-banner { min-height: 70vh; background-attachment: scroll; }
  .site-banner h1 { font-size: 1.6rem; }
  .site-banner .banner-sub { font-size: 0.95rem; }
  .section-welcome p { text-align: left; }
  .site-footer { text-align: center; }
  .site-footer .footer-phones { margin-top: 12px; }
}
@media (max-width: 575px) {
  .site-banner h1 { font-size: 1.4rem; }
  .btn-whatsapp-nav span { display: none; }
}
