/*
Theme Name: Espaço de Escuta
Theme URI: https://espacodeescuta.com.br/
Description: Tema exclusivo do Espaço de Escuta de Paulo Antonini, preservando o layout aprovado para o site.
Version: 1.0.0
Text Domain: espaco-de-escuta
*/
:root {
  --cream: #fbf5ef;
  --paper: #fffaf5;
  --warm: #f2e3d7;
  --terracotta: #b85f2d;
  --terracotta-dark: #8f431f;
  --brown: #4a2b1f;
  --ink: #26211f;
  --muted: #6f625c;
  --sage: #68765f;
  --line: rgba(74, 43, 31, 0.15);
  --shadow: 0 24px 60px rgba(83, 46, 24, 0.12);
  --radius: 28px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}
.narrow { max-width: 860px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 250, 245, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.15;
}
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.38rem;
  color: var(--terracotta-dark);
}
.brand-sub {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.92rem;
}
.main-nav a {
  text-decoration: none;
  color: var(--brown);
}
.main-nav a:hover { color: var(--terracotta); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(184,95,45,0.09), transparent 29%),
    radial-gradient(circle at 90% 80%, rgba(104,118,95,0.10), transparent 32%),
    var(--cream);
  padding: 86px 0 92px;
}
.hero::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: rgba(184,95,45,0.10);
  right: -185px;
  top: -140px;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 72px;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--terracotta-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.eyebrow.light { color: #f4c9ad; }
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--brown);
  font-weight: 500;
  line-height: 1.12;
  margin-top: 0;
}
h1 {
  font-size: clamp(2.8rem, 5vw, 5.15rem);
  margin-bottom: 26px;
  letter-spacing: -0.035em;
}
h1 em {
  color: var(--terracotta);
  font-weight: 500;
}
h2 {
  font-size: clamp(2.15rem, 3.8vw, 3.5rem);
  margin-bottom: 24px;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1.48rem;
  margin-bottom: 12px;
}
p { margin-top: 0; }
.hero-lead,
.section-intro {
  font-size: 1.12rem;
  color: #554a45;
}
.hero-lead { max-width: 690px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 18px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  background: var(--terracotta);
  color: white;
  box-shadow: 0 12px 26px rgba(184,95,45,0.20);
}
.button.primary:hover { background: var(--terracotta-dark); }
.button.secondary {
  border: 1px solid rgba(74,43,31,0.24);
  color: var(--brown);
  background: rgba(255,255,255,0.55);
}
.button.large { padding: 15px 24px; }
.microcopy {
  color: var(--muted);
  font-size: 0.87rem;
  margin-bottom: 0;
}
.hero-visual { position: relative; }
.photo-frame {
  position: relative;
  border-radius: 48% 48% 22px 22px;
  overflow: hidden;
  min-height: 525px;
  background: #e8ded6;
  box-shadow: var(--shadow);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 525px;
  object-fit: cover;
  object-position: 50% 35%;
}
.quote-card {
  position: absolute;
  left: -34px;
  bottom: 34px;
  max-width: 250px;
  padding: 19px 22px;
  border-radius: 18px;
  background: rgba(255,250,245,0.95);
  box-shadow: 0 14px 34px rgba(74,43,31,0.14);
}
.quote-card p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  color: var(--terracotta-dark);
}

.section { padding: 96px 0; }
.section-light { background: #fffdf9; }
.section-warm { background: var(--warm); }
.section-deep {
  background: var(--brown);
  color: #f7eee8;
}
.section-deep h2 { color: white; }
.section-deep p { color: #eaded6; }
.section-deep .note {
  color: #f3cbb0;
  font-size: 0.92rem;
  margin-top: 28px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}
.step-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
}
.step-number {
  display: block;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  margin-bottom: 30px;
}
.step-card p { color: var(--muted); margin-bottom: 0; }

.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 78px;
  align-items: start;
}
.text-list p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  line-height: 1.42;
  color: #4d392f;
  padding: 0 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(74,43,31,0.16);
}
.text-list p:last-child { border-bottom: 0; }

.profile-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 72px;
  align-items: center;
}
.profile-image-wrap {
  background: var(--warm);
  border-radius: var(--radius);
  padding: 18px;
}
.profile-image {
  width: 100%;
  border-radius: calc(var(--radius) - 8px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 30%;
}
.profile-copy p { color: #554a45; }
.profile-copy .credential {
  color: var(--terracotta-dark);
  font-weight: 700;
  margin-top: -12px;
  margin-bottom: 26px;
}

.faq-list { margin-top: 36px; }
details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
details:last-child { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--brown);
  font-size: 1.22rem;
  padding-right: 24px;
}
details p {
  color: var(--muted);
  padding-top: 14px;
  margin-bottom: 0;
  max-width: 760px;
}

.contact-section {
  background: linear-gradient(120deg, #f7e8dc, #fbf6ef);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}
.contact-card {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 34px;
  box-shadow: 0 18px 44px rgba(74,43,31,0.08);
}
.contact-label {
  color: var(--terracotta-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
}
.contact-card a { color: var(--terracotta-dark); }

.poster-section { background: #fffdf9; }
.poster-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 70px;
}
.poster {
  width: min(100%, 470px);
  justify-self: end;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.text-link {
  display: inline-block;
  color: var(--terracotta-dark);
  font-weight: 700;
  text-underline-offset: 4px;
}

.site-footer {
  background: #2d211c;
  color: #d9ccc5;
  padding: 42px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 60px;
  font-size: 0.84rem;
}
.footer-brand {
  font-family: Georgia, "Times New Roman", serif;
  color: white;
  font-size: 1.24rem;
  margin-bottom: 4px;
}
.site-footer p { margin-bottom: 8px; }

@media (max-width: 920px) {
  .main-nav { display: none; }
  .hero { padding-top: 58px; }
  .hero-grid,
  .split-grid,
  .profile-grid,
  .contact-grid,
  .poster-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .hero-visual { max-width: 570px; margin: 0 auto; width: 100%; }
  .steps-grid { grid-template-columns: 1fr; }
  .quote-card { left: 20px; }
  .poster { justify-self: start; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header-inner { min-height: 72px; }
  .brand-sub { display: none; }
  .section { padding: 72px 0; }
  .hero { padding: 52px 0 72px; }
  h1 { font-size: clamp(2.55rem, 13vw, 4.2rem); }
  h2 { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .photo-frame,
  .photo-frame img { min-height: 420px; }
  .quote-card {
    position: relative;
    left: auto;
    bottom: auto;
    margin: -42px 18px 0;
    max-width: none;
  }
  .step-card, .contact-card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
