/* ── Variáveis ─────────────────────────────────────────── */
:root {
  --brown:        #7B6B52;
  --brown-dark:   #5a4e3b;
  --brown-light:  #a89070;
  --orange:       #C9631A;
  --orange-dark:  #a5501500;
  --orange-light: #f0a060;
  --cream:        #FAF7F4;
  --cream-dark:   #F0EBE3;
  --white:        #ffffff;
  --text-dark:    #2E2416;
  --text-mid:     #5a4a38;
  --text-light:   #8a7a6a;
  --border:       #e5ddd3;
  --shadow:       0 4px 24px rgba(90,60,20,.10);
  --shadow-lg:    0 12px 40px rgba(90,60,20,.16);
  --radius:       14px;
  --radius-sm:    8px;
  --radius-lg:    20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}

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

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--text-dark);
}

/* ── Container ─────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Topbar ────────────────────────────────────────────── */
.topbar {
  background: var(--brown-dark);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  padding: 7px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar-group {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-item svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ── Header ────────────────────────────────────────────── */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(90,60,20,.08);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.header-logo img {
  height: 62px;
  width: auto;
  object-fit: contain;
}

/* Nav */
.nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  background: var(--cream-dark);
  color: var(--orange);
}
.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--brown) !important; color: var(--white) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: .3s;
}

/* ── Hero / Banner ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 50%, #a07040 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: .35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(58,40,20,.75) 0%, rgba(90,60,20,.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.9);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero-subtitle {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 560px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  transition: all .2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(201,99,26,.4);
}
.btn-primary:hover {
  background: #b05518;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201,99,26,.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.9);
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Seção genérica ────────────────────────────────────── */
section { padding: 72px 0; }
.section-tag {
  display: inline-block;
  color: var(--orange);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--text-dark);
  margin-bottom: 14px;
}
.section-sub {
  color: var(--text-light);
  max-width: 560px;
  font-size: 1.02rem;
}
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ── Sobre / About ─────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img-wrap { position: relative; }
.about-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-img-placeholder {
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, var(--cream-dark), var(--cream));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--orange);
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 24px rgba(201,99,26,.35);
}
.about-badge strong { display: block; font-size: 2rem; font-family: 'Playfair Display', serif; }
.about-badge span { font-size: .78rem; }
.about-text p { margin-bottom: 14px; color: var(--text-mid); }
.about-features { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--cream);
  border-radius: var(--radius-sm);
}
.about-feature-icon {
  width: 36px;
  height: 36px;
  background: var(--orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-feature-icon svg { color: #fff; width: 18px; height: 18px; }
.about-feature-text strong { display: block; font-size: .9rem; color: var(--text-dark); margin-bottom: 2px; }
.about-feature-text span  { font-size: .82rem; color: var(--text-light); }

/* ── Áreas / Cards ─────────────────────────────────────── */
.areas-bg { background: var(--cream); }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}
.area-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.area-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.area-card-top {
  padding: 36px 32px 28px;
}
.area-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.area-card-icon svg { width: 30px; height: 30px; }
.area-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.area-card p  { color: var(--text-light); font-size: .95rem; margin-bottom: 20px; }
.area-services { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.area-services li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--text-mid);
}
.area-services li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.area-card-footer {
  padding: 18px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--orange);
  transition: gap .2s;
}
.btn-link:hover { gap: 10px; }

/* ── Especialidades ────────────────────────────────────── */
.esp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.esp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.esp-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow);
}
.esp-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.esp-card h4 { font-size: 1.05rem; color: var(--text-dark); flex: 1; }
.esp-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, transform .2s;
}
.esp-card.open .esp-toggle { background: var(--orange); transform: rotate(45deg); }
.esp-card.open .esp-toggle svg { color: #fff; }
.esp-toggle svg { width: 14px; height: 14px; color: var(--text-mid); }
.esp-desc {
  font-size: .88rem;
  color: var(--text-mid);
  display: none;
  white-space: pre-line;
  line-height: 1.75;
}
.esp-card.open .esp-desc { display: block; }
.esp-excerpt { font-size: .88rem; color: var(--text-light); line-height: 1.6; }

/* ── Destaques / Neuromodulação ────────────────────────── */
.highlight-section {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 100%);
  color: #fff;
}
.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.highlight-section h2 { color: #fff; }
.highlight-section .section-tag { color: var(--orange-light); }
.highlight-section p { color: rgba(255,255,255,.8); margin-bottom: 14px; }
.highlight-items { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.12);
}
.highlight-item-icon {
  width: 40px;
  height: 40px;
  background: var(--orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.highlight-item-icon svg { width: 20px; height: 20px; color: #fff; }
.highlight-item strong { display: block; color: #fff; font-size: .95rem; margin-bottom: 4px; }
.highlight-item span { color: rgba(255,255,255,.7); font-size: .85rem; }

/* ── CTA ───────────────────────────────────────────────── */
.cta-section {
  background: var(--cream);
  text-align: center;
  padding: 72px 0;
}
.cta-section h2 { margin-bottom: 14px; }
.cta-section p  { color: var(--text-light); max-width: 500px; margin: 0 auto 32px; }

/* ── Contato ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--cream);
  border-radius: var(--radius);
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--orange);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; color: #fff; }
.contact-item-text strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); margin-bottom: 4px; }
.contact-item-text span, .contact-item-text a { color: var(--text-dark); font-size: .95rem; }
.contact-item-text a:hover { color: var(--orange); }
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ── Footer ────────────────────────────────────────────── */
.footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,.75);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 24px;
}
.footer-logo img  { height: 52px; mix-blend-mode: multiply; opacity: .92; }
.footer-logo p    { margin-top: 12px; font-size: .88rem; line-height: 1.6; }
.footer-col h4    { color: #fff; font-size: .92rem; font-family: 'Lato', sans-serif; font-weight: 700; margin-bottom: 14px; }
.footer-col ul    { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: .88rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--orange-light); }
.footer-col .contact-small { font-size: .88rem; line-height: 1.7; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}

/* ── Page interior ─────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--brown-dark), var(--brown));
  padding: 56px 0;
  color: #fff;
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.page-hero p  { color: rgba(255,255,255,.75); margin-top: 10px; }
.breadcrumb   { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 8px; }
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: #fff; }
.page-content {
  padding: 60px 0;
  max-width: 820px;
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.85;
}
.page-content h2 { margin-top: 36px; margin-bottom: 14px; font-size: 1.5rem; }
.page-content h3 { margin-top: 28px; margin-bottom: 10px; font-size: 1.15rem; color: var(--orange); }
.page-content p  { margin-bottom: 14px; }
.page-content ul { padding-left: 20px; margin-bottom: 14px; }
.page-content ul li { margin-bottom: 6px; }

/* ── Área page ─────────────────────────────────────────── */
.area-hero-fono { background: linear-gradient(135deg, #5a3a1a, var(--orange)); }
.area-hero-psico { background: linear-gradient(135deg, #2a3a5a, #3a5a8a); }

/* ── Utilitários ───────────────────────────────────────── */
.bg-cream  { background: var(--cream); }
.text-orange { color: var(--orange); }
.mt-4  { margin-top: 16px; }
.mb-4  { margin-bottom: 16px; }
.gap-2 { gap: 8px; }

/* ── Responsivo ────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid, .areas-grid, .highlight-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-badge { bottom: 10px; right: 10px; }
  .about-img, .about-img-placeholder { height: 300px; }
}

@media (max-width: 680px) {
  section { padding: 48px 0; }
  .header .container { flex-wrap: wrap; }
  .nav { display: none; flex-direction: column; width: 100%; padding: 12px 0; gap: 4px; }
  .nav.open { display: flex; }
  .nav-link { width: 100%; border-radius: var(--radius-sm); }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 420px; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
