:root {
  --ink: #2f2923;
  --muted: #63584e;
  --accent: #a42920;
  --paper: rgba(255, 251, 245, 0.9);
  --line: rgba(57, 42, 31, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 100%;
  min-height: 100%;
}

body {
  color: var(--ink);
  background: #c8b29a;
  font-family: "DM Sans", Arial, sans-serif;
}

a {
  color: inherit;
}

.hero {
  isolation: isolate;
  position: relative;
  display: flex;
  height: 100svh;
  min-height: 100svh;
  width: 100vw;
  overflow: hidden;
  padding: clamp(1.25rem, 3.4vw, 3.2rem) clamp(1.25rem, 5vw, 5.5rem) clamp(1.4rem, 3vw, 3rem);
  flex-direction: column;
  justify-content: space-between;
}

.hero__image,
.hero__wash {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__image {
  background: url("assets/sala-psicologia.png") center center / cover no-repeat;
  transform: scale(1.02);
}

.hero__wash {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(250, 244, 236, 0.96) 0%, rgba(250, 244, 236, 0.82) 31%, rgba(250, 244, 236, 0.12) 67%, rgba(56, 40, 27, 0.1) 100%),
    linear-gradient(0deg, rgba(55, 38, 25, 0.25), transparent 35%);
}

.topbar,
.footer,
.hero__content {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  width: clamp(7rem, 13vw, 10.8rem);
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 30px rgba(79, 49, 31, 0.08);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 999px;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(59, 42, 28, 0.18);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 250, 242, 0.55);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.status__dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.24rem rgba(164, 41, 32, 0.1);
}

.hero__content {
  width: min(100%, 38rem);
  margin: auto auto 0;
  padding: clamp(1.55rem, 3vw, 2.6rem);
  border: 1px solid rgba(85, 57, 39, 0.15);
  border-radius: 1.4rem;
  background: var(--paper);
  box-shadow: 0 24px 80px rgba(71, 45, 25, 0.11);
  backdrop-filter: blur(8px);
}

.eyebrow,
.contact__label {
  margin: 0;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.eyebrow span {
  display: inline-block;
  width: 1.7rem;
  height: 1px;
  background: currentColor;
}

h1 {
  max-width: 12ch;
  margin: 0.9rem 0 1rem;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.8rem, 5.15vw, 4.9rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.intro {
  max-width: 29rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.6;
}

.contact {
}

.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.42rem;
  color: var(--ink);
  font-size: clamp(0.9rem, 1.4vw, 1.12rem);
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, gap 180ms ease;
}

.contact__email:hover,
.contact__email:focus-visible {
  gap: 0.85rem;
  color: var(--accent);
}

.contact__email span {
  color: var(--accent);
  font-size: 1.2em;
  line-height: 0;
}

.footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(47, 41, 35, 0.74);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__line {
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

@media (max-width: 700px) {
  .hero {
    min-height: 100svh;
    padding: 1rem 1rem 1.25rem;
  }

  .hero__image {
    background-position: 66% center;
  }

  .hero__wash {
    background:
      linear-gradient(180deg, rgba(250, 244, 236, 0.64) 0%, rgba(250, 244, 236, 0.78) 38%, rgba(250, 244, 236, 0.97) 77%),
      linear-gradient(0deg, rgba(55, 38, 25, 0.2), transparent 35%);
  }

  .brand {
    width: 7.8rem;
  }

  .status {
    padding: 0.56rem 0.7rem;
    font-size: 0.6rem;
  }

  .hero__content {
    margin-bottom: 1.2rem;
    padding: 1.45rem 1.25rem 1.5rem;
    border-radius: 1.15rem;
  }

  h1 {
    max-width: 9ch;
    margin-top: 0.8rem;
    font-size: clamp(2.75rem, 14vw, 4.4rem);
  }

  .footer {
    justify-content: space-between;
    gap: 0.4rem;
    font-size: 0.58rem;
  }

  .footer__line {
    flex: 1;
    max-width: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact__email {
    transition: none;
  }
}
