/* Roda interativa das 6 especialidades (Home e Soluções) */
.areas-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; max-width: 1120px; margin: 0 auto; }
.reach .sec-head { display: block; text-align: center; }
.reach .sec-head h2, .reach .sec-head .sub { margin-left: auto; margin-right: auto; }
.reach .sec-eyebrow { justify-content: center; }
.wheel { --panel-c: var(--red); position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin: 0 auto; transition: transform 260ms ease-out; will-change: transform; }
.wheel-svg { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.12)); }
.wheel-seg { fill: var(--c); opacity: 0.88; cursor: pointer; transition: opacity 200ms, transform 220ms; transform: translate(0, 0); }
.wheel-seg.active { opacity: 1; transform: translate(var(--dx), var(--dy)); filter: drop-shadow(0 0 16px var(--c)) drop-shadow(0 8px 14px rgba(0,0,0,0.3)); }
.wheel-center { position: absolute; left: 50%; top: 50%; width: 41%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--bg); border: 1px solid var(--bd); display: flex; align-items: center; justify-content: center; padding: 6%; pointer-events: none; }
.wheel-center img { width: 100%; height: auto; }
.wheel-center img.logo-light { display: none; }
[data-theme="light"] .wheel-center img.logo-dark { display: none; }
[data-theme="light"] .wheel-center img.logo-light { display: block; }
.wheel-lbl { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; width: 24%; background: none; border: 0; padding: 4px; color: #fff; font-family: inherit; font-size: clamp(12px, 1.6vw, 16px); font-weight: 600; line-height: 1.15; text-align: center; cursor: pointer; text-shadow: 0 1px 6px rgba(0,0,0,0.45); transition: transform 220ms; }
.wheel-lbl svg { width: clamp(28px, 4.2vw, 40px); height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35)); }
.wheel-lbl.active { transform: translate(-50%, -50%) scale(1.08); }
.wheel-lbl:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 4px; }
.areas-list { position: relative; overflow: hidden; background: var(--s-1); border: 1px solid var(--bd); border-radius: 8px; padding: 40px 40px 30px; min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; --panel-c: var(--red); }
.areas-list::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--panel-c); transition: background 300ms; }
.area-item { display: none; }
.area-item.active { display: block; animation: areaIn 280ms ease; }
@keyframes areaIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.area-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.area-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--c); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,0.18); }
.area-icon svg { width: 30px; height: 30px; }
.area-icon .ico-guard { width: 32px; }
.area-num { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; color: var(--c); }
.area-num i { font-style: normal; color: var(--fg-3); }
.area-item h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 14px; }
.area-item p { font-size: 17px; color: var(--fg-2); line-height: 1.65; }
.areas-ctrl { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--bd); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.area-dots { display: flex; gap: 9px; }
.area-dot { width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; background: var(--c); opacity: 0.35; cursor: pointer; transition: opacity 200ms, transform 200ms; }
.area-dot:hover { opacity: 0.7; }
.area-dot.active { opacity: 1; transform: scale(1.3); }
.areas-hint { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.ico-guard { display: block; width: 100%; aspect-ratio: 1; background: currentColor; -webkit-mask: url(../assets/icon-vigilante.png) center / contain no-repeat; mask: url(../assets/icon-vigilante.png) center / contain no-repeat; }
.wheel-lbl .ico-guard { width: clamp(28px, 4.2vw, 40px); filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35)); }
@media (max-width: 560px) { .wheel-lbl span:not(.ico-guard) { display: none; } }
@media (max-width: 900px) { .areas-grid { grid-template-columns: 1fr; gap: 32px; } }
.reach-links { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.reach-links p { width: 100%; max-width: 720px; margin: 0 auto 6px; font-size: 16px; line-height: 1.65; color: var(--fg-2); }


/* Efeitos: anel orbital, progresso, pulso e entrada */
.wheel-orbit { fill: none; stroke: var(--panel-c); stroke-width: 1.2; stroke-dasharray: 1.5 7; stroke-linecap: round; opacity: 0.75; transform-box: view-box; transform-origin: 200px 200px; animation: wheelSpin 46s linear infinite; transition: stroke 300ms; }
.wheel-track { fill: none; stroke: var(--bd); stroke-width: 1.5; }
.wheel-progress { fill: none; stroke: var(--panel-c); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke 300ms, opacity 300ms; }
.wheel-progress.run { animation: wheelProg 5s linear forwards; }
.wheel.is-manual .wheel-progress { opacity: 0; }
@keyframes wheelSpin { to { transform: rotate(360deg); } }
@keyframes wheelProg { from { stroke-dasharray: 0 100; } to { stroke-dasharray: 100 100; } }
.wheel-center::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--panel-c); opacity: 0; pointer-events: none; }
.wheel.flash .wheel-center::after { animation: wheelPulse 900ms ease-out; }
@keyframes wheelPulse { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.16); } }
.wheel .wheel-seg, .wheel .wheel-lbl, .wheel .wheel-center, .wheel .wheel-orbit, .wheel .wheel-track, .wheel .wheel-progress { opacity: 0; }
.wheel .wheel-seg { opacity: 0; }
.wheel.is-in .wheel-seg { opacity: 0.88; animation: segIn 800ms cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(var(--n, 0) * 90ms); transform-box: view-box; transform-origin: 200px 200px; }
.wheel.is-in .wheel-seg.active { opacity: 1; }
.wheel.is-in .wheel-lbl { opacity: 1; animation: fadeIn 500ms ease 700ms backwards; }
.wheel.is-in .wheel-center { opacity: 1; animation: centerIn 700ms cubic-bezier(.2,.8,.2,1) 300ms backwards; }
.wheel.is-in .wheel-orbit { opacity: 0.75; }
.wheel.is-in .wheel-track { opacity: 1; }
.wheel.is-in .wheel-progress { opacity: 1; }
.wheel.is-in.is-manual .wheel-progress { opacity: 0; }
@keyframes segIn { from { opacity: 0; transform: scale(0.35) rotate(-28deg); } }
@keyframes centerIn { from { opacity: 0; transform: translate(-50%, -50%) scale(0.6); } }
@keyframes fadeIn { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .wheel .wheel-seg, .wheel .wheel-lbl, .wheel .wheel-center, .wheel .wheel-track { opacity: 1; }
  .wheel .wheel-seg { opacity: 0.88; }
  .wheel .wheel-seg.active { opacity: 1; }
  .wheel .wheel-orbit { opacity: 0.75; animation: none; }
  .wheel.is-in .wheel-seg, .wheel.is-in .wheel-lbl, .wheel.is-in .wheel-center { animation: none; }
  .wheel.flash .wheel-center::after { animation: none; }
}
