/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:   #505948;
  --beige:   #F4EBE4;
  --terra:   #BB7554;
  --gray:    #909380;
  --dark:    #1a1a18;
  --white:   #ffffff;
  --ff-serif: 'Cormorant Garamond', Georgia, serif;
  --ff-sans:  'Inter', system-ui, sans-serif;
  --transition: 0.35s cubic-bezier(.25,.46,.45,.94);
  --radius: 16px;
  --shadow: 0 8px 40px rgba(80,89,72,0.10);
  --shadow-lg: 0 24px 80px rgba(80,89,72,0.16);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-sans);
  background: var(--beige);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

/* ===== TYPOGRAPHY ===== */
.section-tag {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1rem;
}
.section-tag.light { color: rgba(244,235,228,0.7); }
.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--green);
  margin-bottom: 1.2rem;
}
.section-title.light { color: var(--beige); }
.section-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--solid {
  background: var(--green);
  color: var(--beige);
  border-color: var(--green);
}
.btn--solid:hover {
  background: #3d4438;
  border-color: #3d4438;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(80,89,72,0.25);
}
.btn--outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn--outline:hover {
  background: var(--green);
  color: var(--beige);
}
.btn--ghost {
  background: transparent;
  color: var(--green);
  border-color: rgba(80,89,72,0.3);
}
.btn--ghost:hover {
  border-color: var(--green);
  background: rgba(80,89,72,0.06);
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  background: rgba(244,235,228,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(80,89,72,0.08);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(80,89,72,0.10); }
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 2rem;
}
.nav__logo {
  font-family: var(--ff-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--green);
  margin-right: auto;
  flex-shrink: 0;
}
.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  font-size: 0.88rem;
  color: var(--gray);
  font-weight: 500;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--green); }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(80,89,72,0.1);
}
.nav__mobile a {
  font-size: 1rem;
  color: var(--green);
  padding: 0.5rem 0;
}
.nav__mobile.open { display: flex; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 120px 5% 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1.5rem;
  padding: 6px 14px;
  background: rgba(187,117,84,0.1);
  border-radius: 50px;
}
.hero__headline {
  font-family: var(--ff-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--green);
  margin-bottom: 1.5rem;
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  max-width: 480px;
  line-height: 1.75;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__image { display: flex; flex-direction: column; align-items: center; }
.hero__img-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3/4;
  border-radius: 24px;
  overflow: hidden;
  background: #d5cdc8;
  box-shadow: var(--shadow-lg);
}
.hero__img-wrap--placeholder::after {
  content: "Insira a foto aqui\A profile.jpg";
  white-space: pre;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray);
  background: #e8e0da;
  padding: 1rem;
}
.hero__img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(244,235,228,0.92);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.08em;
}

/* ===== ABOUT ===== */
.about {
  background: var(--white);
  padding: 120px 5%;
}
.about__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about__text p {
  color: var(--gray);
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.8;
}
.about__text .btn { margin-top: 1.5rem; }
.about__visual { display: flex; flex-direction: column; gap: 2rem; }
.about__img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #d5cdc8;
  box-shadow: var(--shadow);
  position: relative;
}
.about__img-wrap--placeholder::after {
  content: "Foto do consultório\A office.jpg";
  white-space: pre;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray);
  background: #e8e0da;
  padding: 1rem;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
}
.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--beige);
  border-radius: var(--radius);
}
.stat__number {
  display: block;
  font-family: var(--ff-serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--green);
  line-height: 1;
}
.stat__label {
  display: block;
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 0.4rem;
  letter-spacing: 0.04em;
}

/* ===== AREAS ===== */
.areas {
  padding: 120px 5%;
  background: var(--beige);
}
.areas__inner { max-width: 1200px; margin: 0 auto; }
.areas__header {
  text-align: center;
  margin-bottom: 4rem;
}
.areas__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.area-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}
.area-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.area-card__icon {
  width: 48px; height: 48px;
  background: rgba(80,89,72,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.area-card__icon svg { width: 24px; height: 24px; color: var(--green); }
.area-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 0.8rem;
}
.area-card p { font-size: 0.92rem; color: var(--gray); line-height: 1.7; }

/* ===== DIFERENCIAIS ===== */
.diff {
  background: var(--green);
  padding: 120px 5%;
}
.diff__inner { max-width: 1200px; margin: 0 auto; }
.diff__header {
  text-align: center;
  margin-bottom: 5rem;
}
.diff__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 3rem;
}
.diff-item { color: var(--beige); }
.diff-item__num {
  font-family: var(--ff-serif);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(244,235,228,0.2);
  line-height: 1;
  margin-bottom: 1rem;
}
.diff-item h3 {
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: var(--beige);
}
.diff-item p { font-size: 0.95rem; color: rgba(244,235,228,0.72); line-height: 1.75; }

/* ===== OFFICE VISUAL ===== */
.office-visual {
  height: 70vh;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}
.office-visual__img-wrap {
  position: relative;
  height: 100%;
  background: #555;
}
.office-visual__img-wrap img {
  position: absolute;
  inset: 0;
}
.office-visual__placeholder { background: #8a8070; }
.office-visual__placeholder::after {
  content: "Imagem do banner aqui\A banner.jpg";
  white-space: pre;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.3);
  padding: 1rem;
}
.office-visual__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,24,0.65) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 4rem 5%;
}
.office-visual__quote {
  font-family: var(--ff-serif);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--beige);
  text-align: center;
  max-width: 700px;
  line-height: 1.4;
}

/* ===== CTA FINAL ===== */
.cta-final {
  background: var(--beige);
  padding: 120px 5%;
  text-align: center;
}
.cta-final__inner { max-width: 640px; margin: 0 auto; }
.cta-final .section-title { margin-bottom: 1rem; }
.cta-final p { color: var(--gray); margin-bottom: 2.5rem; font-size: 1.05rem; }
.cta-final__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.cta-final__contact-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--gray);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--green);
  padding: 2rem 5%;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__logo {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  color: var(--beige);
}
.footer__copy { font-size: 0.78rem; color: rgba(244,235,228,0.5); }

/* ===== WHATSAPP FAB ===== */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,0.5);
}
.whatsapp-fab svg { width: 28px; height: 28px; color: white; }

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal--right { transform: translateX(32px); }
.reveal.visible {
  opacity: 1;
  transform: translate(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
  }
  .hero__content { order: 2; }
  .hero__image { order: 1; }
  .hero__actions { justify-content: center; }
  .hero__sub { margin: 0 auto 2.5rem; }
  .about__inner { grid-template-columns: 1fr; gap: 3rem; }
  .diff__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

@media (max-width: 600px) {
  .areas__grid { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: repeat(3,1fr); gap: 0.6rem; }
  .stat { padding: 1rem 0.5rem; }
  .stat__number { font-size: 1.6rem; }
  .hero__img-wrap { max-width: 280px; aspect-ratio: 3/4; }
  .office-visual { height: 50vh; }
  .footer__inner { flex-direction: column; text-align: center; }
}