/* ============================================================
   SOBRE.CSS — Página Sobre o ERG 360
   Identidade: luxo silencioso, autoridade clínica
   ============================================================ */

body#sobre-root {
  background: var(--bg-primary);
  min-height: 100dvh;
}

/* ── Header ── */
.sobre-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: calc(56px + env(safe-area-inset-top));
  background: var(--bg-primary);
  border-bottom: 1px solid rgba(201,168,130,0.3);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 20px calc(10px);
  z-index: 100;
}

.sobre-header-logo {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
}

.sobre-main {
  padding-top: calc(56px + env(safe-area-inset-top));
}

/* ── Main ── */
.sobre-main {
  padding-top: 56px;
}

/* ── Hero ── */
.sobre-hero {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--detail);
  padding: 72px 0 64px;
}

.sobre-hero-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.sobre-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--detail);
  margin-bottom: 24px;
}

.sobre-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3.5rem, 12vw, 6rem);
  letter-spacing: 0.12em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
}

.sobre-hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1rem, 4vw, 1.4rem);
  letter-spacing: 0.08em;
  color: var(--subtitle);
  line-height: 1.4;
  margin-bottom: 40px;
}

.sobre-hero-line {
  width: 40px;
  height: 1px;
  background: var(--detail);
  margin: 0 auto 32px;
}

.sobre-hero-desc {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.9;
  letter-spacing: 0.02em;
  max-width: 520px;
  margin: 0 auto;
}

/* ── Seções ── */
.sobre-section {
  padding: 72px 0;
  border-bottom: 1px solid rgba(201,168,130,0.2);
}

.sobre-section--alt {
  background: var(--bg-secondary);
}

.sobre-section--dark {
  background: var(--text);
  border-bottom: none;
}

.sobre-section-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

.sobre-section-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--detail);
  margin-bottom: 16px;
}

.sobre-section-label--light {
  color: rgba(201,168,130,0.7);
}

.sobre-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 28px;
}

.sobre-section-title--light {
  color: var(--bg-primary);
}

.sobre-section-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.9;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.sobre-section-text--light {
  color: rgba(248,244,239,0.7);
}

/* ── Steps ── */
.sobre-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--detail);
}

.sobre-step {
  display: flex;
  gap: 28px;
  padding: 28px 32px;
  border-bottom: 1px solid rgba(201,168,130,0.25);
  align-items: flex-start;
}

.sobre-step:last-child { border-bottom: none; }

.sobre-step-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 2rem;
  color: var(--detail);
  flex-shrink: 0;
  width: 48px;
  line-height: 1;
  padding-top: 2px;
}

.sobre-step-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}

.sobre-step-desc {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* ── Pilares ── */
.pilares-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--detail);
}

.pilar-card {
  display: flex;
  gap: 28px;
  padding: 28px 32px;
  border-bottom: 1px solid rgba(201,168,130,0.25);
  align-items: flex-start;
  transition: background 0.3s ease;
}

.pilar-card:last-child { border-bottom: none; }
.pilar-card:hover { background: rgba(201,168,130,0.04); }

.pilar-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--detail);
  flex-shrink: 0;
  width: 36px;
  padding-top: 2px;
  line-height: 1;
}

.pilar-nome {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 8px;
}

.pilar-desc {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* ── Quote ── */
.sobre-quote {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  color: var(--bg-secondary);
  line-height: 1.6;
  letter-spacing: 0.04em;
  border-left: 2px solid var(--detail);
  padding-left: 24px;
  margin: 0 0 36px;
}

/* ── Razões ── */
.sobre-razoes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--detail);
  border: 1px solid var(--detail);
}

.sobre-razao {
  background: var(--bg-primary);
  padding: 32px 28px;
}

.sobre-razao-linha {
  width: 24px;
  height: 1px;
  background: var(--detail);
  margin-bottom: 16px;
}

.sobre-razao-titulo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 12px;
}

.sobre-razao-desc {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* ── CTA final ── */
.sobre-cta {
  background: var(--bg-secondary);
  border-top: 1px solid var(--detail);
  padding: 72px 0 calc(72px + env(safe-area-inset-bottom));
}

.sobre-cta-inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.sobre-cta-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  mix-blend-mode: multiply;
  margin-bottom: 8px;
}

.sobre-cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 2.2rem;
  letter-spacing: 0.06em;
  color: var(--text);
}

.sobre-cta-desc {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.sobre-cta-btn {
  display: inline-block;
  width: 100%;
  padding: 18px;
  background: var(--text);
  color: var(--bg-primary);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: opacity 0.3s;
  text-align: center;
}

.sobre-cta-btn:hover { opacity: 0.85; }

.sobre-cta-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--subtitle);
  text-decoration: underline;
  cursor: pointer;
}

/* ── Responsivo ── */
@media (max-width: 600px) {
  .sobre-razoes {
    grid-template-columns: 1fr;
  }

  .sobre-step,
  .pilar-card {
    padding: 24px 20px;
    gap: 20px;
  }

  .sobre-section-inner {
    padding: 0 24px;
  }

  .sobre-hero-inner {
    padding: 0 24px;
  }
}

/* ── Correção de posicionamento da logo no header ── */
.sobre-header .checkin-logo {
  width: 36px;
  height: 36px;
  display: block;
}
