/* Photographic sector buttons. Motion never moves the interaction target. */
.operations {
  --sector-ink: #234c3a;
  display: block;
  min-height: 0;
  padding: 42px 4.5% 0;
  background: #e0eddf;
  color: var(--sector-ink);
  color-scheme: light;
}
.operations-note { display: flex; align-items: center; gap: 9px; font-size: 9px; letter-spacing: .12em; }
.operations-note > span { width: 5px; height: 5px; border-radius: 50%; background: #487b57; }
.operations-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin: 55px 3% 43px; }
.operations-heading h2 { font-size: clamp(46px, 5.2vw, 78px); font-weight: 400; }
.operations-heading em { color: #5b8063; }
.operations-heading p { font-size: 15px; line-height: 1.7; color: #4a6554; }
.operations-hint { display: flex; align-items: center; gap: 8px; font-size: 11px; margin-top: 20px; color: #355c42; }
.operations-hint svg { width: 15px; height: 15px; }
.sector-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; }
.sector-grid > li { min-width: 0; }
.sector-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 370px;
  padding: 27px;
  border: 1px solid #f3f8f080;
  border-radius: 7px;
  background: #345648;
  color: #fff;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: box-shadow .45s, border-color .4s;
}
.sector-photo { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.025); filter: saturate(.75); transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .7s; }
.sector-card--logistica .sector-photo { object-position: 62% 50%; }
.sector-card--portaria .sector-photo { object-position: 63% 50%; }
.sector-card--campo .sector-photo { object-position: 70% 50%; }
.sector-wash { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(16,41,32,.32), rgba(13,34,26,.04) 30%, rgba(12,33,25,.74) 68%, rgba(12,32,24,.94)), linear-gradient(115deg, rgba(38,82,61,.2), transparent 80%); }
.sector-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(140deg, rgba(122,182,131,.27), transparent 65%); opacity: 0; transition: opacity .7s; pointer-events: none; }
.sector-top { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.sector-icon { display: grid; place-items: center; width: 65px; height: 65px; border: 1px solid #e4f3e852; border-radius: 50%; background: #1a392e38; color: #f4fff7; transition: background .5s, color .5s, border-color .5s; }
.sector-icon svg { width: 35px; height: 35px; stroke-width: 1.45; stroke-linejoin: round; stroke-linecap: round; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.sector-icon-accent { stroke: #b4e2b4; }
.sector-number { padding-top: 4px; font-size: 9px; letter-spacing: .13em; color: #f0f8ef; text-shadow: 0 1px 7px #123223; }
.sector-content { display: block; margin-top: 25px; width: 100%; }
.sector-title { display: block; font-size: clamp(23px, 2vw, 32px); line-height: 1.13; font-weight: 450; letter-spacing: -.035em; text-wrap: balance; }
.sector-tags { display: block; margin-top: 10px; font-size: 10px; letter-spacing: .02em; color: #d8e6da; line-height: 1.5; }
.sector-reveal { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .55s cubic-bezier(.2,.7,.2,1), opacity .35s, margin .55s; margin-top: 0; }
.sector-reveal > span { display: block; overflow: hidden; min-height: 0; color: #e2ede3; font-size: 13px; line-height: 1.55; max-width: 340px; }
.sector-action { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-top: 16px; margin-top: 20px; border-top: 1px solid #d8f2df45; font-size: 11px; font-weight: 450; color: #eff9ed; }
.sector-action > span:first-child { display: flex; align-items: center; gap: 10px; }
.sector-count { font-size: 9px; color: #cae6ca; border: 1px solid #d3ebd047; border-radius: 20px; min-width: 23px; height: 19px; display: inline-flex; align-items: center; justify-content: center; }
.sector-count:empty { display: none; }
.sector-arrow { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #dfefdf73; border-radius: 50%; transition: background .4s, color .4s, border-color .4s; }
.sector-arrow svg { width: 16px; height: 16px; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.sector-card:focus-visible { outline: 3px solid #37774c; outline-offset: 4px; }
.sector-card:focus-visible .sector-reveal { grid-template-rows: 1fr; opacity: 1; margin-top: 15px; }
.sector-card:focus-visible .sector-arrow { background: #c9ebbc; color: #244c33; border-color: #c9ebbc; }
.operations-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 35px; padding: 26px 3% 37px; border-top: 1px solid #b7cdb8; }
.operations-footer p { font-size: 12px; color: #4d6856; }
@media (hover: hover) and (pointer: fine) {
  .sector-card:hover { border-color: #a6cd9e; box-shadow: 0 14px 35px -17px #2f553e77; }
  .sector-card:hover .sector-photo { transform: scale(1.115) translate(var(--photo-x,0px),var(--photo-y,0px)); filter: saturate(1); }
  .sector-card:hover::after { opacity: 1; }
  .sector-card:hover .sector-icon { background: #d2ecc2; color: #28563b; border-color: #d2ecc2; }
  .sector-card:hover .sector-icon-accent { stroke: #447c51; }
  .sector-card:hover .sector-icon svg { transform: scale(1.1); }
  .sector-card:hover .sector-reveal { grid-template-rows: 1fr; opacity: 1; margin-top: 15px; }
  .sector-card:hover .sector-arrow { background: #c9ebbc; color: #244c33; border-color: #c9ebbc; }
  .sector-card:hover .sector-arrow svg { transform: rotate(45deg); }
}
@media (min-width: 1600px) {
  .sector-card { min-height: 435px; padding: 34px; }
  .sector-reveal > span { font-size: 14px; }
}
@media (max-width: 1100px) {
  .sector-grid { gap: 14px; }
  .sector-card { min-height: 370px; padding: 22px; }
  .sector-title { font-size: 25px; }
  .sector-tags { font-size: 9px; }
  .sector-icon { width: 55px; height: 55px; }
  .sector-icon svg { width: 31px; height: 31px; }
}
@media (max-width: 900px) { .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .operations { padding: 30px 6% 0; min-height: 0; }
  .operations-note { font-size: 7px; letter-spacing: .05em; gap: 5px; }
  .operations-heading { display: block; margin: 39px 0 28px; }
  .operations-heading h2 { font-size: 47px; }
  .operations-heading p { font-size: 13px; margin-top: 22px; }
  .operations-hint { margin-top: 12px; font-size: 10px; }
  .sector-card { min-height: 350px; padding: 22px; }
  .sector-title { font-size: 26px; }
  .operations-footer { align-items: start; flex-direction: column; gap: 17px; padding: 24px 0 30px; margin-top: 28px; }
  .operations-footer p { font-size: 11px; }
}
@media (max-width: 560px) {
  .sector-grid { grid-template-columns: 1fr; gap: 15px; }
  .sector-content { margin-top: 25px; }
  .sector-tags { font-size: 10px; }
  .sector-reveal { grid-template-rows: 1fr; opacity: 1; margin-top: 13px; }
  .sector-reveal > span { font-size: 12px; }
  .sector-action { margin-top: 16px; padding-top: 13px; }
  .sector-arrow { background: #c9ebbc; color: #244c33; border-color: #c9ebbc; }
}
@media (hover: none), (pointer: coarse) {
  .sector-reveal { grid-template-rows: 1fr; opacity: 1; margin-top: 13px; }
  .sector-photo { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sector-card .sector-photo, .sector-card:hover .sector-photo, .sector-card .sector-icon svg, .sector-card .sector-arrow svg { transform: none; }
}
.motion-paused .sector-photo, .motion-paused .sector-card:hover .sector-photo { transform: none; }
