/* Port of the approved R2 reference into the current institutional portal. */
body.sertanex-r2-portal{font-family:"Inter R2",Inter,system-ui,sans-serif}
.sertanex-r2-portal .container{width:min(1200px,calc(100% - 64px));max-width:1200px;margin-inline:auto}
.sertanex-r2-portal .header-inner{width:min(1200px,calc(100% - 64px));justify-content:space-between;gap:24px}
.sertanex-r2-portal .nav{margin-left:auto;gap:24px;font-size:13.5px;font-weight:600}
.sertanex-r2-portal .hero-inner{width:min(1200px,calc(100% - 64px));margin-inline:auto}
.sertanex-r2-portal .hero-copy{text-align:left;text-align-last:auto;hyphens:none}
.r2-hero-actions{display:flex;flex-wrap:wrap;gap:10px}.r2-hero-actions .button{width:auto!important;flex:1 1 200px;font-size:14.5px;text-align:center}
.r2-hero-content .hero-note{max-width:65ch}

/* Motion control integrated cleanly in the footer utility strip, never floating over content. */
.r2-motion-control{
  position:static;
  min-height:44px;
  padding:10px 15px;
  border:1px solid #a65b2b;
  border-radius:12px;
  background:#fff8ed;
  color:#713215;
  font:650 13px/1.4 "Inter R2",Inter,sans-serif;
  box-shadow:none;
}
.r2-motion-control:hover{background:#ffecd2}
.r2-motion-control:focus-visible{outline:3px solid #823111;outline-offset:4px}

section#plataforma.r2-equipe.container,
.r2-equipe.container{
  width:min(1200px,calc(100% - 64px));
  max-width:1200px;
  margin-inline:auto;
  padding-block:32px 42px;
}
.r2-equipe-links a{min-height:72px}

.site-footer{padding:24px 0 28px}
.site-footer .footer-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.9fr) 64px;gap:18px 28px;align-items:center}
.site-footer .footer-brand{grid-column:1;grid-row:1}.site-footer .footer-nav{grid-column:1;grid-row:2;flex-wrap:wrap}.site-footer .footer-note{grid-column:2;grid-row:1/span 2;white-space:normal;text-align:left;max-width:48ch;font-size:11px;line-height:1.7}
.site-footer .r2-footer-symbol{grid-column:3;grid-row:1/span 2;width:64px;height:auto}
.r2-public-reference{width:min(1100px,calc(100% - 32px));margin:24px auto}.r2-public-reference img{display:block;width:100%;height:auto;border:1px solid #cb945f;border-radius:16px}
.r2-public-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px 24px;padding:24px max(18px,calc((100% - 1100px)/2));border-top:2px solid #dc7b31;background:#fff8ed;font-size:14px}.r2-public-footer img{width:56px;height:auto;flex:none}

.site-footer .footer-nav a::before{content:none!important}

.r2-footer-motion{
  width:min(1200px,calc(100% - 32px));
  margin:12px auto 0;
  padding-top:10px;
  border-top:1px solid #ead9cc;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
}
.r2-public-footer .r2-footer-motion{width:auto;margin:0;padding:0;border:0}
.r2-footer-motion .r2-motion-control{position:static;max-width:100%;box-shadow:none}
.r2-motion-dismiss{min-height:44px;padding:.5rem .75rem;color:#713215;background:transparent;border:1px solid #a65b2b;border-radius:.65rem;font:600 12.5px/1.3 "Inter R2",Inter,sans-serif;cursor:pointer}
.r2-motion-dismiss[hidden],.r2-footer-motion .r2-motion-control[hidden]{display:none}
.r2-footer-motion:not(:has(:not([hidden]))){display:none}

@media(max-width:1080px){
  .sertanex-r2-portal .nav{gap:16px;font-size:13px}
}
@media(max-width:900px){
  .sertanex-r2-portal .container,
  .sertanex-r2-portal .header-inner,
  .sertanex-r2-portal .hero-inner,
  section#plataforma.r2-equipe.container,
  .r2-equipe.container{width:calc(100% - 40px);margin-inline:auto}
  .sertanex-r2-portal .nav{margin-left:0;gap:14px 20px}
}
@media(max-width:850px){.site-footer .footer-top{grid-template-columns:minmax(0,1fr) 52px}.site-footer .footer-brand{grid-column:1;grid-row:1}.site-footer .footer-nav{grid-column:1;grid-row:2}.site-footer .footer-note{grid-column:1;grid-row:3}.site-footer .r2-footer-symbol{grid-column:2;grid-row:1/span 3;width:52px}}
@media(max-width:700px){.sertanex-r2-portal .r2-hero-content{grid-template-columns:minmax(0,1fr)}}
@media(max-width:560px){
  .sertanex-r2-portal .container,
  .sertanex-r2-portal .header-inner,
  .sertanex-r2-portal .hero-inner,
  section#plataforma.r2-equipe.container,
  .r2-equipe.container{width:calc(100% - 32px);margin-inline:auto}
  .r2-footer-motion{width:calc(100% - 24px)}
  .r2-hero-content .hero-note{font-size:12px}
  .r2-public-reference{width:calc(100% - 24px)}
  .r2-public-footer{gap:15px;font-size:12px}
}
