/* ── Karen do Vale | Medicina Chinesa ── */

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

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: #F9F7F3;
  color: #5d705D;
  font-family: 'Lato', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── VARIABLES ── */
:root {
  --brand-bg:          #F9F7F3;
  --brand-green:       #5d705D;
  --brand-greenlight:  #588157;
  --brand-earth:       #A67C00;
  --brand-text:        #5d705D;
  --brand-light:       #DAD7CD;
  --brand-white:       #ffffff;
  --radius-xl:         1rem;
  --radius-2xl:        1.25rem;
  --shadow-sm:         0 1px 3px rgba(0,0,0,.08);
  --shadow-md:         0 4px 12px rgba(0,0,0,.10);
  --shadow-lg:         0 10px 30px rgba(0,0,0,.14);
  --transition:        0.3s ease;
}

/* ── TYPOGRAPHY ── */
.font-serif { font-family: 'Playfair Display', serif; }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-bold   { font-weight: 700; }

/* ── HERO PHOTO ── */
.hero-photo-placeholder {
  background: linear-gradient(135deg, #c8d8c8 0%, #a8c0a8 50%, #88a888 100%);
  position: relative;
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  min-height: 380px;
}
.hero-photo-placeholder::after {
  content: "📷  Adicione aqui uma foto profissional da Karen na clínica";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  font-size: .875rem;
  color: rgba(255,255,255,.85);
  font-family: 'Lato', sans-serif;
  font-style: italic;
}

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  width: 100%;
  z-index: 50;
  transition: all var(--transition);
  background: rgba(249,247,243,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(218,215,205,.5);
}
#navbar.scrolled {
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow-md);
}
.nav-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
}
.nav-links { display: none; gap: 2rem; }
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--brand-text);
  text-decoration: none;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--brand-earth); }
@media (min-width: 768px) { .nav-links { display: flex; } }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: .75rem 2rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: .9rem;
  text-decoration: none;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--brand-green);
  color: white;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { box-shadow: 0 10px 20px rgba(93,112,93,.35); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--brand-green);
  color: var(--brand-green);
}
.btn-outline:hover { background: var(--brand-green); color: white; }
.btn-white {
  background: white;
  color: var(--brand-green);
}
.btn-white:hover { background: var(--brand-bg); }
.btn-block { display: block; width: 100%; }

/* ── BADGE ── */
.badge {
  display: inline-block;
  background: var(--brand-earth);
  color: white;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 9999px;
  margin-bottom: .5rem;
}

/* ── SECTIONS ── */
.section { padding: 5rem 1.5rem; }
.section-bg   { background: var(--brand-bg); }
.section-white { background: var(--brand-white); }
.section-green { background: var(--brand-green); color: white; }
.container { max-width: 1152px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label {
  color: var(--brand-earth);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  display: block;
  margin-bottom: .5rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: var(--brand-green);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-green .section-title { color: white; }

/* ── HERO ── */
.hero {
  min-height: 92svh;
  background: var(--brand-bg);
  display: flex;
  align-items: center;
  padding-top: 5rem;
}
@media (min-width: 1024px) {
  .hero { min-height: 75svh; }
}
.hero-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .hero-inner { flex-direction: row; gap: 4rem; }
  .hero-text, .hero-img { width: 50%; }
}
.hero-eyebrow {
  color: var(--brand-earth);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .75rem;
  margin-bottom: 1rem;
  display: block;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 6vw, 2.75rem);
  color: var(--brand-green);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero-title em { color: var(--brand-earth); font-style: italic; }
.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: .75rem;
  max-width: 30rem;
}
.hero-meta {
  font-size: .85rem;
  font-weight: 300;
  color: rgba(93,112,93,.65);
  margin-bottom: 2rem;
  max-width: 30rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 2rem; }
@media (min-width: 1024px) { .hero-actions { justify-content: flex-start; } }
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: .75rem;
  justify-content: center;
}
@media (min-width: 1024px) { .hero-social-proof { justify-content: flex-start; } }
.avatar-stack { display: flex; }
.avatar-stack span {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  border: 2px solid white;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  margin-left: -.5rem;
}
.avatar-stack span:first-child { margin-left: 0; background: var(--brand-light); }
.avatar-stack span:nth-child(2) { background: rgba(88,129,87,.2); }
.avatar-stack span:nth-child(3) { background: rgba(166,124,0,.2); }
.social-proof-text { font-size: .85rem; font-weight: 300; color: rgba(93,112,93,.65); }

/* Hero image badges */
.hero-img { position: relative; text-align: center; }
.hero-img img {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/5;
}
@media (max-width: 940px) {
  .hero-img img,
  .sobre-img img {
    aspect-ratio: 1/1;
    max-height: min(56vw, 320px);
  }
  .hero-img,
  .sobre-img {
    width: 100%;
  }
  .hero-inner {
    padding: 2rem 1rem;
    gap: 2rem;
  }
  .hero {
    min-height: calc(100svh - 4.5rem);
    padding-top: 5.5rem;
  }
  .section {
    padding: 3rem 1rem;
  }
  .section-header {
    margin-bottom: 1.75rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-social-proof {
    justify-content: center;
  }
  .sobre-text .btn {
    display: block;
    margin: 1.5rem auto 0;
    max-width: 18rem;
  }
}
.hero-badge {
  position: absolute;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: .6rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.hero-badge-bottom { bottom: -1rem; left: -1rem; }
.hero-badge-top    { top: -1rem; right: -1rem; color: var(--brand-green); background: white; }
.hero-badge p { margin: 0; }
.hero-badge .badge-title { font-weight: 700; font-size: .75rem; }
.hero-badge .badge-sub   { font-size: .7rem; opacity: .75; font-weight: 300; }
.hero-badge-top .badge-title { color: var(--brand-green); }
.hero-badge-bottom .badge-title { color: var(--brand-green); }

/* ── SOBRE ── */
.sobre-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}
@media (min-width: 768px) { .sobre-inner { flex-direction: row; gap: 3.5rem; } }
.sobre-img { width: 100%; }
@media (min-width: 768px) { .sobre-img { width: 40%; } }
.sobre-img img {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
}
.sobre-text { width: 100%; }
@media (min-width: 768px) { .sobre-text { width: 60%; } }
.sobre-text p { font-weight: 300; line-height: 1.75; margin-bottom: 1rem; }
.scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 10px;
  padding: 10px 0;
  scrollbar-width: none;
  margin-bottom: 1.5rem;
}
.scroll-container::-webkit-scrollbar { display: none; }
.scroll-container img {
  height: 180px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: cover;
  width: 140px;
}

/* ── SERVICOS ── */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: white;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(218,215,205,.5);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); }
.card-featured {
  background: var(--brand-green);
  color: white;
}
@media (min-width: 1024px) { .card-featured { transform: translateY(-1rem); } }
.card-body { padding: 1.75rem; flex: 1; }
.card-icon {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  background: rgba(88,129,87,.1);
}
.card-featured .card-icon { background: rgba(255,255,255,.2); }
.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: .25rem;
  color: var(--brand-green);
}
.card-featured .card-title { color: white; }
.card-subtitle {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brand-earth);
  margin-bottom: 1rem;
}
.card-featured .card-subtitle { color: rgba(218,215,205,.8); }
.card-text { font-weight: 300; line-height: 1.7; font-size: .9rem; }
.card-featured .card-text { color: rgba(255,255,255,.8); }
.card-text strong { color: var(--brand-green); }
.card-featured .card-text strong { color: white; }
.card-footer { padding: 0 1.75rem 1.75rem; }

/* Preço visível */
.price-tag {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-earth);
  margin-bottom: .5rem;
  display: block;
}
.price-note { font-size: .8rem; font-weight: 300; color: rgba(93,112,93,.6); }
.section-price-note {
  color: var(--brand-text);
  max-width: 36rem;
  margin: 0 auto;
  font-weight: 300;
}
.section-price-note strong { color: var(--brand-green); }

/* ── EXPERIENCIA ── */
.experience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px)  { .experience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .experience-grid { grid-template-columns: repeat(4, 1fr); } }
.exp-card {
  background: var(--brand-bg);
  border: 1px solid rgba(218,215,205,.3);
  border-radius: var(--radius-2xl);
  padding: 1.75rem;
  text-align: center;
  transition: box-shadow var(--transition);
}
.exp-card:hover { box-shadow: var(--shadow-md); }
.exp-icon { font-size: 3rem; margin-bottom: 1rem; }
.exp-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--brand-green);
  margin-bottom: .5rem;
}
.exp-text { font-size: .875rem; font-weight: 300; line-height: 1.65; }

/* ── DEPOIMENTOS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: left;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 940px) {
  .cards-grid,
  .testimonials-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
    padding: 0 1rem 1rem;
    scroll-snap-type: none;
    scrollbar-width: none;
    width: calc(100vw - 2rem);
    margin-left: calc(-1rem);
    box-sizing: content-box;
  }
  .cards-grid::-webkit-scrollbar,
  .testimonials-grid::-webkit-scrollbar {
    display: none;
  }
  .cards-grid .card,
  .testimonials-grid .testimonial {
    width: min(60vw, 320px);
    flex: 0 0 auto;
    scroll-snap-align: start;
    transition-delay: 0s !important;
  }
}
.testimonial {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-2xl);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
}
.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--brand-earth);
  opacity: .6;
  line-height: 1;
  margin-bottom: .75rem;
}
.testimonial-text { font-weight: 300; line-height: 1.7; margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: .5rem; }
.testimonial-avatar {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem;
}
.testimonial-name { font-weight: 500; font-size: .875rem; }
.dev-note { text-align: center; color: rgba(255,255,255,.35); font-size: .75rem; font-style: italic; margin-top: 2rem; }

/* ── FAQ ── */
.accordion { display: flex; flex-direction: column; gap: 1rem; }
.accordion-item {
  background: white;
  border: 1px solid rgba(218,215,205,.5);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.accordion-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}
.accordion-btn:hover { background: rgba(249,247,243,.6); }
.accordion-question {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--brand-green);
}
.accordion-icon {
  font-size: 1.5rem;
  color: var(--brand-green);
  transition: transform var(--transition);
  line-height: 1;
}
.accordion-icon.open { transform: rotate(45deg); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, opacity .4s ease, padding .4s ease;
  opacity: 0;
  padding: 0 1.5rem;
  font-weight: 300;
  line-height: 1.75;
  font-size: .9rem;
}
.accordion-content.open {
  max-height: 300px;
  opacity: 1;
  padding: 1rem 1.5rem 1.5rem;
}

/* ── CONTATO ── */
.contato-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: stretch;
}
@media (min-width: 1024px) { .contato-inner { flex-direction: row; } }
.contato-info, .contato-map { width: 100%; }
@media (min-width: 1024px) { .contato-info, .contato-map { width: 50%; } }
.contato-card {
  background: var(--brand-bg);
  border: 1px solid rgba(218,215,205,.5);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contato-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--brand-green);
  margin-bottom: 1.5rem;
}
.contato-row { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.contato-row-icon { font-size: 1.5rem; flex-shrink: 0; }
.contato-label { font-weight: 500; font-size: .9rem; }
.contato-value { font-weight: 300; font-size: .875rem; margin-top: .1rem; }
.contato-note { font-size: .75rem; color: rgba(93,112,93,.5); font-weight: 300; margin-top: .2rem; }
.map-container {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 320px;
  height: 100%;
}
.map-container iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ── FOOTER ── */
footer {
  background: var(--brand-green);
  color: white;
  padding: 2rem;
  text-align: center;
  font-weight: 300;
  font-size: .875rem;
}
footer p { color: var(--brand-light); }

/* ── WHATSAPP FAB ── */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,.65);
}
.whatsapp-fab svg { width: 1.875rem; height: 1.875rem; fill: white; }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── UTILITY ── */
.text-earth  { color: var(--brand-earth); }
.text-green  { color: var(--brand-green); }
.mt-2 { margin-top: .5rem; }
.mb-2 { margin-bottom: .5rem; }
