/* Section 7: #equipe (lista tipográfica). Verbatim from source <style>; tokens/base.css provide vars, .cont, .ico, em.s. */

/* shared section scaffolding (not in base.css; copied verbatim from source) */
.secao { padding: clamp(84px, 11vw, 150px) 0; }
.cab { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 5vw, 64px); padding: 0 20px; }
.cab h2, .h2 { margin: 0; font-weight: 300; font-size: clamp(36px, 5vw, 68px); line-height: 1.02; letter-spacing: -.04em; }
.cab p { margin: 18px auto 0; color: var(--suave); max-width: 560px; font-size: 17px; }

/* equipe: lista tipográfica */
.equipe { background: var(--papel); padding-top: 0; }
.lista { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linha); }
.lista li { border-bottom: 1px solid var(--linha); }
.lista a { position: relative; display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 20px; align-items: center; padding: clamp(18px, 2.2vw, 26px) 8px; text-decoration: none; isolation: isolate; }
.lista a::before { content: ''; position: absolute; inset: 0; background: var(--blush-2); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: -1; }
.lista a:hover::before { transform: scaleY(1); }
.lista b { font-weight: 300; font-size: clamp(24px, 2.8vw, 38px); letter-spacing: -.03em; line-height: 1.1; }
.lista span { color: var(--suave); }
.lista small { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--suave); }
.lista small em { font-style: normal; }
.lista .ico { font-size: 18px; transition: transform .4s var(--ease); }
.lista a:hover .ico { transform: translate(3px, -3px); }
@media (max-width: 700px) { .lista a { grid-template-columns: 1fr auto; gap: 4px 16px; } .lista span { grid-column: 1; grid-row: 2; font-size: 14.5px; } .lista small { grid-row: 1 / span 2; grid-column: 2; } .lista small em { display: none; } }

/* revelar ao rolar (shared .rv; hook for Step 11) */
.rv { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.rv.visto { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { transform: none; } }

/* ---- "Quem assina": team carousel (two rows running in opposite directions) ------------
   Each row holds its cards twice and slides exactly one lap (-50%), so the loop has no seam.
   Cards use margin-right (not gap) so the two laps measure exactly half the strip. */
.eq-trilho { --eq-gap: clamp(12px, 1.4vw, 18px); position: relative; display: grid; gap: var(--eq-gap); padding: 10px 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.eq-fileira { overflow: hidden; padding: 8px 0 14px; }
.eq-fita { display: flex; width: max-content; animation: eq-corre var(--duracao) linear infinite; }
.eq-fileira.volta .eq-fita { animation-direction: reverse; }
.eq-trilho:hover .eq-fita, .eq-trilho.parado .eq-fita { animation-play-state: paused; }
@keyframes eq-corre { to { transform: translateX(-50%); } }

.eq-card { flex: none; width: clamp(220px, 19vw, 260px); margin-right: var(--eq-gap); display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 26px 20px 22px; background: #FFFDFB; border-radius: 22px; box-shadow: 0 1px 0 rgba(17, 13, 14, .04), 0 10px 30px -18px rgba(17, 13, 14, .35);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.eq-card:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(17, 13, 14, .04), 0 22px 40px -20px rgba(17, 13, 14, .45); }
.eq-foto { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--blush-2); color: var(--suave);
  font: 500 20px/1 var(--serif); letter-spacing: .02em; box-shadow: 0 0 0 4px #FFFDFB, 0 0 0 5px rgba(17, 13, 14, .12); }
.eq-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.eq-card:hover .eq-foto img { transform: scale(1.08); }
.eq-nome { margin-top: 18px; font-weight: 400; font-size: 19px; line-height: 1.2; letter-spacing: -.01em; }
.eq-nome a { text-decoration: none; }
.eq-nome a:hover { text-decoration: underline; text-underline-offset: 3px; }
.eq-nome .ico { font-size: 14px; margin-left: 6px; vertical-align: -1px; opacity: .65; }
.eq-areas { margin-top: 6px; color: var(--suave); font-size: 13.5px; line-height: 1.4; min-height: 2.8em; }
.eq-onde { margin: 10px 0 18px; font: 500 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--suave); }
.eq-agendar { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 999px; background: #0E0E0E; color: #fff;
  text-decoration: none; font: 500 11.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; transition: background .3s var(--ease); }
.eq-agendar:hover { background: #2B2927; }
.eq-wa { width: 15px; height: 15px; }
.eq-pe { text-align: center; margin-top: clamp(36px, 4vw, 56px); }
html[data-tema="salvia"] .eq-card, html[data-tema="salvia"] .eq-agendar { border-radius: 0; }
@media (prefers-reduced-motion: reduce) {
  .eq-fita { animation: none; }
  .eq-fileira { overflow-x: auto; }
  .eq-card[aria-hidden="true"] { display: none; }
}
.eq-fim { white-space: nowrap; }

/* "Quem assina" section background (client choice) */
html .secao.equipe, html[data-tema] .secao.equipe { background: #EDDDCF; }
