/* ============================================
   BEATRIZ PERLOTTI — ODONTOLOGIA — CUSTOM CSS
   ============================================ */

/* ---- Variáveis ---- */
:root {
  --rose:       #C4907A;
  --rose-dark:  #A87460;
  --rose-light: #DEB8A8;
  --rose-pale:  #F5EDE8;
  --rose-bg:    #FDF6F2;
  --gold:       #C9A84C;
  --blush:      #E8C4B4;
  --mocha:      #3D2318;
  --mocha-mid:  #6B3C2A;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Jost', sans-serif; overflow-x: hidden; }

/* ============================================
   NAVBAR
   ============================================ */
.nav-transparent {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(253, 246, 242, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 0 2px 30px rgba(196, 144, 122, 0.15);
}

#navbar.scrolled .nav-link,
#navbar.scrolled .menu-toggle i {
  color: var(--mocha) !important;
}

#navbar.scrolled #menu-toggle i {
  color: var(--mocha);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--rose);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.logo-circle {
  background: var(--rose);
  border-radius: 0;
}

.mobile-menu-bg {
  background: rgba(61, 35, 24, 0.97);
}

/* ============================================
   BOTÕES
   ============================================ */
.btn-rose {
  background: var(--rose);
  color: #fff;
  display: inline-block;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-rose::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.btn-rose:hover::before {
  transform: translateX(0);
}

.btn-rose:hover {
  background: var(--rose-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(196, 144, 122, 0.4);
}

.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
  display: inline-block;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* ============================================
   HERO
   ============================================ */
.hero-section {
  background-image:
    linear-gradient(135deg, rgba(61,35,24,0.90) 0%, rgba(107,60,42,0.80) 50%, rgba(61,35,24,0.85) 100%),
    url('https://images.unsplash.com/photo-1606811841689-23dfddce3e95?w=1920&q=80');
  background-size: cover;
  background-position: center top;
}

.hero-overlay {
  background: linear-gradient(
    120deg,
    rgba(61, 35, 24, 0.92) 0%,
    rgba(61, 35, 24, 0.65) 60%,
    rgba(196, 144, 122, 0.3) 100%
  );
}

/* Tag pill */
.tag-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(196, 144, 122, 0.25);
  border: 1px solid rgba(222, 184, 168, 0.4);
  color: var(--rose-light);
  padding: 6px 16px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Hero photo frame */
.hero-photo-frame {
  width: 420px;
  height: 540px;
  border: 3px solid var(--rose-light);
  border-bottom-width: 6px;
  overflow: hidden;
  position: relative;
}

.hero-photo-frame.no-photo {
  background: linear-gradient(135deg, var(--rose) 0%, var(--mocha) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo-frame.no-photo::after {
  content: 'Adicione\nimages/beatriz.jpg';
  color: rgba(255,255,255,0.4);
  font-size: 0.875rem;
  text-align: center;
  white-space: pre;
}

.hero-photo-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(61,35,24,0.85);
  backdrop-filter: blur(6px);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: #fff;
  font-family: 'Jost', sans-serif;
}

/* ============================================
   MARQUEE STRIP
   ============================================ */
.marquee-strip {
  background: var(--rose);
}

.marquee-track {
  animation: marquee-scroll 20s linear infinite;
  width: max-content;
}

.marquee-item {
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   SOBRE
   ============================================ */
.sobre-img-wrapper {
  position: relative;
  padding: 20px 0 20px 20px;
}

.sobre-accent-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 100%;
  background: var(--rose-pale);
}

.sobre-photo {
  position: relative;
  z-index: 1;
  height: 540px;
  overflow: hidden;
  border: 2px solid var(--rose-light);
}

.sobre-photo img {
  transition: transform 0.6s ease;
}

.sobre-photo:hover img {
  transform: scale(1.04);
}

.sobre-badge {
  position: absolute;
  bottom: -10px;
  right: -20px;
  background: var(--rose);
  color: #fff;
  padding: 20px 24px;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(196,144,122,0.4);
}

/* Credentials */
.credential-card {
  background: var(--rose-pale);
  border: 1px solid rgba(196,144,122,0.2);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.credential-card:hover {
  background: white;
  border-color: var(--rose);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196,144,122,0.15);
}

/* ============================================
   QUOTE SECTION
   ============================================ */
.quote-section {
  background-image:
    linear-gradient(135deg, rgba(61,35,24,0.92) 0%, rgba(107,60,42,0.88) 100%),
    url('https://images.unsplash.com/photo-1588776814546-1ffedbe47425?w=1920&q=80');
  background-size: cover;
  background-position: center;
}

.quote-overlay {
  background: linear-gradient(135deg, rgba(61,35,24,0.85) 0%, rgba(196,144,122,0.30) 100%);
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
  background: white;
  border: 1px solid rgba(196,144,122,0.15);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--rose);
  transition: width 0.35s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(196,144,122,0.15);
  border-color: var(--rose-light);
}

.service-card:hover::after {
  width: 100%;
}

.service-card-featured {
  background: var(--mocha);
  border-color: transparent;
}

.service-card-featured::after {
  background: var(--rose-light);
}

.service-icon {
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose);
  font-size: 1.1rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--rose);
  color: white;
}

.service-icon-featured {
  border-color: var(--rose-light);
  color: var(--rose-light);
}

.service-card-featured:hover .service-icon-featured {
  background: var(--rose-light);
  color: var(--mocha);
}

.badge-destaque {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--rose);
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
}

/* ============================================
   DIFERENCIAIS
   ============================================ */
.diferencial-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.diferencial-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--rose-pale);
  border: 1.5px solid rgba(196,144,122,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.diferencial-item:hover .diferencial-icon {
  background: var(--rose);
  color: white;
  border-color: var(--rose);
}

/* Visual cards */
.visual-card {
  transition: all 0.3s ease;
}

.visual-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.visual-card-rose {
  background: var(--rose);
}

.visual-card-blush {
  background: var(--rose-pale);
  border: 1px solid rgba(196,144,122,0.2);
}

/* ============================================
   DEPOIMENTOS
   ============================================ */
.depo-card {
  background: white;
  border: 1px solid rgba(196,144,122,0.12);
  padding: 28px;
  position: relative;
  transition: all 0.3s ease;
}

.depo-card::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: var(--rose);
  opacity: 0.15;
  position: absolute;
  top: 8px;
  left: 20px;
  line-height: 1;
}

.depo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(196,144,122,0.12);
  border-color: var(--rose-light);
}

.depo-card-featured {
  background: var(--mocha);
  border-color: transparent;
}

.depo-card-featured::before {
  color: var(--rose-light);
  opacity: 0.2;
}

.depo-card-featured:hover {
  box-shadow: 0 16px 40px rgba(61,35,24,0.25);
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-final {
  background-image:
    linear-gradient(135deg, rgba(61,35,24,0.94) 0%, rgba(107,60,42,0.90) 100%),
    url('https://images.unsplash.com/photo-1579165466741-7f35e4755660?w=1920&q=80');
  background-size: cover;
  background-position: center;
}

.cta-overlay {
  background: linear-gradient(135deg, rgba(61,35,24,0.85) 0%, rgba(196,144,122,0.25) 100%);
}

/* ============================================
   CONTATO
   ============================================ */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--rose-pale);
  border: 1.5px solid rgba(196,144,122,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-info-item:hover .contact-icon {
  background: var(--rose);
  color: white;
}

/* Form */
.form-label {
  display: block;
  color: var(--mocha);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  background: white;
  border: 1.5px solid rgba(196,144,122,0.25);
  padding: 12px 16px;
  font-size: 0.875rem;
  color: var(--mocha);
  font-family: 'Jost', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(196,144,122,0.12);
}

.form-input::placeholder {
  color: #c0a898;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-bg {
  background: var(--rose-bg);
}

/* ============================================
   WHATSAPP
   ============================================ */
@keyframes pulse-rose {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
}

.whatsapp-float {
  animation: pulse-rose 2.5s infinite;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--rose-bg); }
::-webkit-scrollbar-thumb { background: var(--rose-light); }
::-webkit-scrollbar-thumb:hover { background: var(--rose); }

::selection {
  background: var(--rose-light);
  color: var(--mocha);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero-section {
    background-attachment: scroll;
  }
  .sobre-photo {
    height: 380px;
  }
  .hero-photo-frame {
    width: 300px;
    height: 400px;
  }
}
