/* style.css - Dra. Maria Beatriz Galvão */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,700&display=swap');

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

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 135px;
}

body {
  background: #faf6ef;
  color: #1a1015;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #faf6ef;
}
::-webkit-scrollbar-thumb {
  background: #c4858a;
  border-radius: 3px;
}

/* Selection */
::selection {
  background: rgba(196,133,138,0.25);
  color: #1a1015;
}

/* --- Top Header bar --- */
#tarja-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: #6b2d3e;
  color: #f0e8e0;
  text-align: center;
  padding: 9px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* --- Navbar --- */
nav {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 48px;
  background: #fcfeff;
  box-shadow: 0 1px 0 rgba(196,133,138,0.10);
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav.scrolled {
  padding: 10px 48px;
  box-shadow: 0 1px 0 rgba(196,133,138,0.18);
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links-desktop a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: #1a1015;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s;
  text-transform: uppercase;
}

.nav-links-desktop a:hover {
  opacity: 1;
}

.nav-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: #c4858a;
  padding: 11px 24px;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  opacity: 1;
}

.nav-links-desktop .nav-cta {
  color: #fff;
  opacity: 1;
}

.nav-links-desktop .nav-cta:hover {
  color: #fff;
  opacity: 1;
  background: #6b2d3e;
  transform: translateY(-1px);
}

.nav-cta:hover {
  background: #6b2d3e;
  transform: translateY(-1px);
}

/* --- Burger & Mobile Menu --- */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-burger span {
  width: 24px;
  height: 1.5px;
  background: #1a1015;
  display: block;
  transition: all 0.3s;
}

.nav-burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-burger.open span:nth-child(2) {
  opacity: 0;
}

.nav-burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #faf6ef;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #1a1015;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.mobile-menu .nav-cta {
  font-size: 14px;
  padding: 14px 36px;
  margin-top: 16px;
}

/* --- Animations --- */
.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in-section.visible {
  opacity: 1;
  transform: none;
}

/* Specialty Strip Track */
@keyframes scrollStrip {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

.strip-track {
  display: flex;
  gap: 0;
  will-change: transform;
  animation: scrollStrip 28s linear infinite;
}

.strip-track:hover {
  animation-play-state: paused;
}

/* Pillars grid effects */
.pillars-grid > div {
  background: #ffffff;
  padding: 56px 40px;
  position: relative;
  overflow: hidden;
  cursor: default;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(107,45,62,0.06);
  border: 1px solid rgba(196,133,138,0.15);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pillars-grid > div:hover {
  background: #ffffff;
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(107,45,62,0.12);
  border-color: #6b2d3e;
}

/* Services grid effects */
.services-grid > div {
  background: #faf6ef;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 16px rgba(107,45,62,0.06);
  transition: box-shadow 0.3s, transform 0.3s, opacity 0.8s ease, transform 0.8s ease;
}

.services-grid > div:hover {
  box-shadow: 0 12px 48px rgba(107,45,62,0.14);
  transform: translateY(-4px);
}

.services-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.services-grid > div:hover img {
  transform: scale(1.04);
}

.services-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b2d3e;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(107,45,62,0.3);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: all 0.2s;
}

.services-cta:hover {
  color: #c4858a;
  border-color: #c4858a;
  gap: 12px;
}

/* FAQ Accordion */
.faq-item-container {
  border-bottom: 1px solid rgba(196,133,138,0.2);
  transition: background 0.2s;
}

.faq-item-container.open {
  background: rgba(196,133,138,0.04);
}

.faq-btn {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}

.faq-icon-span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(196,133,138,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #c4858a;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.3s, background 0.2s;
  background: transparent;
}

.faq-item-container.open .faq-icon-span {
  transform: rotate(45deg);
  background: rgba(196,133,138,0.1);
}

.faq-answer-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item-container.open .faq-answer-container {
  max-height: 300px;
}

/* Reels Container */
.reel-card {
  width: 240px;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  background: linear-gradient(160deg, #f5eae8 0%, #e8d5d8 100%);
  box-shadow: 0 4px 24px rgba(107,45,62,0.12);
  transition: box-shadow 0.3s, opacity 0.8s ease, transform 0.8s ease;
}

.reel-card:hover {
  box-shadow: 0 16px 48px rgba(107,45,62,0.22);
}

/* Lightbox */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(26,16,21,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  animation: fadeIn 0.25s ease;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-content {
  width: 320px;
  max-height: 90vh;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #1a1015;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* FAB WhatsApp Pulse */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(196,133,138,0.6); }
  70% { box-shadow: 0 0 0 16px rgba(196,133,138,0); }
  100% { box-shadow: 0 0 0 0 rgba(196,133,138,0); }
}

.fab-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 998;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #c4858a;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 8px 32px rgba(196,133,138,0.45);
  animation: pulse 2.5s ease-out infinite;
}

.fab-btn:hover {
  animation: none;
  transform: scale(1.08) translateY(-2px);
}

.fab-tooltip {
  position: absolute;
  right: 72px;
  bottom: 50%;
  transform: translateY(50%);
  background: #1a1015;
  color: #f0e8e0;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  letter-spacing: 0.04em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.fab-btn:hover .fab-tooltip {
  opacity: 1;
}

/* --- Responsive Layout Breakpoints --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
  }
  .hero-grid > div:last-child {
    display: none;
  }
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .about-grid > div:first-child {
    max-width: 400px;
  }
  .pillars-grid {
    grid-template-columns: 1fr !important;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .testimonials-grid {
    grid-template-columns: 1fr !important;
  }
  .reviews-grid {
    grid-template-columns: 1fr !important;
  }
  .reels-row {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .footer-grid > div:nth-child(2) {
    display: none !important;
  }
  .google-divider {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .nav-links-desktop {
    display: none !important;
  }
  .nav-burger {
    display: flex !important;
  }
  section, footer {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  nav {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .services-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --- Privacy Policy Modal --- */
.privacy-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(26, 16, 21, 0.7);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.privacy-modal-card {
  background: #fcfeff;
  width: 90%;
  max-width: 720px;
  max-height: 85vh;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 24px 64px rgba(26, 16, 21, 0.25);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.privacy-modal-overlay.open .privacy-modal-card {
  transform: translateY(0);
}

.privacy-modal-header {
  padding: 24px 40px 16px;
  border-bottom: 1px solid rgba(196,133,138,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.privacy-modal-logo-container {
  background: #fcfeff;
  padding: 4px 8px;
  border-radius: 4px;
}

.privacy-modal-logo {
  height: 40px;
  object-fit: contain;
  display: block;
}

.privacy-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: rgba(26, 16, 21, 0.4);
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
  padding: 4px;
}

.privacy-modal-close:hover {
  color: #6b2d3e;
}

.privacy-modal-body {
  padding: 32px 40px 40px;
  overflow-y: auto;
  font-family: 'DM Sans', sans-serif;
  color: #2c1d25;
  line-height: 1.7;
  font-size: 14px;
}

.privacy-modal-body::-webkit-scrollbar {
  width: 6px;
}
.privacy-modal-body::-webkit-scrollbar-track {
  background: #fcf9f6;
}
.privacy-modal-body::-webkit-scrollbar-thumb {
  background: rgba(196, 133, 138, 0.4);
  border-radius: 3px;
}
.privacy-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(196, 133, 138, 0.7);
}

.privacy-modal-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #6b2d3e;
  margin-top: 0;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.privacy-modal-body .last-update {
  font-size: 11px;
  color: rgba(26, 16, 21, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.privacy-modal-body p {
  margin-bottom: 16px;
}

.privacy-modal-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: #6b2d3e;
  margin-top: 24px;
  margin-bottom: 12px;
  font-weight: 600;
}

.privacy-modal-body ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.privacy-modal-body li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .privacy-modal-header {
    padding: 20px 24px 12px;
  }
  .privacy-modal-body {
    padding: 24px 24px 32px;
  }
}

/* --- Location Grid --- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

@media (max-width: 991px) {
  .location-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.badge-hover-effect:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 48px rgba(107,45,62,0.22) !important;
}



