footer {
    background: linear-gradient(135deg, #2d1f1f 0%, #3d2828 100%);
    color: var(--white);
    padding: 4rem 3rem 2rem;
    position: relative;
    overflow: hidden;
}
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--rose-accent), transparent);
}
footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 165, 165, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-section h3 {
    font-family: 'Playfair Display', serif;
    color: var(--rose-accent);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 10px rgba(201, 124, 124, 0.3);
}
.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    line-height: 1.6;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}
.footer-section a {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 0.5rem;
    min-width: 0;
}
.footer-section a i {
    grid-row: 1;
}
.footer-section a[href^="mailto"] {
    font-size: 0.85rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.footer-section a:hover {
    color: var(--rose-accent);
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 124, 124, 0.25);
    color: rgba(255,255,255,0.65);
}
@media (max-width: 768px) {
  footer {
    overflow-x: hidden;
    position: relative;
  }
  
  footer::after {
    right: -40px;      
    width: 220px;      
    height: 220px;     
  }
  
  .footer-content {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr; 
    gap: 1.5rem;
  }
  
  .footer-section a,
  .footer-section p {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  footer{
    overflow: hidden;
    position: relative;
    width: 100%;
  }
  footer::after{
    content: none !important;
  }
  
  #contato, #contato *{
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}
/* Telas até ~390px */
@media (max-width: 420px) {
  footer { padding: 3.2rem 1.2rem 1.8rem; }
  .footer-content { gap: 1.2rem; }
  .footer-section h3 { font-size: 1.35rem; }
  .footer-section a, .footer-section p { font-size: 1rem; }
}

/* Botão flutuante WhatsApp (comum a todas as páginas) */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #1ebd58);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25), 0 0 0 4px rgba(255,255,255,0.35);
  z-index: 1600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0,0,0,0.3), 0 0 0 5px rgba(255,255,255,0.4);
}
.whatsapp-float:active { transform: translateY(0) scale(0.98); }
.whatsapp-float i { pointer-events: none; }
@media (max-width: 480px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
    box-shadow: 0 10px 26px rgba(0,0,0,0.24), 0 0 0 3px rgba(255,255,255,0.3);
  }
}
