/* Centro Theme · Fase 8 — Experimental seguro.
   Tudo neste arquivo tem fallback natural ou @supports. */

@media (prefers-reduced-motion:no-preference){
  html.centro-supports-view-transitions::view-transition-old(root){
    animation-duration:.16s;
    animation-timing-function:ease-out;
  }
  html.centro-supports-view-transitions::view-transition-new(root){
    animation-duration:.18s;
    animation-timing-function:ease-out;
  }
  html.centro-supports-view-transitions ::view-transition-group(*){
    animation-duration:.2s;
    animation-timing-function:cubic-bezier(.2,.7,.2,1);
  }
}

@media (prefers-reduced-motion:reduce){
  ::view-transition-old(*),
  ::view-transition-new(*),
  ::view-transition-group(*){animation-duration:.001ms!important}
}

.centro-share-popover{
  position:fixed;
  inset:50% auto auto 50%;
  translate:-50% -50%;
  margin:0;
  width:min(92vw,340px);
  border:1px solid var(--centro-border,#e3e9ee);
  border-radius:16px;
  padding:14px;
  background:var(--centro-surface,#fff);
  color:var(--centro-text,#132a3e);
  box-shadow:0 18px 55px rgba(0,0,0,.16);
}
.centro-share-popover::backdrop{background:rgba(10,18,15,.18)}
.centro-share-popover>strong{display:block;margin:0 0 10px;font-size:.92rem}
.centro-share-popover__actions{display:grid;gap:8px}
.centro-share-popover__actions a,
.centro-share-popover__actions button{
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  width:100%;
  padding:9px 12px;
  border:1px solid var(--centro-border,#e3e9ee);
  border-radius:12px;
  background:var(--centro-surface,#fff);
  color:inherit;
  text-decoration:none;
  font:inherit;
  cursor:pointer;
}
.centro-share-popover__actions a:hover,
.centro-share-popover__actions button:hover{background:#fff;background:color-mix(in srgb,var(--centro-accent,#1b5f8c) 8%,#fff)}

@supports (position-area:bottom){
  html.centro-supports-anchor-positioning .centro-share-popover[data-centro-anchor-enabled="1"]{
    position:fixed;
    position-area:bottom;
    inset:auto;
    translate:none;
    margin:8px 0 0;
  }
}

@supports (content-visibility:auto){
  html.centro-supports-content-visibility body.centro-render-optimized .centro-defer-render{
    content-visibility:auto;
  }
}
