﻿:root {
  --ink: #172322;
  --muted: #5d6b69;
  --line: #d8e0dc;
  --paper: #eef0e7;
  --white: #ffffff;
  --teal: #58652c;
  --teal-dark: #263315;
  --sage: #dfe5cf;
  --clay: #c49a3b;
  --shadow: 0 22px 60px rgba(14, 36, 34, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: #fbfaf4;
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 58px);
  color: var(--white);
  background: rgba(7, 34, 33, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 300px;
}

.brand-logo {
  display: block;
  width: clamp(250px, 27vw, 380px);
  height: 62px;
  object-fit: contain;
  object-position: left center;
  border-radius: 8px;
  background: var(--white);
  padding: 5px 12px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.5vw, 30px);
  font-weight: 600;
  font-size: 0.94rem;
}

.nav a { color: rgba(255, 255, 255, 0.86); }
.nav a:hover { color: var(--white); }

.header-cta {
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--white);
  color: var(--teal-dark);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 110px clamp(20px, 7vw, 96px) 56px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/consulta-psiquiatria.png");
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(6, 31, 30, 0.92) 0%, rgba(6, 31, 30, 0.78) 36%, rgba(6, 31, 30, 0.24) 72%, rgba(6, 31, 30, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 18px;
  max-width: 760px;
  font-size: clamp(2.55rem, 5.8vw, 5.3rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary { background: var(--clay); color: var(--white); }
.button.secondary { border: 1px solid rgba(255, 255, 255, 0.42); color: var(--white); }

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-bar div {
  padding: 20px clamp(20px, 4vw, 58px);
  background: var(--white);
}

.trust-bar strong, .trust-bar span { display: block; }
.trust-bar strong { font-size: 1rem; }
.trust-bar span { color: var(--muted); font-size: 0.94rem; }

.section {
  padding: clamp(52px, 7vw, 88px) clamp(20px, 7vw, 96px);
}

.doctor-profile {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1.28fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
  background: var(--white);
}

.portrait-wrap {
  width: min(100%, 390px);
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sage);
}

.portrait-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.profile-copy h2,
.section-copy h2,
.approach h2,
.contact h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 20px;
}

.profile-copy p,
.section-copy p,
.contact-copy p { color: var(--muted); font-size: 1.05rem; }

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.profile-tags span {
  padding: 9px 13px;
  border-radius: 8px;
  background: var(--sage);
  color: var(--teal-dark);
  font-weight: 800;
  font-size: 0.9rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(300px, 1.3fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: start;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(23, 35, 34, 0.05);
}

.wide-card { grid-column: 1 / -1; min-height: auto; }

.icon {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--teal);
  font-weight: 800;
}

.service-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.service-card p, .approach-list p { color: var(--muted); margin-bottom: 0; }

.approach {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 7vw, 92px);
  color: var(--white);
  background: var(--teal-dark);
}

.approach .eyebrow { color: #e0ad88; }
.approach-list { display: grid; gap: 24px; }
.approach-list div { border-top: 1px solid rgba(255, 255, 255, 0.22); padding-top: 22px; }
.approach-list p { color: rgba(255, 255, 255, 0.72); }

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 0.7fr);
  gap: clamp(32px, 8vw, 92px);
  align-items: start;
}

.contact-panel {
  padding: 10px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.contact-row span { color: var(--muted); }
.contact-row strong { text-align: right; }
.note { margin: 18px 20px 10px; color: var(--muted); font-size: 0.9rem; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 7vw, 96px);
  color: rgba(255, 255, 255, 0.76);
  background: #12201f;
}
.footer p { margin: 0; }
.footer a { font-weight: 700; color: var(--white); }

@media (max-width: 960px) {
  .nav { gap: 12px; font-size: 0.88rem; }
  .brand { min-width: 250px; }
  .brand-logo { width: 250px; }
}

.patient-guidance {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: start;
  background: #e2e7d4;
}

.guidance-copy h2,
.resource-heading h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 20px;
}

.guidance-copy p,
.resource-heading p { color: var(--muted); font-size: 1.05rem; }

.question-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.question-panel label,
.question-panel span { display: block; }
.question-panel span { margin-bottom: 8px; color: var(--ink); font-weight: 800; }

.question-panel select,
.question-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfbf8;
  font: inherit;
}

.question-panel textarea { resize: vertical; min-height: 140px; }
.question-button { border: 0; cursor: pointer; }
.form-note { margin: 0; color: var(--muted); font-size: 0.9rem; }

.resources { background: #f4f1e7; }
.resource-heading { max-width: 780px; margin-bottom: 24px; }
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.resource-card {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf4;
}

.resource-card h3 { margin-bottom: 10px; }
.resource-card p { margin-bottom: 0; color: var(--muted); }
@media (max-width: 860px) {
  .site-header { position: absolute; align-items: flex-start; }
  .nav { display: none; }
  .hero { min-height: 78vh; padding-top: 112px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(6, 31, 30, 0.9) 0%, rgba(6, 31, 30, 0.78) 58%, rgba(6, 31, 30, 0.45) 100%); }
  .trust-bar, .doctor-profile, .split, .patient-guidance, .approach, .contact { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .portrait-wrap { width: min(100%, 340px); }
  .service-grid { grid-template-columns: 1fr; }
  .wide-card { grid-column: auto; }
  .contact-row { display: block; }
  .contact-row strong { display: block; margin-top: 4px; text-align: left; }
  .footer { display: block; }
  .footer a { display: inline-block; margin-top: 10px; }
}

@media (max-width: 520px) {
  .site-header { gap: 12px; padding: 12px 16px; }
  .brand-logo { width: 190px; height: 48px; padding: 4px 7px; }
  .header-cta { padding: 9px 13px; }
  h1 { font-size: 2.35rem; }
  .section { padding-left: 18px; padding-right: 18px; }
  .trust-bar div { padding: 22px 18px; }
}











