/* Estilos customizados e refinamentos para o site Dra. Kimberly Vieira */

:root {
  --color-primary: #785346;
  --color-primary-dark: #5a3c31;
  --color-primary-container: #936b5d;
  --color-secondary-container: #f2ded9;
  --color-dusty-rose: #D4B1A7;
  --color-soft-clay: #C4A499;
  --color-surface: #fbf9f8;
  --color-surface-low: #f5f3f2;
  --color-deep-charcoal: #1A1A1A;
}

/* Reset de scroll e suavidade */
html {
  scroll-behavior: smooth;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: var(--color-surface);
  color: var(--color-deep-charcoal);
  overflow-x: hidden;
}

/* Material Symbols Config */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

.material-symbols-outlined.fill,
.filled-icon {
  font-variation-settings: 'FILL' 1, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

/* Diretriz Responsive Fullscreen Layout (100vw x 100dvh) */
main, .page {
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100dvh;
  margin: 0 !important;
  box-sizing: border-box;
  overflow: hidden;
}

/* Animações de Scroll (Reveal) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.reveal-delay-100 { transition-delay: 100ms; }
.reveal-delay-200 { transition-delay: 200ms; }
.reveal-delay-300 { transition-delay: 300ms; }
.reveal-delay-400 { transition-delay: 400ms; }

/* Botão Flutuante do WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #25D366;
  color: #FFFFFF;
  padding: 12px 18px;
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  background-color: #20BA56;
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background-color: #25D366;
  opacity: 0.6;
  animation: pulse-border 2s infinite;
  z-index: -1;
}

@keyframes pulse-border {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.25);
    opacity: 0;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(8px);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.open {
  display: flex;
  opacity: 1;
}

.lightbox-modal img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  animation: zoom-in 0.3s ease-out;
}

@keyframes zoom-in {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Inputs elegantes */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #d5c3bd;
  border-radius: 0;
  background-color: transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none !important;
  border-bottom-color: #785346 !important;
  box-shadow: 0 1px 0 0 #785346 !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fbf9f8;
}
::-webkit-scrollbar-thumb {
  background: #C4A499;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #785346;
}
