/* ==========================================================================
   Sigma — Site do Paciente
   Tratamento: arejado, fotográfico, linguagem simples. O azul-bebê da marca
   é o acento ambiente; as fotos reais carregam a página.
   ========================================================================== */

/* --- Hero ----------------------------------------------------------------- */
.p-hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 88% 6%, var(--c-wash) 0%, transparent 58%),
    linear-gradient(180deg, var(--c-surface-2) 0%, var(--c-bg) 78%);
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(3rem, 2rem + 4vw, 5rem);
  overflow: hidden;
}
.p-hero__in {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
}
@media (max-width: 940px) { .p-hero__in { grid-template-columns: 1fr; } }

.p-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
.p-hero h1 { max-width: 15ch; }
.p-hero h1 em {
  font-style: normal;
  color: var(--c-accent);
}
.p-hero__lead { font-size: var(--step-1); color: var(--c-text-2); max-width: 46ch; }
.p-hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.p-hero__trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1.4rem;
  font-size: var(--step--1); color: var(--c-text-3);
  padding-top: .4rem;
}
.p-hero__trust b { color: var(--c-brand); font-family: var(--f-display); font-weight: 600; }
.p-hero__trust span { display: inline-flex; align-items: center; gap: .45rem; }
.p-hero__trust svg { width: 17px; height: 17px; color: var(--c-sky); flex: none; }

/* Foto do hero — recorte suave, o rosto do paciente é o assunto */
.p-hero__media { position: relative; }
.p-hero__photo {
  position: relative; z-index: 1;
  border-radius: 260px 260px var(--r-xl) var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 4.05;
  box-shadow: var(--shadow-lift);
  background: var(--c-surface-3);
}
.p-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 28%; }
.p-hero__blob {
  position: absolute; inset: auto -6% -5% -8%; z-index: 0;
  aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--brand-200) 0%, transparent 66%);
  opacity: .55; filter: blur(6px);
}
.p-hero__chip {
  position: absolute; z-index: 2; left: -1.5rem; bottom: 12%;
  display: flex; align-items: center; gap: .75rem;
  padding: .8rem 1.15rem; border-radius: var(--r-md);
  background: var(--c-surface); border: 1px solid var(--c-line);
  box-shadow: var(--shadow-soft);
}
.p-hero__chip strong { font-family: var(--f-display); font-size: 1.5rem; color: var(--c-brand); line-height: 1; }
.p-hero__chip small { display: block; font-size: .74rem; color: var(--c-text-3); line-height: 1.35; max-width: 13ch; }
@media (max-width: 940px) {
  .p-hero__media { max-width: 480px; margin-inline: auto; width: 100%; }
  .p-hero__chip { left: 0; }
}

/* --- Barra de ações rápidas ----------------------------------------------- */
.quick {
  position: relative; z-index: 3;
  margin-top: calc(var(--section-y) * -.42);
}
.quick__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
@media (max-width: 860px) { .quick__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .quick__grid { grid-template-columns: 1fr; } }
.quick__item {
  display: flex; align-items: center; gap: .95rem;
  padding: 1.35rem 1.4rem; text-decoration: none;
  border-right: 1px solid var(--c-line-soft);
  transition: background .2s ease;
}
.quick__item:last-child { border-right: 0; }
@media (max-width: 860px) {
  .quick__item:nth-child(2n) { border-right: 0; }
  .quick__item:nth-child(-n+2) { border-bottom: 1px solid var(--c-line-soft); }
}
@media (max-width: 460px) {
  .quick__item { border-right: 0; border-bottom: 1px solid var(--c-line-soft); }
}
.quick__item:hover { background: var(--c-surface-2); }
.quick__ico {
  width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: var(--c-accent-wash); color: var(--c-accent);
}
.quick__ico svg { width: 21px; height: 21px; }
.quick__txt strong {
  display: block; font-family: var(--f-display); font-weight: 600; font-size: .96rem;
  color: var(--c-brand); line-height: 1.25;
}
.quick__txt small { color: var(--c-text-3); font-size: .8rem; }

/* --- Exames em linguagem de paciente -------------------------------------- */
.exam-grid {
  display: grid; gap: 1.15rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.75rem;
}
@media (max-width: 1000px) { .exam-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .exam-grid { grid-template-columns: 1fr; } }
.exam-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--c-line); border-radius: var(--r-lg);
  background: var(--c-surface); overflow: hidden;
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.exam-card:hover { border-color: var(--c-sky); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.exam-card__img { aspect-ratio: 16 / 9; background: #0c1226; overflow: hidden; }
.exam-card__img img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.06); }
.exam-card__body { padding: 1.3rem 1.35rem 1.45rem; display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.exam-card h3 { font-size: var(--step-1); }
.exam-card__alias {
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-text-3);
}
.exam-card p { font-size: var(--step--1); color: var(--c-text-2); flex: 1; }
.exam-card__meta {
  display: flex; flex-wrap: wrap; gap: .4rem; padding-top: .3rem;
  border-top: 1px solid var(--c-line-soft); margin-top: .3rem; padding-top: .85rem;
}
.tag {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .74rem; font-weight: 600; font-family: var(--f-display);
  padding: .28rem .62rem; border-radius: 999px;
  background: var(--c-surface-2); color: var(--c-text-2); border: 1px solid var(--c-line-soft);
}
.tag svg { width: 13px; height: 13px; }
.tag--ok { background: var(--c-wash); color: var(--c-brand-soft); border-color: transparent; }

/* --- Passo a passo da visita ---------------------------------------------- */
.visit { background: var(--c-surface-2); }
.steps { display: grid; gap: 1.4rem; grid-template-columns: repeat(4, 1fr); margin-top: 3rem; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 2.4rem; }
.step::before {
  content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 1px;
  background: var(--c-line);
}
.step__dot {
  position: absolute; top: 2px; left: 0; width: 15px; height: 15px; rotate: 45deg; border-radius: 2px;
  background: var(--brand-900);
}
.step:nth-child(2) .step__dot { background: var(--brand-700); }
.step:nth-child(3) .step__dot { background: var(--brand-500); }
.step:nth-child(4) .step__dot { background: var(--brand-300); }
.step h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.step p { font-size: var(--step--1); color: var(--c-text-2); }
.step__n {
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em;
  color: var(--c-text-3); display: block; margin-bottom: .55rem;
}

/* --- Verificador de convênio ---------------------------------------------- */
.cov { background: var(--c-invert-bg); color: #fff; position: relative; overflow: hidden; }
.cov::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 120% at 100% 0%, rgba(142, 223, 239, .16) 0%, transparent 60%);
}
.cov > * { position: relative; z-index: 1; }
.cov h2 { color: #fff; }
.cov__lead { color: var(--c-invert-text-2); font-size: var(--step-1); max-width: 52ch; }
.cov__in { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: start; }
@media (max-width: 940px) { .cov__in { grid-template-columns: 1fr; } }

.cov-search { margin-top: 1.9rem; }
.cov-search label { display: block; font-size: var(--step--1); color: var(--c-invert-text-2); margin-bottom: .55rem; }
.cov-search__field { position: relative; }
.cov-search input {
  width: 100%; padding: .95rem 1.1rem .95rem 2.9rem;
  border-radius: 999px; border: 1px solid var(--c-invert-line);
  background: rgba(255, 255, 255, .07); color: #fff;
  font-size: var(--step-0);
}
.cov-search input::placeholder { color: rgba(255, 255, 255, .45); }
.cov-search input:focus { border-color: var(--brand-200); background: rgba(255, 255, 255, .12); }
.cov-search__field svg {
  position: absolute; left: 1.05rem; top: 50%; translate: 0 -50%;
  width: 18px; height: 18px; color: var(--brand-200);
}

.cov-answer {
  margin-top: 1rem; min-height: 1.5rem; font-size: var(--step--1);
  color: var(--c-invert-text-2);
}
.cov-answer[data-state="hit"] { color: var(--brand-200); font-weight: 600; }
.cov-answer[data-state="miss"] { color: #ffd7a8; }
.cov-answer a { color: #fff; text-underline-offset: 3px; }

.cov-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; align-content: start; }
@media (max-width: 520px) { .cov-logos { grid-template-columns: repeat(2, 1fr); } }
.cov-logo {
  display: grid; place-items: center; padding: 1.1rem 1rem; min-height: 88px;
  background: #fff; border-radius: var(--r-md);
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}
.cov-logo img { max-height: 40px; width: auto; object-fit: contain; }
.cov-logo[hidden] { display: none; }
.cov-logo[data-dim="true"] { opacity: .18; }
.cov-logo[data-hit="true"] { transform: scale(1.03); box-shadow: 0 0 0 3px var(--brand-200); }
.cov__note { margin-top: 1.5rem; font-size: var(--step--1); color: var(--c-invert-text-2); }

/* --- Segurança / dose ----------------------------------------------------- */
.safety__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (max-width: 940px) { .safety__in { grid-template-columns: 1fr; } }
.safety__photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 5/4; }
.safety__photo img { width: 100%; height: 100%; object-fit: cover; }
.dose-list { list-style: none; padding: 0; margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.dose-list li { display: flex; gap: 1rem; align-items: flex-start; }
.dose-list svg { width: 22px; height: 22px; flex: none; color: var(--c-accent); margin-top: .18rem; }
.dose-list strong { font-family: var(--f-display); color: var(--c-brand); display: block; font-size: var(--step-0); }
.dose-list span { font-size: var(--step--1); color: var(--c-text-2); }

/* --- Equipe --------------------------------------------------------------- */
.team-grid { display: grid; gap: 1.4rem 1.2rem; grid-template-columns: repeat(4, 1fr); margin-top: 2.75rem; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.person { display: flex; flex-direction: column; gap: .85rem; }
.person__photo {
  aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(170deg, var(--c-wash), var(--c-surface-3));
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.person h3 { font-size: 1.02rem; line-height: 1.3; }
.person__role { font-size: .82rem; color: var(--c-accent); font-weight: 600; font-family: var(--f-display); }
.person__cro { font-family: var(--f-mono); font-size: .72rem; color: var(--c-text-3); letter-spacing: .04em; }
.person p { font-size: .85rem; color: var(--c-text-2); line-height: 1.6; }

/* --- Depoimentos ---------------------------------------------------------- */
.quotes { background: var(--c-surface-2); }
.quote-grid { display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); margin-top: 2.75rem; }
.quote {
  background: var(--c-surface); border-radius: var(--r-lg); padding: 1.7rem 1.6rem;
  border: 1px solid var(--c-line-soft);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.quote__mark { color: var(--brand-300); font-family: var(--f-display); font-size: 2.6rem; line-height: .6; height: .5em; }
.quote p { color: var(--c-text); font-size: var(--step-0); flex: 1; }
.quote__who { display: flex; align-items: center; gap: .8rem; padding-top: .3rem; border-top: 1px solid var(--c-line-soft); }
.quote__who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.quote__av {
  width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--c-wash); color: var(--c-brand-soft);
  font-family: var(--f-display); font-weight: 600; font-size: .95rem;
}
.quote__who strong { display: block; font-family: var(--f-display); font-size: .9rem; color: var(--c-brand); }
.quote__who small { color: var(--c-text-3); font-size: .78rem; }

/* --- Agendamento ---------------------------------------------------------- */
.book__in {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: start;
}
@media (max-width: 940px) { .book__in { grid-template-columns: 1fr; } }
.book-aside { display: flex; flex-direction: column; gap: 1.6rem; }
.book-aside ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .85rem; }
.book-aside li { display: flex; gap: .75rem; font-size: var(--step--1); color: var(--c-text-2); }
.book-aside li svg { width: 18px; height: 18px; color: var(--c-sky); flex: none; margin-top: .22rem; }

/* --- Localização ---------------------------------------------------------- */
.place { background: var(--c-surface-2); }
.place__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 3vw, 3.5rem); align-items: stretch; }
@media (max-width: 900px) { .place__in { grid-template-columns: 1fr; } }
.place__map {
  border-radius: var(--r-lg); overflow: hidden; min-height: 340px;
  border: 1px solid var(--c-line); background: var(--c-surface-3);
}
.place__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: saturate(.9); }
.place-facts { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1.35rem; margin-top: 1.9rem; }
.place-facts li { display: flex; gap: .95rem; }
.place-facts svg { width: 20px; height: 20px; color: var(--c-accent); flex: none; margin-top: .25rem; }
.place-facts strong { display: block; font-family: var(--f-display); color: var(--c-brand); font-size: .95rem; }
.place-facts span, .place-facts a { font-size: var(--step--1); color: var(--c-text-2); }
.place-facts a { text-decoration: none; }
.place-facts a:hover { color: var(--c-accent); }

/* --- Blog ----------------------------------------------------------------- */
.posts { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 2.75rem; }
.post { display: flex; flex-direction: column; gap: 1rem; text-decoration: none; }
.post__img { aspect-ratio: 16/10; border-radius: var(--r-md); overflow: hidden; background: var(--c-surface-3); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: scale .4s ease; }
.post:hover .post__img img { scale: 1.04; }
.post h3 { font-size: var(--step-1); }
.post:hover h3 { color: var(--c-accent); }
.post__kicker { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-text-3); }

/* --- Faixa final ---------------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--c-invert-bg) 0%, #0d2a86 100%);
  color: #fff; text-align: center;
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
}
.cta-band h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta-band p { color: var(--c-invert-text-2); max-width: 52ch; margin: 1rem auto 0; font-size: var(--step-1); }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }
.cta-band .diamonds { margin-bottom: 1.6rem; }

/* --- Sobre nós (recuperada do site original) ------------------------------- */
.about { background: var(--c-wash); }
.about__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .about__in { grid-template-columns: 1fr; } }
.about h2 { margin-top: .9rem; }
.about p { color: var(--c-text-2); margin-top: 1.1rem; max-width: 56ch; }
.about .diamonds { display: flex; width: fit-content; margin-bottom: 1.4rem; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; }
@media (max-width: 520px) { .about-facts { grid-template-columns: 1fr; } }
.about-facts div { background: var(--c-surface); padding: 1.5rem 1.3rem; }
.about-facts b {
  display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.75rem;
  color: var(--c-brand); line-height: 1.05; font-variant-numeric: tabular-nums;
}
.about-facts span { display: block; font-size: .82rem; color: var(--c-text-3); margin-top: .4rem; line-height: 1.45; }

/* Cinco estrelas, como no material da própria clínica */
.stars { display: inline-flex; gap: 2px; color: #d9a441; line-height: 1; margin-left: auto; }
.stars svg { width: 14px; height: 14px; }

/* --- Parceiros ------------------------------------------------------------ */
.partners { background: var(--c-surface-2); }
.partner-list {
  margin-top: 2.75rem; display: grid; gap: .9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start;
}
@media (max-width: 780px) { .partner-list { grid-template-columns: 1fr; } }
.partner {
  background: var(--c-surface); border: 1px solid var(--c-line-soft);
  border-radius: var(--r-lg); overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.partner:hover { border-color: var(--c-line); }
.partner[open] { border-color: var(--c-brand-soft); box-shadow: var(--shadow-soft); }
.partner > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center;
  gap: 1rem; padding: 1.05rem 1.2rem;
}
.partner > summary::-webkit-details-marker { display: none; }
.partner > summary::marker { content: ""; }
.partner > summary:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -2px; }
.partner__id { flex: 1; min-width: 0; }
.partner__id strong {
  display: block; font-family: var(--f-display); font-size: 1rem;
  color: var(--c-brand); line-height: 1.3;
}
.partner__id small { display: block; margin-top: .2rem; font-size: .78rem; color: var(--c-text-3); }
.partner__cue {
  display: inline-flex; align-items: center; gap: .5rem; flex: none;
  color: var(--c-accent); font-size: .76rem; font-weight: 600;
  font-family: var(--f-display); letter-spacing: .02em;
}
.partner__cue i {
  width: 24px; height: 24px; border-radius: 50%; border: 1px solid currentColor;
  display: inline-grid; place-items: center; transition: transform .22s ease;
}
.partner__cue i::before {
  content: ""; width: 6px; height: 6px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.partner[open] .partner__cue i { transform: rotate(180deg); }
.partner__cue-txt--aberto { display: none; }
.partner[open] .partner__cue-txt--fechado { display: none; }
.partner[open] .partner__cue-txt--aberto { display: inline; }
@media (max-width: 420px) { .partner__cue-txt { display: none !important; } }
.partner__body { padding: 1rem 1.2rem 1.25rem; border-top: 1px solid var(--c-line-soft); }
.partner__esp { font-size: .84rem; color: var(--c-text-2); line-height: 1.6; }
.partner__data {
  list-style: none; padding: 0; margin: .9rem 0 0;
  display: flex; flex-direction: column; gap: .5rem;
}
.partner__data li { display: flex; align-items: flex-start; gap: .6rem; font-size: .84rem; color: var(--c-text-2); }
.partner__data svg { width: 15px; height: 15px; flex: none; color: var(--c-sky); margin-top: .22rem; }
.partner__data a { color: var(--c-text); text-decoration: none; border-bottom: 1px solid var(--c-line); }
.partner__data a:hover { color: var(--c-accent); border-color: currentColor; }
.partners__foot { margin-top: 1.7rem; font-size: var(--step--1); color: var(--c-text-2); }

/* Fecho do bloco de radiação */
.dose-close {
  margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--c-line-soft);
  font-size: var(--step--1); color: var(--c-text-2);
}
