/* ADCITIES · Home below the hero (R39). After adc-solutions.css (shared adc-sol* system). The hero is untouched. */
.adc-sol .adc-pub-label { display: block; margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.adc-hm-what { position: relative; z-index: 2; }

/* ---------- 2 · Plan / Activate / Measure: one city scene, three steps (autoplay, clickable) ---------- */
.adc-hm-flow { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(32px, 4vw, 72px); align-items: center; }
.adc-hm-flow__steps { display: grid; }
.adc-hm-flow__steps [role="tab"] {
  all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: grid; grid-template-columns: 1fr; gap: 6px;
  padding: 20px 0 22px; border-top: 1px solid var(--line); font-family: inherit; color: var(--ink);
}
.adc-hm-flow__steps [role="tab"] i { position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--or); transform: scaleX(var(--p, 0)); transform-origin: left; }
.adc-hm-flow__steps [role="tab"] b { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -.025em; font-weight: 600; color: #8A8079; transition: color .3s var(--ease); }
.adc-hm-flow__steps [role="tab"][aria-selected="true"] b { color: var(--ink); }
.adc-hm-flow__steps [role="tab"] span { font-size: 15.5px; line-height: 1.55; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .55s var(--ease-out), opacity .4s var(--ease); }
.adc-hm-flow__steps [role="tab"][aria-selected="true"] span { max-height: 7em; opacity: 1; }
.adc-hm-flow__steps [role="tab"]:focus-visible { outline: 2px solid var(--or); outline-offset: 4px; }
.adc-hm-flow__links { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.adc-hm-flow__stage { position: relative; margin: 0; aspect-ratio: 800 / 520; background: var(--panel); border-radius: 4px; overflow: hidden; }
.adc-hm-flow__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.adc-hm-flow__hud { position: absolute; left: 16px; top: 16px; margin: 0; display: grid; gap: 2px; padding: 10px 14px; background: rgba(255, 252, 250, .94); border-radius: 4px; box-shadow: 0 2px 12px rgba(30, 37, 48, .08); }
.adc-hm-flow__hud span { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8A8079; }
.adc-hm-flow__hud b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 899px) { .adc-hm-flow { grid-template-columns: minmax(0, 1fr); } .adc-hm-flow__stage { order: -1; } }
@media (max-width: 599px) { .adc-hm-flow__hud { left: 10px; top: 10px; padding: 8px 10px; } .adc-hm-flow__hud b { font-size: 14px; } }

/* ---------- 3 · OMI ---------- */
.adc-hm-omi__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px clamp(32px, 5vw, 96px); align-items: center; }
.adc-hm-omi .adc-sol-head { margin-bottom: clamp(24px, 3vw, 36px); }
.adc-hm-sig { display: grid; }
.adc-hm-sig button {
  all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: grid; gap: 4px; padding: 16px 0 16px 20px; border-top: 1px solid var(--line);
  font-family: inherit; color: var(--ink);
}
.adc-hm-sig button:last-child { border-bottom: 1px solid var(--line); }
.adc-hm-sig button::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; background: var(--or); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease-out); }
.adc-hm-sig button[aria-selected="true"]::before { transform: none; }
.adc-hm-sig b { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.adc-hm-sig span { font-size: 15px; line-height: 1.5; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease-out), opacity .4s var(--ease); }
.adc-hm-sig button[aria-selected="true"] span { max-height: 6em; opacity: 1; }
.adc-hm-sig button:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
.adc-hm-omi__more { margin-top: 24px; }
.adc-hm-omi__fig { margin: 0; display: grid; place-items: center; }
.adc-hm-omi__fig img { display: block; width: min(100%, 440px); height: auto; }
@media (max-width: 899px) { .adc-hm-omi__grid { grid-template-columns: minmax(0, 1fr); } .adc-hm-omi__fig { order: -1; } .adc-hm-omi__fig img { width: min(70%, 320px); } }

/* the OMI section on graphite, as the old OMI portal, to set OMI apart */
.adc-hm-omi--blue { background: #1E2530; color: #FBF4EF; padding-top: var(--sy, clamp(96px, 10vw, 160px)); }
.adc-hm-omi--blue + .adc-sol { padding-top: var(--sy, clamp(96px, 10vw, 160px)); }
.adc-hm-omi--blue .adc-sol__h2, .adc-hm-omi--blue .adc-sol__lead, .adc-hm-omi--blue .adc-hm-sig button, .adc-hm-omi--blue .adc-link { color: #FBF4EF; }
.adc-hm-omi--blue .adc-concept { color: rgba(251, 244, 239, .62); }
.adc-sol.adc-hm-omi--blue .adc-eyebrow { color: #FBF4EF !important; }   /* orange on purple does not read */
.adc-hm-omi--blue .adc-hm-sig button { border-color: rgba(251, 244, 239, .22); }
.adc-hm-omi--blue .adc-hm-sig button:focus-visible, .adc-hm-omi--blue .adc-link:focus-visible { outline-color: #FBF4EF; }

/* ---------- 3b · Layers ---------- */
.adc-hm-ly { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 260px); gap: 24px clamp(24px, 3vw, 48px); align-items: center; }
.adc-hm-ly__stage { position: relative; height: clamp(420px, 44vw, 640px); container-type: size; perspective: 2200px; perspective-origin: 50% 20%; overflow: hidden; }
.adc-hm-ly__stack { --s: min(52cqw, 64cqh); position: absolute; left: 50%; top: 60%; width: var(--s); height: var(--s); transform-style: preserve-3d; transform: translate(-50%, -50%) rotateX(57deg) rotateZ(calc(-36deg + var(--tilt, 0) * 1deg)); }
.adc-hm-ly__plane { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform, opacity; }
.adc-hm-ly__plane svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.adc-hm-ly__plane::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(30, 37, 48, .32); background: rgba(251, 244, 239, .5); }
.adc-hm-ly__plane--0::before { background: none; border-color: #1E2530; z-index: 1; }
.adc-hm-ly__plane--0 .ly-map { opacity: 1; mix-blend-mode: multiply; }
.adc-hm-ly__c, .adc-hm-ly__d { position: absolute; width: 0; height: 0; }
.adc-hm-ly__axis { position: absolute; width: 3px; margin-left: -1.5px; height: 0; background: var(--or); transform-origin: 50% 0; transform: rotateX(90deg); }
.adc-hm-ly__omi { position: absolute; left: 50%; top: 2%; width: clamp(84px, 15cqmin, 150px); height: auto; transform: translateX(-50%); }
.adc-hm-ly__wire { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.adc-hm-ly__read { stroke: var(--or); stroke-width: 1.5; stroke-dasharray: 3 5; }
.adc-hm-ly__list { display: grid; gap: 2px; }
.adc-hm-ly__list button {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--line);
  font-family: inherit; font-size: clamp(18px, 1.4vw, 21px); font-weight: 600; letter-spacing: -.02em; color: #8A8079; transition: color .25s var(--ease);
}
.adc-hm-ly__list i { width: 8px; height: 8px; flex: none; background: currentColor; opacity: .5; transition: opacity .25s, background-color .25s; }
.adc-hm-ly__list .is-o[aria-selected="true"] i { background: var(--or); opacity: 1; }
.adc-hm-ly__list .is-p[aria-selected="true"] i { background: var(--pu); opacity: 1; }
.adc-hm-ly__list button[aria-selected="true"], .adc-hm-ly__list button:hover { color: var(--ink); }
.adc-hm-ly__list button:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
.adc-hm-ly__out { display: grid; min-height: 96px; margin-top: 20px; }
.adc-hm-ly__out > p { grid-area: 1 / 1; margin: 0; opacity: 0; transition: opacity .3s var(--ease); display: flex; flex-wrap: wrap; align-content: start; gap: 6px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.adc-hm-ly__out > p.is-on { opacity: 1; }
/* R45: the outgoing line is gone before the next one appears, never one over the other */
.adc-hm-ly__out > p:not(.is-on) { visibility: hidden; transition: opacity .12s var(--ease), visibility 0s linear .12s; }
.adc-hm-ly__out > p.is-on { visibility: visible; transition: opacity .3s var(--ease) .14s, visibility 0s; }
.adc-hm-ly__out span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); font-size: 13px; line-height: 1.2; }
@media (max-width: 899px) {
  .adc-hm-ly { grid-template-columns: minmax(0, 1fr); }
  .adc-hm-ly__stage { height: min(96vw, 520px); }
  .adc-hm-ly__list { grid-template-columns: 1fr 1fr; column-gap: 16px; }
}

/* ---------- 6b · Industry leaders (same treatment as before on Careers) ---------- */
.adc-hm-team .adc-car-group { margin-top: 8px; text-align: center; }
.adc-car-people { list-style: none; margin: 0 0 clamp(48px, 6vw, 72px); padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(24px, 3vw, 40px) clamp(16px, 2.4vw, 32px); }
.adc-car-people:last-child { margin-bottom: 0; }
.adc-car-people li { width: calc((100% - 3 * clamp(16px, 2.4vw, 32px)) / 4); max-width: 230px; display: grid; justify-items: center; align-content: start; gap: 4px; text-align: center; }
.adc-car-people--cm li { width: calc((100% - 4 * clamp(16px, 2.4vw, 32px)) / 5); max-width: 200px; }
.adc-car-people--lead { max-width: calc(4 * 230px + 3 * clamp(16px, 2.4vw, 32px)); margin-left: auto; margin-right: auto; }
.adc-car-people img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 4px; margin-bottom: 12px; filter: grayscale(1); transition: filter .5s var(--ease); background: #DEDAD5; }
.adc-car-people li:hover img { filter: grayscale(0); }
.adc-car-people b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; color: var(--ink); }
.adc-car-people span { font-size: 13px; line-height: 1.45; max-width: 22em; color: var(--ink); }
@media (max-width: 899px) { .adc-car-people--cm li { width: calc((100% - 2 * clamp(16px, 2.4vw, 32px)) / 3); } }
@media (max-width: 599px) {
  .adc-hm-team .adc-car-group { text-align: left; }
  .adc-car-people { display: grid; gap: 0; }
  .adc-car-people li, .adc-car-people--cm li { width: auto; max-width: none; grid-template-columns: 72px 1fr; justify-items: start; text-align: left; column-gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); align-items: center; }
  .adc-car-people img { grid-row: span 2; margin: 0; }
  .adc-car-people b { align-self: end; }
  .adc-car-people span { align-self: start; }
}

/* ---------- 4 · Two doors ---------- */
.adc-hm-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(24px, 3vw, 48px); }
.adc-hm-door { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: var(--ink); text-decoration: none; min-width: 0; }
.adc-hm-door .adc-pub-label { margin: 12px 0 0; }
.adc-hm-door__t { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -.025em; font-weight: 600; }
.adc-hm-door .adc-link { margin-top: 4px; }
.adc-hm-ph { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; border: 1px dashed var(--line); border-radius: 4px; background: rgba(251, 244, 239, .6); overflow: hidden; }
.adc-hm-ph span { max-width: 26em; padding: 16px; text-align: center; font-size: 13px; line-height: 1.5; color: #8A8079; }
.adc-hm-door:hover .adc-hm-door__t { color: var(--or); }
.adc-hm-door:focus-visible { outline: 2px solid var(--or); outline-offset: 4px; }
@media (max-width: 699px) { .adc-hm-doors { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 5 · Cases: no running numbers on the cards ---------- */
.adc-hm-cases .adc-case__n { display: none; }
.adc-hm-cases .adc-cases__foot { margin-top: clamp(28px, 3vw, 40px); }

/* ---------- 6 · Logos sit on the beige band ---------- */
.adc-hm-logos.adc-sol--band { background: var(--warm); }

/* ---------- 7 · Close ---------- */
.adc-hm-close__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 96px); align-items: end; }
.adc-hm-close__side .adc-sol__lead { margin: 0 0 24px; }
@media (max-width: 899px) { .adc-hm-close__in { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 6b · Industry leaders, compact: two rows on one grid (leadership 7, country managers 5), left aligned ---------- */
.adc-hm-team .adc-car-group { text-align: left; margin: 0 0 14px; }
.adc-hm-team .adc-car-people, .adc-hm-team .adc-car-people--lead { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 24px clamp(12px, 1.6vw, 24px); max-width: none; margin: 0 0 clamp(36px, 4vw, 52px); justify-content: stretch; }
.adc-hm-team .adc-car-people:last-child { margin-bottom: 0; }
.adc-hm-team .adc-car-people li, .adc-hm-team .adc-car-people--cm li { width: auto; max-width: none; justify-items: start; text-align: left; gap: 2px; }
.adc-hm-team .adc-car-people img { margin-bottom: 10px; }
.adc-hm-team .adc-car-people b { font-size: 14.5px; }
.adc-hm-team .adc-car-people span { font-size: 12.5px; line-height: 1.4; }
@media (max-width: 1023px) {
  .adc-hm-team .adc-car-people--lead { grid-template-columns: repeat(5, minmax(0, 1fr)); }   /* 5 + 2, same photo size as the country managers */
  .adc-hm-team .adc-car-people--cm { grid-template-columns: repeat(5, minmax(0, 1fr)); }     /* one row of 5 */
}
/* phones: one person per row with the photo beside the name, so nobody is left alone on a line */
@media (max-width: 599px) {
  .adc-hm-team .adc-car-people, .adc-hm-team .adc-car-people--lead, .adc-hm-team .adc-car-people--cm { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .adc-hm-team .adc-car-people li, .adc-hm-team .adc-car-people--cm li { grid-template-columns: 64px 1fr; column-gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); align-items: center; }
  .adc-hm-team .adc-car-people img { grid-row: span 2; margin: 0; }
}
.adc-portal__cta { margin-top: 24px; }

/* ---------- 3b · Layers (R39d): names on the sheets, movement inside them ---------- */
.adc-hm-ly__k { position: absolute; width: 0; height: 0; }
.adc-hm-ly__stack { --s: min(56cqw, 68cqh); }
.adc-hm-ly__tag {
  all: unset; position: absolute; left: 0; top: 0; z-index: 3; cursor: pointer; display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #8A8079; padding: 4px 0; transition: color .25s var(--ease);
}
.adc-hm-ly__tag i { width: 7px; height: 7px; flex: none; opacity: .55; transition: opacity .25s; }
.adc-hm-ly__tag.is-on { color: var(--ink); }
.adc-hm-ly__tag.is-on i { opacity: 1; }
.adc-hm-ly__list button.is-pinned::after { content: "Fixed"; margin-left: auto; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--or); }
.adc-hm-ly__read { animation: lyRead 1.2s linear infinite; }
@keyframes lyRead { to { stroke-dashoffset: -16; } }
@keyframes lyPoi { 0%, 70%, 100% { fill: #1E2530; transform: scale(1); } 80% { fill: #E95B39; transform: scale(1.5); } }
@keyframes lyFlow { to { stroke-dashoffset: -26; } }
@keyframes lySpin { to { transform: rotate(360deg); } }
@keyframes lyEvent { 0%, 100% { transform: scale(.9); opacity: .65; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes lyRain { from { transform: translate(0, -14px); } to { transform: translate(-6px, 14px); } }
@keyframes lyCheck { 0%, 80%, 100% { fill: #FBF4EF; } 86%, 94% { fill: #DCCABD; } }
@keyframes lyBracket { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.adc-hm-ly.is-still *, .adc-hm-layers.is-still * { animation: none !important; }
@media (max-width: 899px) { .adc-hm-ly__tag { font-size: 11.5px; } }

/* R44 · door photos (Pinterest, brand marks removed; sources in assets/photos/FONTES.md) */
.adc-hm-door__img { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #F2E7DF; }
.adc-hm-door__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.adc-hm-door:hover .adc-hm-door__img img { transform: scale(1.03); }
