/* /sobre, "Áreas de atuação" igual à "Área de atuação" da página inicial (pedido dele, 2026-11-20), com o título
   "O que o Dr. Tiago trata". Cópia das regras da home (v2.css + #atuacao-css + #areas-compacta-css + #areas-esquerda-css),
   presas em #areas.sec-areas para não brigar com o sobre.css. Bloco em _paginas-motion/areas-home.html; gerado com sobre.mjs.
   Parado (movimento reduzido) = via lacrimal cheia, prótese encaixada. */
#areas.sec-areas {
  --ouro-l: #d4aa7d; --ouro-claro: #e8c99a; --raio: 14px; --lateral: clamp(1.25rem, 5vw, 4rem); --largura: 1200px;
  padding: clamp(2.5rem, 6vh, 3.75rem) 0; color: #f5ecda; font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background:
    radial-gradient(80% 60% at 50% 100%, rgba(37, 99, 192, .42), transparent 72%),
    linear-gradient(180deg, #060f22 0%, #09193a 45%, #0f2754 100%);
}
#areas.sec-areas .miolo { width: 100%; max-width: calc(var(--largura) + 2 * var(--lateral)); margin: 0 auto; padding-inline: var(--lateral); box-sizing: border-box; }
#areas.sec-areas .cabeca { margin-bottom: clamp(1.1rem, 3vh, 1.6rem); }
#areas.sec-areas .rotulo { margin: 0 0 1rem; font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ouro-l); }
#areas.sec-areas .titulo { margin: 0; font-family: inherit; font-size: clamp(1.85rem, 3vw, 2.6rem); font-weight: 700; line-height: 1.07; letter-spacing: -.03em; color: #f5ecda; text-wrap: balance; }
#areas.sec-areas .titulo em { font-style: normal; color: var(--ouro-l); }
#areas.sec-areas .lead { margin: .55rem 0 0; max-width: 58ch; font-size: 1rem; line-height: 1.55; color: #b4bfd1; text-wrap: pretty; }

/* cartões */
#areas.sec-areas .atuacao { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
#areas.sec-areas .atu { position: relative; display: flex; flex-direction: column; padding: 1rem 1.15rem 1.05rem; background: #0c1b38;
  border: 1px solid rgba(212, 170, 125, .16); border-radius: var(--raio); color: inherit; text-decoration: none;
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1), border-color .3s, box-shadow .3s; }
#areas.sec-areas .atu:hover { border-color: rgba(212, 170, 125, .55); box-shadow: 0 26px 50px -34px rgba(0, 0, 0, .85); }
#areas.sec-areas .atu.in:hover { transform: translateY(-3px); }
#areas.sec-areas .atuacao .atu:nth-child(2) { transition-delay: .07s; }
#areas.sec-areas .atuacao .atu:nth-child(3) { transition-delay: .14s; }
#areas.sec-areas .atuacao .atu:nth-child(4) { transition-delay: .21s; }
#areas.sec-areas .atu-motion { display: block; width: 112px; height: 84px; margin: -.45rem 0 .35rem -.4rem; overflow: visible; }
#areas.sec-areas .atu-titulo { margin: 0; font-family: inherit; font-size: 1.08rem; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; color: #f5ecda; }
#areas.sec-areas .atu-texto { margin: .35rem 0 0; font-size: .88rem; line-height: 1.48; font-weight: 400; color: #b4bfd1; }
#areas.sec-areas .atu-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: .6rem; font-size: .86rem; font-weight: 600;
  color: var(--ouro-l); transition: gap .2s, color .2s; }
#areas.sec-areas .atu:hover .atu-link { gap: .65rem; color: var(--ouro-claro); }
@media (max-width: 1000px) { #areas.sec-areas .atuacao { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* celular: desenho à esquerda ocupando o cartão; título, texto e "Saiba mais" à direita (como a Primeira consulta da home) */
@media (max-width: 600px) {
  #areas.sec-areas .cabeca .lead { font-size: .96rem; }
  #areas.sec-areas .atuacao { grid-template-columns: 1fr; gap: .55rem; }
  #areas.sec-areas .atu { display: grid; grid-template-columns: 80px minmax(0, 1fr); grid-template-rows: auto auto 1fr;
    grid-template-areas: "m t" "m d" "m l"; column-gap: .9rem; row-gap: 0; align-items: start; padding: .95rem 1rem 1.05rem .6rem; }
  #areas.sec-areas .atu-motion { grid-area: m; align-self: center; width: 80px; height: 60px; margin: 0; }
  #areas.sec-areas .atu-titulo { grid-area: t; align-self: start; margin: .1rem 0 0; font-size: 1.02rem; }
  #areas.sec-areas .atu-texto { grid-area: d; margin-top: .3rem; font-size: .88rem; line-height: 1.55; }
  #areas.sec-areas .atu-link { grid-area: l; align-self: start; padding-top: .45rem; font-size: .82rem; }
}

/* desenhos animados (os mesmos da home) */
.atu-lag { stroke-dasharray: 100 200; stroke-dashoffset: 0; }
.atu-gota, .atu-cav { opacity: 0; }
.atu-corte { transform: translateY(36px); }
.atu-reflexo { opacity: .35; }
@media (prefers-reduced-motion: no-preference) {
  .atu-palp { animation: atu-piscar 5.5s ease-in-out infinite; }
  .atu-sulco { animation: atu-sulco 5.5s ease-in-out infinite; }
  .atu-lag { animation: 5s linear infinite both; }
  .atu-lag.l0 { animation-name: atu-lag0; } .atu-lag.l1 { animation-name: atu-lag1; }
  .atu-lag.l2 { animation-name: atu-lag2; } .atu-lag.l3 { animation-name: atu-lag3; }
  .atu-gota { animation: atu-gota 5s ease-in infinite; }
  .atu-corte { animation: atu-corte 4.2s ease-in-out infinite alternate; }
  .atu-pro { animation: atu-pro 6.5s linear infinite; }
  .atu-cav { animation: atu-cav 6.5s ease-in-out infinite; }
  .atu-reflexo { animation: atu-reflexo 6.5s ease-in-out infinite; }
  .atuacao.parado .atu-motion * { animation-play-state: paused; }
}
@keyframes atu-piscar { 0%, 88%, 100% { transform: translateY(0); } 92% { transform: translateY(21px); } }
@keyframes atu-sulco { 0%, 88%, 100% { transform: translateY(0); opacity: 1; } 92% { transform: translateY(5px); opacity: .4; } }
@keyframes atu-lag0 { 0% { stroke-dashoffset: 100; opacity: 0; } 2% { stroke-dashoffset: 100; opacity: 1; } 16%, 84% { stroke-dashoffset: 0; opacity: 1; } 92%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes atu-lag1 { 0%, 15% { stroke-dashoffset: 100; opacity: 0; } 16% { stroke-dashoffset: 100; opacity: 1; } 38%, 84% { stroke-dashoffset: 0; opacity: 1; } 92%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes atu-lag2 { 0%, 36% { stroke-dashoffset: 100; opacity: 0; } 37% { stroke-dashoffset: 100; opacity: 1; } 56%, 84% { stroke-dashoffset: 0; opacity: 1; } 92%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes atu-lag3 { 0%, 54% { stroke-dashoffset: 100; opacity: 0; } 55% { stroke-dashoffset: 100; opacity: 1; } 72%, 84% { stroke-dashoffset: 0; opacity: 1; } 92%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes atu-gota { 0%, 70% { opacity: 0; transform: translateY(0); } 73% { opacity: 1; transform: translateY(0); } 84% { opacity: 0; transform: translateY(6px); } 100% { opacity: 0; transform: translateY(0); } }
@keyframes atu-corte { from { transform: translateY(12px); } to { transform: translateY(62px); } }
@keyframes atu-pro {
  0% { transform: translateY(17px); opacity: 0; }
  8% { transform: translateY(17px); opacity: 1; animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
  40%, 80% { transform: translateY(0); opacity: 1; }
  92% { transform: translateY(0); opacity: 0; }
  100% { transform: translateY(17px); opacity: 0; }
}
@keyframes atu-cav { 0%, 38% { opacity: 0; } 47% { opacity: .9; } 62%, 100% { opacity: 0; } }
@keyframes atu-reflexo { 0%, 44% { opacity: .1; } 56% { opacity: .85; } 72%, 100% { opacity: .1; } }
