/* ── HERO ─────────────────────────────────────────────────── */
.about-hero {
  background: var(--navy); color: #fff;
  padding: clamp(20px, 3vw, 40px) 0 clamp(48px, 7vw, 96px);
  position: relative; overflow: hidden;
}
.about-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 85% 50%, rgba(237,122,58,0.16), transparent 55%),
    radial-gradient(circle at 10% 0%, rgba(42,154,214,0.10), transparent 55%);
}
.about-hero-inner {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px); align-items: center; position: relative;
}
.about-hero h1 { font-size: clamp(32px, 4.8vw, 62px); letter-spacing: -0.04em; margin-top: 20px; }
.about-hero h1 .accent { color: var(--orange); }
.about-hero .lead {
  font-size: clamp(16px, 1.6vw, 18px); color: rgba(255,255,255,0.78);
  margin-top: 22px; max-width: 46ch; line-height: 1.55;
}
.move-line {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 12px;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.selo-item { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.selo-ic {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.selo-ic svg { width: 14px; height: 14px; }
.selo-label { font-family: var(--display); font-weight: 700; font-size: 10px; color: rgba(255,255,255,0.9); text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }

.about-hero-photo {
  position: relative; aspect-ratio: 5/4;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-image:
    linear-gradient(180deg, rgba(10,30,61,0.1) 60%, rgba(10,30,61,0.5) 100%),
    url('../../sobre.webp');
  background-size: cover; background-position: center;
}
.about-hero-photo .pin {
  position: absolute; top: 18px; left: 18px;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(10,30,61,0.65); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 10px; border-radius: 8px;
  font-family: var(--mono); font-size: 10px;
  color: rgba(255,255,255,0.9); letter-spacing: 0.06em; text-transform: uppercase;
}
.pin-dot {
  position: relative; flex-shrink: 0;
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--green);
}
@media (prefers-reduced-motion: no-preference) {
  .pin-dot::before {
    content: ""; position: absolute; inset: -4px; border-radius: 999px;
    border: 1.5px solid var(--green);
    animation: pulse 2.5s ease-out infinite;
  }
}

/* ── NOSSA HISTÓRIA + PILARES ─────────────────────────────── */
.values { background: var(--cream); }
.values-inner {
  display: grid; grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(32px, 4vw, 56px); align-items: flex-start;
}
.story .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--orange-soft); color: var(--orange);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.story h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 16px; letter-spacing: -0.03em; }
.story p {
  font-size: 15px; line-height: 1.65; color: var(--ink-soft);
  margin-bottom: 16px; font-weight: 500; max-width: 42ch;
}
.story p:last-child { margin-bottom: 0; }
.pillars h2 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.03em; }
.pillars-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 28px; }
.pillar {
  text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 10px; padding: 12px 4px;
}
.pillar .ic {
  width: 64px; height: 64px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1.4px solid var(--ink-light); box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.pillar:hover .ic { transform: translateY(-4px) scale(1.06); box-shadow: var(--shadow); }
.pillar.green .ic  { color: var(--green); }
.pillar.blue .ic   { color: var(--blue); }
.pillar.orange .ic { color: var(--orange); }
.pillar.navy .ic   { color: var(--navy); }
.pillar.green:hover .ic  { background: rgba(45,167,123,0.12); }
.pillar.blue:hover .ic   { background: rgba(42,154,214,0.12); }
.pillar.orange:hover .ic { background: rgba(237,122,58,0.12); }
.pillar.navy:hover .ic   { background: rgba(10,30,61,0.08); }
.pillar .ic svg { width: 30px; height: 30px; }
.pillar h3 { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -0.015em; transition: color 220ms ease; }
.pillar.green h3  { color: var(--green); }
.pillar.blue h3   { color: var(--blue); }
.pillar.orange h3 { color: var(--orange); }
.pillar.navy h3   { color: var(--navy); }
.pillar p { font-size: 12px; line-height: 1.45; color: var(--ink-soft); font-weight: 500; max-width: 18ch; }

/* ── DIFERENCIAL ──────────────────────────────────────────── */
.diferencial { background: var(--navy); color: #fff; overflow: hidden; }
.diferencial-inner {
  display: grid; grid-template-columns: 1fr 2.1fr;
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.diferencial .eyebrow.green .bar { background: var(--green); }
.diferencial h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.035em; margin-top: 16px; max-width: 18ch; }
.diferencial p { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.72); margin-top: 18px; max-width: 42ch; font-weight: 500; }

.flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.flow::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 36px; height: 2px;
  background: repeating-linear-gradient(to right, rgba(255,255,255,0.25) 0 6px, transparent 6px 12px);
  z-index: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .flow::before {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.4s ease;
  }
  .flow.in-view::before { clip-path: inset(0 0 0 0); }
}
.flow-step {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
}
.flow-step .icon-wrap { position: relative; }
.flow-step .ic {
  width: 72px; height: 72px; border-radius: 99px;
  background: var(--navy-deep); border: 1.6px solid currentColor;
  display: inline-flex; align-items: center; justify-content: center;
}
.flow-step.green .ic  { color: var(--green); }
.flow-step.blue .ic   { color: var(--blue); }
.flow-step.orange .ic { color: var(--orange); }
.flow-step .ic svg { width: 34px; height: 34px; }
.flow-step .badge {
  position: absolute; top: -6px; right: -10px;
  width: 26px; height: 26px; border-radius: 99px;
  background: var(--navy-deep); border: 1.6px solid currentColor;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 12px;
}
.flow-step h3 { font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -0.015em; max-width: 14ch; }
.flow-step.green h3  { color: var(--green); }
.flow-step.blue h3   { color: var(--blue); }
.flow-step.orange h3 { color: var(--orange); }
.flow-step p { font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,0.7); max-width: 18ch; font-weight: 500; }

/* ── ESTRUTURA + MVV ──────────────────────────────────────── */
.structure { background: var(--cream); padding: clamp(48px, 8vw, 100px) 0; }
.structure-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 3vw, 36px); align-items: stretch; }
.structure-card {
  position: relative; z-index: 0;
  border: 1px solid var(--navy-line); border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px); overflow: hidden;
}
.structure-card::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: url('../../sala-de-exames-bg.webp');
  background-size: cover; background-position: center;
}
.structure-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, rgba(10,30,61,0.72), rgba(6,18,41,0.85));
}
.structure-card h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 12px; letter-spacing: -0.03em; color: #fff; }
.structure-card > p { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 10px; line-height: 1.55; }
.struct-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 28px; }
.mvv-grid { grid-template-columns: repeat(3, 1fr); }
.struct-item {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.struct-item:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.075);
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 14px 32px rgba(0,0,0,0.25);
}
.struct-item .ic {
  width: 52px; height: 52px; border-radius: 13px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px;
  transition: background 220ms ease, border-color 220ms ease;
}
.struct-item.blue .ic   { color: var(--blue); }
.struct-item.green .ic  { color: var(--green); }
.struct-item.orange .ic { color: var(--orange); }
.struct-item.purple .ic { color: #7c3aed; }
.struct-item.blue:hover .ic   { background: rgba(42,154,214,0.14); border-color: rgba(42,154,214,0.3); }
.struct-item.green:hover .ic  { background: rgba(45,167,123,0.14); border-color: rgba(45,167,123,0.3); }
.struct-item.orange:hover .ic { background: rgba(237,122,58,0.14); border-color: rgba(237,122,58,0.3); }
.struct-item.purple:hover .ic { background: rgba(124,58,237,0.14); border-color: rgba(124,58,237,0.3); }
.struct-item .ic svg { width: 26px; height: 26px; }
.struct-item h4 { font-family: var(--display); font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.struct-item.blue h4   { color: var(--blue); }
.struct-item.green h4  { color: var(--green); }
.struct-item.orange h4 { color: var(--orange); }
.struct-item.purple h4 { color: #7c3aed; }
.struct-item p { font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,0.72); font-weight: 500; }

.values-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 7px;
  font-size: 12.5px; line-height: 1.4; color: rgba(255,255,255,0.72); font-weight: 500;
}
.values-list li { display: flex; align-items: flex-start; gap: 8px; }
.values-list li::before {
  content: ""; flex-shrink: 0; margin-top: 6px;
  width: 5px; height: 5px; border-radius: 999px;
  background: var(--orange);
}

.mvv {
  position: relative; z-index: 0;
  border: 1px solid var(--navy-line); border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px); overflow: hidden;
}
.mvv::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: url('../../consultorio-bg.webp');
  background-size: cover; background-position: center;
}
.mvv::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, rgba(10,30,61,0.72), rgba(6,18,41,0.85));
}

@media (prefers-reduced-motion: no-preference) {
  .structure-card::before, .mvv::before { transition: transform 700ms ease; }
  .structure-card:hover::before, .mvv:hover::before { transform: scale(1.08); }
}
.mvv h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 12px; letter-spacing: -0.03em; color: #fff; }
.mvv .mvv-sub { font-size: 14px; color: rgba(255,255,255,0.65); margin-top: 10px; line-height: 1.55; }

/* ── CTA FINAL ────────────────────────────────────────────── */
.cta-section { background: var(--paper); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1080px) {
  .pillars-grid { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .pillar h3 { font-size: 13px; }
  .pillar p  { font-size: 11px; }
  .pillar .ic { width: 56px; height: 56px; }
  .flow-step .ic { width: 64px; height: 64px; }
  .flow-step h3  { font-size: 14px; }
  .flow-step p   { font-size: 11.5px; }
}
@media (max-width: 980px) {
  .about-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .about-hero-photo { max-width: 560px; margin-inline: auto; width: 100%; }
  .values-inner { grid-template-columns: 1fr; gap: 40px; }
  .pillars-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 16px; }
  .diferencial-inner { grid-template-columns: 1fr; gap: 40px; }
  .flow { overflow-x: auto; padding-bottom: 8px; }
  .flow-step .ic    { width: 56px; height: 56px; }
  .flow-step .ic svg { width: 26px; height: 26px; }
  .flow-step .badge { width: 22px; height: 22px; font-size: 11px; }
  .flow::before { top: 28px; }
  .structure-inner { grid-template-columns: 1fr; gap: 22px; }
  .structure-card::after, .mvv::after {
    background: linear-gradient(135deg, rgba(10,30,61,0.92), rgba(6,18,41,0.97));
  }
}
@media (max-width: 640px) {
  .about-hero h1 { font-size: clamp(36px, 10vw, 52px); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar { padding: 10px 6px; }
  .flow {
    display: flex; flex-direction: column; gap: 32px;
    margin-top: 24px;
  }
  /* Respiro extra para o selo numerado do 1º passo não ficar sob o header fixo */
  .flow-step:first-child .icon-wrap { margin-top: 16px; }
  .flow::before { display: none; }
  .flow-step { min-width: 0; }
  .struct-grid { grid-template-columns: 1fr; gap: 18px; }
  .move-line { flex-wrap: wrap; gap: 12px 16px; padding-top: 20px; margin-top: 24px; }

  /* Cabeçalhos de seção centralizados, como na página inicial */
  .pillars,
  .diferencial-inner > .reveal,
  .structure-card,
  .cta-section h2,
  .cta-section .cta-box > div > p {
    text-align: center;
  }
  .structure-card .struct-grid,
  .structure-card .struct-item {
    text-align: left;
  }
  .cta-section .cta-box { align-items: center; text-align: center; }

  /* Oculta o card "Nossa Essência" no mobile */
  .mvv { display: none; }

  /* Oculta o ícone de estrela acima de "Por que a Samaritano é diferente?" no mobile */
  .story .icon { display: none; }
}
