/* Medicinae Cuidados Integrativos — Identidade visual
   Paleta: verde-sálvia, rosa-antigo, tons terrosos. Fundo claro.
   Tom acolhedor com profundidade — não clínico, não corporativo. */

:root {
  /* Cores principais */
  --bg:          #FAFAF7;          /* creme claro */
  --bg-alt:      #F2EDE6;          /* bege terroso */
  --bg-sage:     #EAF0E8;          /* verde-sálvia clarinho */
  --fg:          #2C2820;          /* marrom profundo */
  --fg-muted:    #6B6057;          /* terroso médio */
  --fg-light:    #9A9089;
  --sage:        #6B8F71;          /* verde-sálvia */
  --sage-dark:   #4A6B50;
  --sage-light:  #EAF0E8;
  --rose:        #B5736A;          /* rosa-antigo */
  --rose-light:  #F5EAE8;
  --earth:       #8B6E4E;          /* terroso âmbar */
  --border:      #DDD5C8;
  --border-soft: #EDE5DA;

  /* Tipografia */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Lato', system-ui, sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ─── Utilitários ─── */
.section-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--sage);
  flex-shrink: 0;
}

/* ─── Cabeçalho ─── */
.site-header {
  padding: 24px 32px;
  background: var(--bg);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
}

.header-brand-text {
  display: flex;
  flex-direction: column;
}

.header-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fg);
  line-height: 1.2;
}

.header-sub {
  font-size: 0.7rem;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage);
  color: #fff;
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.2s;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--sage-dark);
}

/* ─── Hero ─── */
.hero {
  padding: 80px 0 72px;
  background: var(--bg);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--bg-sage) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 320px;
  align-items: center;
  gap: 64px;
}

.hero-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--sage);
  flex-shrink: 0;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: italic;
  color: var(--sage-dark);
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--fg-muted);
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sage);
  color: #fff;
  padding: 14px 28px;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--sage-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.btn-secondary:hover {
  color: var(--fg);
}

/* Ícone WhatsApp inline */
.icon-whatsapp {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-wrap {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.hero-logo-wrap img {
  width: 220px;
  height: 220px;
  object-fit: contain;
}

/* Ornamento de arco ao redor do círculo */
.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed var(--border);
}

/* ─── Seção Sobre ─── */
.sobre {
  padding: 96px 0;
  background: var(--bg);
}

.sobre-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.sobre-content {}

.sobre-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 28px;
}

.sobre-headline em {
  font-style: italic;
  color: var(--sage-dark);
}

.sobre-text {
  color: var(--fg-muted);
  line-height: 1.8;
  font-size: 0.97rem;
  margin-bottom: 16px;
}

.sobre-text:last-of-type {
  margin-bottom: 36px;
}

.sobre-credentials {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.credential {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.4;
}

.credential-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  margin-top: 5px;
  flex-shrink: 0;
}

.sobre-aside {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sobre-card {
  background: var(--bg-alt);
  border-radius: 4px;
  padding: 32px;
  border-left: 3px solid var(--rose);
}

.sobre-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 10px;
}

.sobre-card-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--fg);
  line-height: 1.5;
}

.sobre-card-author {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.sobre-crp {
  background: var(--bg-sage);
  border-radius: 4px;
  padding: 24px;
  border: 1px solid var(--border);
}

.sobre-crp-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 6px;
}

.sobre-crp-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.04em;
}

/* ─── Seção Áreas ─── */
.areas {
  padding: 96px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.areas-header {
  margin-bottom: 56px;
}

.areas-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  max-width: 480px;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.area-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--sage);
  opacity: 0;
  transition: opacity 0.2s;
}

.area-card:hover {
  border-color: var(--sage);
  transform: translateY(-2px);
}

.area-card:hover::before {
  opacity: 1;
}

.area-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.4rem;
}

.area-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 14px;
  line-height: 1.2;
}

.area-body {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--fg-muted);
}

/* ─── Seção Contato ─── */
.contato {
  padding: 96px 0;
  background: var(--fg);
}

.contato-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contato .section-label {
  color: var(--sage);
}

.contato .section-label::before {
  background: var(--sage);
}

.contato-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #F5F0EB;
  margin-bottom: 20px;
}

.contato-headline em {
  font-style: italic;
  color: var(--sage);
}

.contato-sub {
  font-size: 0.97rem;
  line-height: 1.75;
  color: #A8A098;
  margin-bottom: 40px;
}

.contato-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: #fff;
  padding: 16px 28px;
  border-radius: 40px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
  max-width: 300px;
}

.btn-whatsapp:hover {
  background: #1fb855;
  transform: translateY(-1px);
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: #D4CBBF;
  padding: 14px 28px;
  border-radius: 40px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255,255,255,0.15);
  transition: border-color 0.2s, color 0.2s;
  max-width: 300px;
}

.btn-instagram:hover {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

.contato-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contato-quote {
  border-left: 3px solid var(--rose);
  padding: 24px 28px;
  background: rgba(255,255,255,0.04);
  border-radius: 0 4px 4px 0;
}

.contato-quote-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: #F5F0EB;
  line-height: 1.6;
  margin-bottom: 12px;
}

.contato-quote-attr {
  font-size: 0.78rem;
  color: #A8A098;
  letter-spacing: 0.04em;
  font-weight: 600;
  text-transform: uppercase;
}

.contato-logo-wrap {
  display: flex;
  justify-content: center;
}

.contato-logo-wrap img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  opacity: 0.7;
  filter: brightness(1.2);
}

/* ─── Footer ─── */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 36px 0;
}

.footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  opacity: 0.7;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--fg);
  line-height: 1.25;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.footer-crp {
  font-size: 0.72rem;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--fg-light);
}

/* ─── Responsivo ─── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-logo-wrap {
    width: 200px;
    height: 200px;
  }

  .hero-logo-wrap img {
    width: 160px;
    height: 160px;
  }

  .sobre-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .areas-grid {
    grid-template-columns: 1fr;
  }

  .contato-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contato-aside {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 18px 20px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 60px 0 56px;
  }

  .hero-inner,
  .section-inner,
  .sobre-inner,
  .contato-inner,
  .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .sobre,
  .areas,
  .contato {
    padding: 64px 0;
  }

  .area-card {
    padding: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 380px) {
  .hero-logo-wrap {
    width: 160px;
    height: 160px;
  }

  .hero-logo-wrap img {
    width: 130px;
    height: 130px;
  }
}
