/* ==========================================================================
   CSS VARIABLES & THEME
   ========================================================================== */
:root {
  /* Colors - Derived from Logo */
  --color-primary: #00877a; /* Teal/Cyan */
  --color-primary-dark: #006b61;
  --color-primary-light: #e0f2f0;
  
  --color-accent: #c69c6d; /* Gold accent */
  --color-accent-dark: #b38555;
  
  --color-text: #2d3748;
  --color-text-light: #4a5568;
  --color-text-muted: #718096;
  
  --color-bg: #ffffff;
  --color-bg-soft: #f8fafc;
  --color-bg-deep: #1a202c;
  
  --color-border: #e2e8f0;
  --color-success: #38a169;

  /* Typography */
  --font-display: 'Marcellus', serif;
  --font-sans: 'Karla', sans-serif;

  /* Layout */
  --container-width: 1200px;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;

  /* Shadows for premium glassmorphism/soft UI */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-primary: 0 10px 20px -5px rgba(0, 135, 122, 0.3);
  
  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* ==========================================================================
   TYPOGRAPHY UTILITIES
   ========================================================================== */
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-white { color: #ffffff; }
.text-light { color: var(--color-text-light); }
.text-muted { color: var(--color-text-muted); }

.font-display { font-family: var(--font-display); }
.font-sans { font-family: var(--font-sans); }

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 7rem 0;
  }
}

.bg-soft { background-color: var(--color-bg-soft); }
.bg-deep { background-color: var(--color-bg-deep); color: #ffffff; }
.bg-primary { background-color: var(--color-primary); color: #ffffff; }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  box-shadow: 0 15px 25px -5px rgba(0, 135, 122, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  background-color: var(--color-bg-soft);
  border-color: var(--color-text-light);
}

/* Icons */
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.icon-circle svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Cards */
.card {
  background-color: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-img-top {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: block;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-sm);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 65px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav {
  display: none;
}

@media (min-width: 1024px) {
  .site-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }
  .site-nav a {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
    transition: color var(--transition-fast);
  }
  .site-nav a:hover {
    color: var(--color-primary);
  }
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.site-nav.mobile-active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--color-bg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--color-border);
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .btn-header .btn-text {
    display: none;
  }
  .btn-header {
    padding: 0.75rem;
    border-radius: 50%;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem; /* Space for header + extra breathing room */
  padding-bottom: 6rem; /* Extra space to prevent overlapping with pillars */
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(26, 32, 44, 0.7) 0%, rgba(26, 32, 44, 0.4) 50%, rgba(26, 32, 44, 0.8) 100%);
}

.hero-content {
  max-width: 700px;
  color: #ffffff;
}

.hero-content h1 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 4rem;
  }
}

.hero-content p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-white {
  background-color: #ffffff;
  color: var(--color-primary);
}
.btn-white:hover {
  background-color: var(--color-bg-soft);
  color: var(--color-primary-dark);
}

/* Pillars Section (overlap hero) */
.pillars-section {
  position: relative;
  z-index: 10;
  margin-top: -4rem;
}

.pillars-wrapper {
  background-color: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
}

.pillar-item {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}

.pillar-item:hover {
  background-color: var(--color-bg-soft);
}

/* About Section */
.about-img-wrapper {
  position: relative;
}

.about-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  left: 1.5rem;
  background-color: var(--color-bg);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.about-badge-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-primary);
  line-height: 1;
}

.about-list {
  margin-top: 2rem;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.about-list svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

/* Therapies Section */
.therapies-card {
  background-color: var(--color-bg-deep);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: #ffffff;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.875rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: auto;
  height: auto;
  padding: 12px 20px 12px 16px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition-normal);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  background-color: #20b858;
  animation: none;
}

.whatsapp-text {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 10px 16px 10px 12px;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
  .whatsapp-text {
    font-size: 0.9rem;
  }
}

/* Footer & Contact */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-info {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-item svg {
  color: var(--color-primary);
  width: 1.25rem;
  height: 1.25rem;
}

/* New Footer Styles */
.site-footer {
  background-color: #0b3b36; /* Dark teal matched from image */
  color: #e0e0e0;
  padding: 4rem 0 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 2fr 1fr;
    gap: 4rem;
  }
}

.footer-brand .logo {
  color: #ffffff;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: #a0b2b0;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.footer-btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-btn-instagram:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.footer-contacts .contact-item {
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.footer-contacts .contact-item svg {
  color: #a0b2b0;
  margin-top: 0.2rem;
  width: 1.2rem;
  height: 1.2rem;
}

.footer-contacts .contact-item span,
.footer-contacts .contact-item a {
  color: #e0e0e0;
  font-size: 0.95rem;
}

.footer-links-col h4 {
  color: #a0b2b0;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links-list a {
  color: #e0e0e0;
  font-size: 0.95rem;
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: #8a9c9a;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* ==========================================================================
   ANIMATIONS (SCROLL REVEAL)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Delays for staggered animations */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* ==========================================================================
   BIO PAGE (LINK IN BIO) STYLES
   ========================================================================== */
.bio-body {
  background-color: var(--color-bg-soft);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 2rem 1rem;
}

.bio-container {
  width: 100%;
  max-width: 480px;
  background-color: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 3rem 2rem;
  text-align: center;
}

.bio-profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-primary-light);
  margin: 0 auto 1rem auto;
  display: block;
}

.bio-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.25rem;
}

.bio-subtitle {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.bio-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bio-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem;
  background-color: var(--color-bg-soft);
  color: var(--color-primary-dark);
  border: 2px solid var(--color-primary-light);
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.bio-btn:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
}

.bio-btn.highlight {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.bio-btn.highlight:hover {
  background-color: var(--color-primary-dark);
}

.bio-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.bio-footer img {
  height: 30px;
  opacity: 0.7;
}

.bio-footer p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   ELFSIGHT WIDGET WATERMARK REMOVAL
   ========================================================================== */
/* Esconde o selo/marca d'água da Elfsight */
.elfsight-widget-container {
    position: relative;
    overflow: hidden;
}

a[href*="elfsight.com"],
a[href*="elfsight"],
a[title*="Free Google"],
a[title*="Elfsight"],
[class*="elfsight-app"] a,
[class*="eapps-link"],
[class*="WidgetTitle__Container"] a,
[class*="Badge__Container"],
[class*="BadgeContainer"],
[class*="Badge"],
[class*="eapps-widget-toolbar"],
div[class*="elfsight-app"] a {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
}

/* Reorder no mobile */
.mobile-reorder { display: flex; flex-direction: column; }
@media (max-width: 768px) { .mobile-reorder #sobre { order: -1; } }
/* Resultados Reais Marquee */
.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 1rem 0;
  display: flex;
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: scroll-left 50s linear infinite;
  gap: 1.5rem;
  padding-left: 1.5rem;
}

.marquee-wrapper:hover .marquee-content {
  animation-play-state: paused;
}

.marquee-item {
  flex-shrink: 0;
  width: 300px;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  filter: contrast(1.1) saturate(1.15) brightness(1.05);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.marquee-item:hover {
  transform: scale(1.02);
  filter: contrast(1.1) saturate(1.15) brightness(1.1);
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-3000px - 15rem)); }
}

@media (max-width: 768px) {
  .marquee-item {
    width: 260px;
    height: 260px;
  }
  @keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-2600px - 15rem)); }
  }
}
/* Hero Slider */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  /* Melhorando qualidade e nitidez das fotos do hero */
  filter: contrast(1.05) saturate(1.1) brightness(1.05);
}

.hero-slide.active {
  opacity: 1;
}
