:root{
  --mfv-blue:#0b2545;
  --mfv-blue-hover:#081a31;        /* hover/press */
  --mfv-gold:#d4af37;              /* hover dos links do menu (desktop) */
  --text:#0f172a;
  --radius:28px;                    /* cantos do herói */

  /* Posição do texto */
  --hero-offset-mobile:10%;         /* quanto MAIOR, mais pra CIMA (MOBILE) – valor menor desce */
  --hero-top-desktop:28vh;          /* mais ALTO = mais pra baixo (DESKTOP) */
  --hero-content-max: 700px;        /* largura do bloco de texto no desktop */
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:'Montserrat', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial;
  color:var(--text);
  background:#eef6f7;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
a{color:inherit; text-decoration:none}
[hidden]{display:none !important}

/* ===== HEADER ===== */
.hdr{
  position:fixed; inset:0 0 auto 0; height:64px; z-index:2000;
  display:flex; align-items:center;
  background:transparent;
  transition:background .25s ease, box-shadow .25s ease, color .25s ease;
  padding-top:env(safe-area-inset-top);
}
.hdr.scrolled{ background:#fff; box-shadow:0 8px 24px rgba(0,0,0,.07); }
.hdr .wrap{
  width:min(1200px, 92%); margin-inline:auto;
  display:flex; align-items:center; justify-content:space-between;
}
.logo{height:40px; width:auto; display:block}
.hdr.scrolled .logo{ filter:drop-shadow(0 0 1px rgba(0,0,0,.25)) drop-shadow(0 1px 1px rgba(0,0,0,.15)); }

.menu{list-style:none; margin:0; padding:0; display:flex; gap:22px; align-items:center}
.menu a{font-weight:600; letter-spacing:.2px; opacity:.95; transition:color .2s ease}

.menu--desk{display:none}
.hamb{
  width:40px; height:40px; display:grid; place-items:center;
  background:transparent; border:0; padding:0; cursor:pointer;
  touch-action:manipulation; z-index:2100;
}
.hamb span{width:22px; height:2px; display:block; border-radius:2px; transition:.25s}

.hdr, .menu a{color:#fff}
.hamb span{background:#fff}
.hdr.scrolled, .hdr.scrolled .menu a{color:var(--mfv-blue)}
.hdr.scrolled .hamb span{background:var(--mfv-blue)}
@media (hover:hover){ .menu--desk a:hover{ color:var(--mfv-gold); } }

/* ===== MENU MOBILE ===== */
.menuMob{
  position:fixed; inset:64px 0 0 0; z-index:1900;
  background:rgba(0,0,0,.45);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  backdrop-filter: blur(8px) saturate(140%);
  color:#fff; display:flex; align-items:flex-start; padding:20px 6%;
}
.menu--mob{flex-direction:column; gap:16px; width:100%}
.menu--mob a{color:#fff}

/* Botões */
.btn-cta{
  background:var(--mfv-blue); color:#fff;
  padding:.7rem 1.1rem; border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  font-weight:700;
  transition:background-color .2s ease, border-color .2s ease, color .2s ease, transform .05s;
  touch-action:manipulation;
}
.btn-cta--alt{ background:transparent; border:1.6px solid #fff; color:#fff; }
.btn-cta--wa{
  background: var(--wa-green, #128C7E);
  border-color: rgba(255,255,255,.12);
  color:#fff;
}
.menu a.btn-cta{ opacity: 1; }
.hdr.scrolled .menu a.btn-cta{ color: #fff; }
@media (hover:hover){
  .btn-cta:hover, .btn-cta:focus-visible{ background:var(--mfv-blue-hover); border-color:var(--mfv-blue-hover); }
  .btn-cta--alt:hover, .btn-cta--alt:focus-visible{ background:var(--mfv-blue-hover); border-color:var(--mfv-blue-hover); color:#fff; }
  .btn-cta--wa:hover, .btn-cta--wa:focus-visible{ background:var(--wa-green-dark, #0E736D); border-color:var(--wa-green-dark, #0E736D); }
}
.btn-cta:active, .btn-cta.is-pressed{ background:var(--mfv-blue-hover); border-color:var(--mfv-blue-hover); transform:translateY(1px); }
.btn-cta--alt:active, .btn-cta--alt.is-pressed{ background:var(--mfv-blue-hover); border-color:var(--mfv-blue-hover); color:#fff; transform:translateY(1px); }
.btn-cta--wa:active, .btn-cta--wa.is-pressed{ background:var(--wa-green-dark, #0E736D); border-color:var(--wa-green-dark, #0E736D); transform:translateY(1px); }

/* ===== HERO / CARROSSEL ===== */
.hero{
  position:relative; min-height:100svh; overflow:hidden;
  background:#000; border-bottom-left-radius:var(--radius); border-bottom-right-radius:var(--radius);
}
.carousel{ position:relative; height:100svh; }
.slides{
  display:flex; width:100%; height:100%;
  transform:translateX(0); transition:transform .5s ease;
  touch-action:pan-y;
}
.slide{ position:relative; min-width:100%; height:100%; }
.media{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }

/* Controles do carrossel (setas + dots) */
.hero-controls{
  position:absolute;
  left:6%;
  right:6%;
  bottom:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  pointer-events:none; /* evita bloquear o swipe */
}
.hero-btn{
  pointer-events:auto;
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.35);
  background:rgba(0,0,0,.25);
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .15s ease, background .2s ease;
}
.hero-btn:active{ transform: translateY(1px); }
.hero-btn:focus-visible{ outline:2px solid rgba(212,175,55,.8); outline-offset:2px; }

.hero-dots{
  pointer-events:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex:1;
}
.hero-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.55);
  background:rgba(255,255,255,.15);
  padding:0;
  cursor:pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.hero-dot[aria-current="true"]{
  background:rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.92);
  transform: scale(1.08);
}

@media (min-width: 992px){
  .hero-controls{ left:auto; right: calc((100vw - min(1200px, 92vw)) / 2); width: min(460px, 40vw); }
}

/* mobile usa mídias “only-mobile”; desktop, “only-desktop” */
.only-mobile{ display:block; } .only-desktop{ display:none; }

/* Conteúdo do hero — MOBILE (alinhado à ESQUERDA e mais BAIXO) */
.hero__content{
  position:absolute;
  left:6%; right:6%;
  bottom:var(--hero-offset-mobile);
  max-width:32ch;                   /* largura do bloco de texto no mobile */
  text-align:left; color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.35);
}
.hero__content h1, .hero__content h2{
  font-weight:800; letter-spacing:.2px;
  font-size:clamp(1.5rem, 5.2vw, 2.4rem);
  margin:.25rem 0 .5rem;
}
.subtitle{
  font-size:clamp(.95rem, 2.8vw, 1.05rem);
  margin:0 0 1rem 0; opacity:.95; line-height:1.45;
}
.hero__cta{ display:flex; justify-content:flex-start; }

/* DESKTOP: alinha à ESQUERDA, mais BAIXO, e ancorado ao “container” do site */
@media (min-width:992px){
  .menu--desk{display:flex} .hamb{display:none}
  .only-mobile{ display:none; } .only-desktop{ display:block; }

  .hero__content{
    /* coloca o bloco alinhado com a margem esquerda do container central (max 1200px, 92vw) */
    left: calc((100vw - min(1200px, 92vw)) / 2);
    right: auto;
    top: var(--hero-top-desktop);
    bottom: auto;
    max-width: var(--hero-content-max);
  }
  .hero__content h1, .hero__content h2{
    font-size:clamp(2rem, 4.4vw, 3.2rem);
    margin:0 0 .6rem;
  }
  .subtitle{ font-size:clamp(1rem, 1.2vw, 1.125rem); margin-bottom:1.1rem; }
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce){
  *{animation:none !important; transition:none !important}
}
/* ===== AJUSTES DE ESCALA NO MOBILE (<= 991px) ===== */
@media (max-width: 991px){

  /* Títulos do carrossel menores */
  .hero__content h1,
  .hero__content h2{
    /* antes: clamp(1.5rem, 5.2vw, 2.4rem) */
    font-size: clamp(1.25rem, 4.4vw, 1.9rem);
    line-height: 1.15;
    letter-spacing: .1px;
  }

  /* Subtítulo menor */
  .hero__content .subtitle{
    /* antes: clamp(.95rem, 2.8vw, 1.05rem) */
    font-size: clamp(.9rem, 2.4vw, 1rem);
    line-height: 1.4;
  }

  /* CTA mais compacto */
  .btn-cta,
  .btn-cta--alt{
    padding: .55rem .9rem;   /* antes: .7rem 1.1rem */
    font-size: .95rem;
    border-width: 1.4px;     /* antes: 1.6px no alt */
  }

  /* Logo levemente menor */
  .logo{ height: 36px; }     /* antes: 40px */

  /* Hambúrguer: mantém área de toque, barras visuais menores */
  .hamb{ width: 40px; height: 40px; } /* touch target ok */
  .hamb span{
    width: 18px;             /* antes: 22px */
    height: 2px;             /* mantém fino */
  }
}

/* ===== ACESSO ADMINISTRATIVO MFV NEXT ===== */
body.admin-login-page{
  --auth-black:#07090c;
  --auth-navy:#0a2039;
  --auth-gold:#c9a55d;
  --auth-ink:#0c1725;
  --auth-muted:#697482;
  min-height:100svh;
  padding:clamp(16px,3.5vw,46px);
  display:grid;
  place-items:center;
  overflow-x:hidden;
  background:#e8ebed;
  color:var(--auth-ink);
}

.mfv-authFilters{
  position:fixed;
  pointer-events:none;
}

.mfv-auth{
  width:min(1120px,100%);
  min-height:min(720px,calc(100svh - clamp(32px,7vw,92px)));
  padding:8px;
  display:grid;
  grid-template-columns:minmax(0,.96fr) minmax(400px,1.04fr);
  gap:8px;
  overflow:hidden;
  border:1px solid rgba(10,32,57,.08);
  border-radius:24px;
  background:#fcfcfc;
  box-shadow:0 24px 70px rgba(20,31,42,.14);
}

.mfv-auth__brand{
  position:relative;
  min-height:640px;
  padding:36px;
  display:grid;
  grid-template-rows:1fr auto;
  overflow:hidden;
  border-radius:17px;
  isolation:isolate;
  background:
    radial-gradient(circle at 50% 112%, rgba(18,67,110,.76) 0%, rgba(9,35,62,.5) 30%, transparent 61%),
    radial-gradient(circle at 92% 4%, rgba(255,255,255,.08), transparent 28%),
    linear-gradient(145deg,#050607 0%,#080b10 48%,#081421 100%);
}

.mfv-auth__brand::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  opacity:.16;
  background:
    linear-gradient(110deg,transparent 0 45%,rgba(255,255,255,.09) 45.2%,transparent 45.6%),
    linear-gradient(18deg,transparent 0 70%,rgba(201,165,93,.13) 70.2%,transparent 70.55%);
}

.mfv-auth__brand::after{
  content:"";
  position:absolute;
  inset:13px;
  z-index:-1;
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  pointer-events:none;
}

.mfv-auth__motion{
  position:absolute;
  inset:0;
  z-index:-1;
  overflow:hidden;
  pointer-events:none;
}

.mfv-auth__motion::before{
  content:"";
  position:absolute;
  left:-22%;
  bottom:-34%;
  width:78%;
  aspect-ratio:1;
  border-radius:50%;
  background:radial-gradient(circle,rgba(29,95,151,.38) 0%,rgba(13,56,94,.17) 44%,transparent 72%);
  filter:blur(2px);
  animation:mfvAuthGlow 11s ease-in-out infinite alternate;
}

.mfv-auth__motion::after{
  content:"";
  position:absolute;
  top:-20%;
  left:-90%;
  width:82%;
  height:140%;
  transform:rotate(17deg);
  background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.015) 38%,rgba(201,165,93,.11) 50%,rgba(255,255,255,.015) 62%,transparent 100%);
  filter:blur(1px);
  animation:mfvAuthSweep 9s cubic-bezier(.45,0,.25,1) infinite;
}

@keyframes mfvAuthGlow{
  0%{ transform:translate3d(-4%,-2%,0) scale(.94); opacity:.62; }
  100%{ transform:translate3d(46%,-28%,0) scale(1.16); opacity:1; }
}

@keyframes mfvAuthSweep{
  0%,18%{ transform:translate3d(0,0,0) rotate(17deg); opacity:0; }
  30%{ opacity:.75; }
  68%{ opacity:.45; }
  82%,100%{ transform:translate3d(255%,0,0) rotate(17deg); opacity:0; }
}

.mfv-auth__brandContent{
  align-self:center;
  display:grid;
  justify-items:center;
  gap:20px;
  text-align:center;
}

.mfv-auth__logoLink{
  position:relative;
  width:min(78%,370px);
  aspect-ratio:1.22;
  display:block;
  overflow:hidden;
}

.mfv-auth__logo{
  position:absolute;
  left:50%;
  top:50%;
  width:210%;
  max-width:none;
  transform:translate(-47%,-58%);
  filter:url(#mfvLogoKnockout) drop-shadow(0 10px 32px rgba(201,165,93,.16));
}

.mfv-auth__brand h1{
  max-width:20ch;
  margin:0;
  color:rgba(255,255,255,.96);
  font-size:clamp(1.35rem,2vw,1.82rem);
  font-weight:600;
  line-height:1.25;
  letter-spacing:-.035em;
}

.mfv-auth__security{
  margin:0;
  display:flex;
  align-items:center;
  gap:9px;
  color:rgba(255,255,255,.58);
  font-size:.72rem;
  font-weight:500;
}

.mfv-auth__security svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:var(--auth-gold);
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.mfv-auth__access{
  min-width:0;
  min-height:640px;
  padding:clamp(38px,6vw,76px);
  display:grid;
  place-items:center;
  background:#fcfcfc;
}

.mfv-auth__formWrap{
  width:min(410px,100%);
}

.mfv-auth__heading{
  display:grid;
  gap:11px;
}

.mfv-auth__monogram{
  width:max-content;
  color:var(--auth-gold);
  font-size:1.2rem;
  font-weight:800;
  line-height:1;
}

.mfv-auth__heading h2{
  margin:0;
  color:var(--auth-ink);
  font-size:clamp(1.85rem,3vw,2.45rem);
  line-height:1.08;
  letter-spacing:-.05em;
}

.mfv-auth__heading p{
  max-width:39ch;
  margin:0;
  color:var(--auth-muted);
  font-size:.9rem;
  line-height:1.65;
}

.mfv-auth__card{
  width:100%;
  margin-top:34px;
}

.mfv-auth__bootstrapIntro{
  margin-bottom:22px;
}

.mfv-auth__bootstrapIntro h3{
  margin:0 0 8px;
  color:var(--auth-ink);
  font-size:1.12rem;
  letter-spacing:-.025em;
}

.mfv-auth__bootstrapIntro p{
  margin:0;
  color:var(--auth-muted);
  font-size:.82rem;
  line-height:1.55;
}

.mfv-auth__form{
  display:grid;
  gap:18px;
}

.mfv-auth__field{
  display:grid;
  gap:8px;
}

.mfv-auth__field > span:not(.admin-passwordField){
  color:#2a3440;
  font-size:.75rem;
  font-weight:650;
}

.mfv-auth__field input{
  width:100%;
  min-height:50px;
  padding:0 15px;
  border:1px solid transparent;
  border-radius:8px;
  outline:0;
  background:#f0f2f3;
  color:var(--auth-ink);
  font:inherit;
  font-size:.86rem;
  transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease;
}

.mfv-auth__field input::placeholder{
  color:#929aa3;
}

.mfv-auth__field input:hover{
  background:#eceff1;
}

.mfv-auth__field input:focus{
  border-color:#8291a0;
  background:#fff;
  box-shadow:0 0 0 3px rgba(10,32,57,.08);
}

.mfv-auth .admin-passwordField{
  position:relative;
  display:block;
}

.mfv-auth .admin-passwordField input{
  padding-right:52px;
}

.mfv-auth .admin-passwordToggle{
  position:absolute;
  top:50%;
  right:7px;
  width:36px;
  height:36px;
  padding:9px;
  display:grid;
  place-items:center;
  transform:translateY(-50%);
  border:0;
  border-radius:6px;
  background:transparent;
  color:#747f8b;
  cursor:pointer;
}

.mfv-auth .admin-passwordToggle:hover,
.mfv-auth .admin-passwordToggle:focus-visible{
  outline:0;
  background:#e1e5e8;
  color:var(--auth-ink);
}

.mfv-auth .admin-passwordToggle svg{
  width:100%;
  height:100%;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
}

.mfv-auth .admin-form__actions{
  display:block;
  margin-top:2px;
}

.mfv-auth .admin-loginSubmit{
  width:100%;
  min-height:50px;
  padding:0 20px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:8px;
  background:linear-gradient(135deg,#15181c,#050607);
  color:#fff;
  font-size:.82rem;
  font-weight:700;
  box-shadow:0 10px 20px rgba(7,9,12,.18);
  cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease;
}

.mfv-auth .admin-loginSubmit:hover,
.mfv-auth .admin-loginSubmit:focus-visible{
  outline:2px solid rgba(201,165,93,.55);
  outline-offset:2px;
  transform:translateY(-1px);
  box-shadow:0 13px 24px rgba(7,9,12,.22);
}

.mfv-auth .admin-loginSubmit:active{
  transform:translateY(0);
}

.mfv-auth .admin-inline-status{
  min-height:20px;
  margin:12px 0 0;
  font-size:.77rem;
  line-height:1.45;
  text-align:center;
}

.mfv-auth .admin-inline-status[data-state="error"]{ color:#a83232; }
.mfv-auth .admin-inline-status[data-state="success"]{ color:#18704c; }

.mfv-auth__footer{
  margin-top:30px;
  padding-top:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border-top:1px solid #e8eaec;
  color:#88919a;
  font-size:.69rem;
}

.mfv-auth .admin-loginBack{
  width:max-content;
  margin:0;
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#65707b;
  font-size:.72rem;
  font-weight:600;
  text-decoration:none;
}

.mfv-auth .admin-loginBack svg{
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.mfv-auth .admin-loginBack:hover,
.mfv-auth .admin-loginBack:focus-visible{
  color:var(--auth-ink);
  outline:none;
  text-decoration:underline;
  text-underline-offset:4px;
}

@media (max-width:900px){
  body.admin-login-page{
    padding:18px;
  }

  .mfv-auth{
    width:min(720px,100%);
    min-height:0;
    grid-template-columns:1fr;
  }

  .mfv-auth__brand{
    min-height:290px;
    padding:26px;
  }

  .mfv-auth__brandContent{
    gap:10px;
  }

  .mfv-auth__logoLink{
    width:min(58%,310px);
  }

  .mfv-auth__brand h1{
    font-size:1.35rem;
  }

  .mfv-auth__access{
    min-height:0;
    padding:48px clamp(26px,8vw,66px);
  }
}

@media (max-width:520px){
  body.admin-login-page{
    padding:0;
    place-items:stretch;
    background:#fcfcfc;
  }

  .mfv-auth{
    min-height:100svh;
    padding:0;
    gap:0;
    border:0;
    border-radius:0;
    box-shadow:none;
  }

  .mfv-auth__brand{
    min-height:238px;
    padding:22px;
    border-radius:0 0 18px 18px;
  }

  .mfv-auth__brand::after{
    inset:10px;
    border-radius:10px;
  }

  .mfv-auth__logoLink{
    width:min(66%,240px);
  }

  .mfv-auth__brand h1{
    font-size:1.16rem;
  }

  .mfv-auth__security{
    font-size:.64rem;
  }

  .mfv-auth__access{
    padding:38px 24px 28px;
    align-items:start;
  }

  .mfv-auth__heading h2{
    font-size:1.78rem;
  }

  .mfv-auth__heading p{
    font-size:.82rem;
  }

  .mfv-auth__card{
    margin-top:28px;
  }

  .mfv-auth__footer{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }
}

@media (prefers-reduced-motion:reduce){
  .mfv-auth__motion::before,
  .mfv-auth__motion::after,
  .mfv-auth__field input,
  .mfv-auth .admin-loginSubmit{
    animation:none;
    transition:none;
  }
}

/* =========================================================
 * Admin 3.0 - workspace editorial MFV
 * ========================================================= */
body.admin-app,
body.admin-login-page{
  --admin-navy:#081d35;
  --admin-navy-soft:#102c4d;
  --admin-gold:#d4b15f;
  --admin-canvas:#f2f5f7;
  --admin-surface:#ffffff;
  --admin-ink:#102033;
  --admin-muted:#68778a;
  --admin-line:#dfe6eb;
  background:var(--admin-canvas);
  color:var(--admin-ink);
}

body.admin-app{
  min-height:100%;
}

body.admin-app .admin-header{
  position:fixed;
  inset:0 auto 0 0;
  z-index:70;
  width:268px;
  height:100dvh;
  overflow-y:auto;
  background:
    radial-gradient(circle at 18% 3%, rgba(212,177,95,.13), transparent 28%),
    linear-gradient(180deg, #0a213c 0%, #07182b 100%);
  border:0;
  border-right:1px solid rgba(255,255,255,.08);
  box-shadow:12px 0 34px rgba(4,18,34,.08);
  backdrop-filter:none;
}

body.admin-app .admin-header__wrap{
  width:100%;
  min-height:100%;
  margin:0;
  padding:28px 20px 22px;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  gap:0;
}

body.admin-app .admin-brand{
  display:grid;
  gap:15px;
  padding:0 8px 24px;
  border-bottom:1px solid rgba(255,255,255,.1);
}

body.admin-app .admin-brand img{
  width:100%;
  max-width:206px;
  filter:drop-shadow(0 8px 20px rgba(0,0,0,.18));
}

body.admin-app .admin-brand strong{
  color:#fff;
  font-size:.92rem;
  letter-spacing:.02em;
}

body.admin-app .admin-brand span{
  margin-top:3px;
  color:rgba(255,255,255,.54);
  font-size:.78rem;
}

body.admin-app .admin-nav{
  width:100%;
  margin:18px 0 0;
  padding:0;
  display:grid;
  align-items:stretch;
  justify-content:stretch;
  gap:5px;
  flex:none;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
}

body.admin-app .admin-nav a{
  width:100%;
  min-height:44px;
  padding:10px 12px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:11px;
  border:1px solid transparent;
  border-radius:10px;
  color:rgba(235,242,248,.72);
  font-size:.88rem;
  font-weight:650;
  white-space:normal;
  transform:none;
}

body.admin-app .admin-nav a:hover{
  color:#fff;
  background:rgba(255,255,255,.065);
  border-color:rgba(255,255,255,.06);
  transform:none;
}

body.admin-app .admin-nav a.is-active{
  color:#fff;
  background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.08);
  box-shadow:inset 3px 0 0 var(--admin-gold);
}

body.admin-app .admin-nav a[data-admin-link="blog"]{
  margin-top:12px;
  padding-top:13px;
  border-top-color:rgba(255,255,255,.1);
  border-radius:0 0 10px 10px;
}

.admin-nav__icon{
  width:20px;
  height:20px;
  flex:0 0 20px;
  display:grid;
  place-items:center;
  color:currentColor;
}

.admin-nav__icon svg{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

body.admin-app .admin-profile{
  width:100%;
  margin-top:auto;
  padding:20px 7px 0;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:11px;
  align-items:center;
  justify-content:stretch;
  border-top:1px solid rgba(255,255,255,.1);
}

body.admin-app .admin-profile__avatar{
  width:42px;
  height:42px;
  border-radius:12px;
  background:linear-gradient(145deg, rgba(212,177,95,.96), #a9802d);
  color:#07182b;
  font-size:.82rem;
  box-shadow:none;
}

body.admin-app .admin-profile__meta strong{
  color:#fff;
  font-size:.88rem;
}

body.admin-app .admin-profile__meta span{
  color:rgba(255,255,255,.5);
  font-size:.76rem;
}

.admin-logout{
  grid-column:1 / -1;
  width:100%;
  min-height:40px;
  margin-top:5px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:9px;
  background:rgba(255,255,255,.045);
  color:rgba(255,255,255,.78);
  font:inherit;
  font-size:.8rem;
  font-weight:700;
  cursor:pointer;
  transition:background .18s ease, color .18s ease, border-color .18s ease;
}

.admin-logout:hover,
.admin-logout:focus-visible{
  background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.23);
  color:#fff;
  outline:none;
}

.admin-menuToggle{
  display:none;
  width:42px;
  height:42px;
  padding:10px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:10px;
  background:rgba(255,255,255,.06);
  cursor:pointer;
}

.admin-menuToggle span{
  display:block;
  width:100%;
  height:2px;
  margin:4px 0;
  border-radius:2px;
  background:#fff;
  transition:transform .18s ease, opacity .18s ease;
}

body.admin-nav-open .admin-menuToggle span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
body.admin-nav-open .admin-menuToggle span:nth-child(2){ opacity:0; }
body.admin-nav-open .admin-menuToggle span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

body.admin-app .admin-page,
body.admin-app .admin-footer{
  margin-left:268px;
}

body.admin-app .admin-page{
  min-height:calc(100vh - 68px);
  background:
    radial-gradient(circle at 92% 0%, rgba(212,177,95,.08), transparent 25%),
    var(--admin-canvas);
}

body.admin-app .admin-pageHero__wrap,
body.admin-app .admin-section,
body.admin-app .admin-footer__wrap{
  width:min(1180px, calc(100% - 48px));
  margin-inline:auto;
}

body.admin-app .admin-pageHero{
  padding:38px 0 24px;
}

body.admin-app .admin-pageHero__wrap{
  align-items:flex-end;
  gap:24px;
}

.admin-pageEyebrow,
.admin-sectionLabel{
  display:block;
  margin:0 0 8px;
  color:#9b7224;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

body.admin-app .admin-pageHero h1{
  margin:0 0 8px;
  color:var(--admin-ink);
  font-size:clamp(1.9rem,3vw,2.65rem);
  line-height:1.08;
  letter-spacing:-.035em;
}

body.admin-app .admin-pageHero p{
  max-width:680px;
  color:var(--admin-muted);
  font-size:.96rem;
  line-height:1.65;
}

body.admin-app .admin-pageHero__actions{
  gap:9px;
}

body.admin-app .btn-cta,
body.admin-app .admin-btn--ghost,
body.admin-app .admin-action-btn{
  min-height:42px;
  padding:0 15px;
  border-radius:9px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:.84rem;
  font-weight:750;
  box-shadow:none;
}

body.admin-app .btn-cta{
  background:var(--admin-navy);
  border-color:var(--admin-navy);
}

body.admin-app .btn-cta:hover,
body.admin-app .btn-cta:focus-visible{
  background:var(--admin-navy-soft);
  border-color:var(--admin-navy-soft);
  transform:translateY(-1px);
}

body.admin-app .admin-btn--ghost,
body.admin-app .admin-action-btn{
  background:#fff;
  color:var(--admin-navy);
  border:1px solid var(--admin-line);
}

body.admin-app .admin-section{
  gap:18px;
  padding-bottom:44px;
}

body.admin-app .admin-surface{
  padding:24px;
  border:1px solid var(--admin-line);
  border-radius:16px;
  background:var(--admin-surface);
  box-shadow:0 10px 28px rgba(24,45,68,.045);
}

body.admin-app .admin-surface h2{
  color:var(--admin-ink);
  font-size:1.22rem;
  letter-spacing:-.018em;
}

body.admin-app .admin-surface p{
  color:var(--admin-muted);
  font-size:.9rem;
  line-height:1.6;
}

body.admin-app .admin-dashboard{
  grid-template-columns:minmax(0,1fr) 292px;
  gap:18px;
}

body.admin-app .admin-metrics{
  padding:0;
  overflow:hidden;
  border:1px solid var(--admin-line);
  border-radius:14px;
  background:#fff;
  box-shadow:0 8px 24px rgba(24,45,68,.035);
}

body.admin-app .admin-metrics__grid{
  gap:0;
}

body.admin-app .admin-metric{
  min-height:116px;
  padding:19px 20px;
  align-content:start;
  gap:7px;
  border:0;
  border-right:1px solid #e7ecef;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

body.admin-app .admin-metric::after{
  display:none;
}

body.admin-app .admin-metric:last-child{ border-right:0; }

body.admin-app .admin-metric span{
  color:var(--admin-muted);
  font-size:.78rem;
  font-weight:700;
}

body.admin-app .admin-metric strong{
  order:-1;
  color:var(--admin-ink);
  font-size:2rem;
  line-height:1;
  letter-spacing:-.04em;
}

body.admin-app .admin-metric small{
  margin-top:auto;
  color:#8b98a7;
  font-size:.72rem;
  line-height:1.35;
}

body.admin-app .admin-surface__head{
  margin-bottom:18px;
  padding-bottom:16px;
  border-bottom:1px solid #e9eef2;
}

.admin-textLink{
  color:var(--admin-navy);
  font-size:.82rem;
  font-weight:750;
  text-decoration:none;
}

.admin-textLink:hover{ color:#9b7224; }

body.admin-app .admin-dashboard-posts{
  grid-template-columns:1fr;
  gap:10px;
}

body.admin-app .admin-dashboard-post{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:5px 18px;
  padding:15px 0;
  border:0;
  border-bottom:1px solid #e8edf1;
  border-radius:0;
  background:transparent;
}

body.admin-app .admin-dashboard-post:first-child{ padding-top:0; }
body.admin-app .admin-dashboard-post:last-child{
  padding-bottom:0;
  border-bottom:0;
}

body.admin-app .admin-dashboard-post .admin-chip,
body.admin-app .admin-dashboard-post h3,
body.admin-app .admin-dashboard-post p{
  grid-column:1;
}

body.admin-app .admin-dashboard-post h3{
  margin:2px 0 0;
  font-size:.98rem;
}

body.admin-app .admin-dashboard-post p{
  margin:0;
  color:var(--admin-muted);
  font-size:.82rem;
  line-height:1.45;
  display:-webkit-box;
  -webkit-line-clamp:1;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

body.admin-app .admin-dashboard-post__actions{
  grid-column:2;
  grid-row:1 / 4;
  align-self:center;
  justify-content:flex-end;
}

body.admin-app .admin-dashboard-post__actions .btn-cta{
  min-height:36px;
  padding:0 12px;
  font-size:.76rem;
}

body.admin-app .admin-shortcuts{
  gap:0;
}

body.admin-app .admin-shortcut{
  position:relative;
  min-height:68px;
  padding:13px 34px 13px 0;
  gap:4px;
  border:0;
  border-bottom:1px solid #e8edf1;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

body.admin-app .admin-shortcut:last-child{ border-bottom:0; }

body.admin-app .admin-shortcut::after{
  content:"→";
  position:absolute;
  right:2px;
  top:50%;
  transform:translateY(-50%);
  color:#9aa6b4;
  font-size:1.05rem;
  transition:transform .18s ease, color .18s ease;
}

body.admin-app .admin-shortcut:hover{
  transform:none;
  border-color:#e8edf1;
  box-shadow:none;
  background:transparent;
}

body.admin-app .admin-shortcut:hover::after{
  color:#9b7224;
  transform:translate(3px,-50%);
}

body.admin-app .admin-shortcut strong{
  color:var(--admin-ink);
  font-size:.88rem;
}

body.admin-app .admin-shortcut span{
  color:var(--admin-muted);
  font-size:.78rem;
  line-height:1.45;
}

body.admin-app .admin-chip{
  width:max-content;
  padding:5px 8px;
  border-radius:6px;
  font-size:.63rem;
  letter-spacing:.07em;
}

body.admin-app .admin-field input,
body.admin-app .admin-field select,
body.admin-app .admin-field textarea{
  border-color:var(--admin-line);
  border-radius:10px;
  background:#f9fafb;
}

body.admin-app .admin-field input:focus,
body.admin-app .admin-field select:focus,
body.admin-app .admin-field textarea:focus{
  border-color:#8fa2b5;
  box-shadow:0 0 0 3px rgba(11,37,69,.07);
  background:#fff;
}

body.admin-app .admin-nav__btn,
body.admin-app .admin-markdown-btn,
body.admin-app .admin-check,
body.admin-app .admin-upload__preview,
body.admin-app .admin-post-card,
body.admin-app .admin-user-card,
body.admin-app .admin-cast-card,
body.admin-app .admin-comment-card,
body.admin-app .admin-previewModal__dialog{
  border-radius:11px;
}

body.admin-app .admin-nav__btn,
body.admin-app .admin-markdown-btn{
  min-height:42px;
  border-color:var(--admin-line);
  background:#fff;
}

body.admin-app .admin-nav__btn.is-active{
  background:var(--admin-navy);
  border-color:var(--admin-navy);
}

body.admin-app .admin-footer{
  padding:16px 0 20px;
  border-top:1px solid var(--admin-line);
  background:#edf1f4;
}

body.admin-app .admin-footer__wrap{
  color:#7a8796;
  font-size:.78rem;
}

/* Login administrativo */
body.admin-login-page{
  min-height:100%;
  padding:20px;
  background:
    radial-gradient(circle at 10% 12%, rgba(11,37,69,.1), transparent 28%),
    #e7ecef;
}

body.admin-login-page .admin-loginLayout{
  width:min(1180px,100%);
  min-height:calc(100svh - 40px);
  margin:0 auto;
  padding:0;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);
  gap:0;
  overflow:hidden;
  border:1px solid rgba(11,37,69,.09);
  border-radius:22px;
  background:#fff;
  box-shadow:0 24px 70px rgba(16,36,58,.14);
}

body.admin-login-page .admin-loginHero{
  position:relative;
  min-height:660px;
  padding:34px;
  display:flex;
  flex-direction:column;
  gap:24px;
  overflow:hidden;
  color:#fff;
  isolation:isolate;
}

.admin-loginHero__image,
.admin-loginHero__overlay{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

.admin-loginHero__image{
  z-index:-2;
  object-fit:cover;
  object-position:52% center;
  transform:scale(1.015);
}

.admin-loginHero__overlay{
  z-index:-1;
  background:
    linear-gradient(180deg, rgba(4,17,31,.2) 0%, rgba(4,17,31,.4) 42%, rgba(4,17,31,.96) 100%),
    linear-gradient(105deg, rgba(5,22,39,.35), transparent 60%);
}

body.admin-login-page .admin-brand--login{
  position:relative;
  z-index:1;
  width:max-content;
  margin:0;
  padding:0;
}

body.admin-login-page .admin-brand--login img{
  width:clamp(190px,22vw,250px);
  filter:drop-shadow(0 8px 24px rgba(0,0,0,.22));
}

.admin-loginHero__copy{
  position:relative;
  z-index:1;
  display:grid;
  gap:13px;
  max-width:560px;
  margin-top:auto;
}

.admin-loginEyebrow{
  color:#e7cb88;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
}

body.admin-login-page .admin-loginHero h1{
  max-width:13ch;
  margin:0;
  color:#fff;
  font-size:clamp(2.35rem,4.4vw,4.1rem);
  line-height:.98;
  letter-spacing:-.052em;
}

body.admin-login-page .admin-loginHero p{
  max-width:52ch;
  margin:0;
  color:rgba(255,255,255,.74);
  font-size:.92rem;
  line-height:1.65;
}

.admin-loginTrust{
  display:flex;
  flex-wrap:wrap;
  gap:9px 20px;
  margin-top:8px;
}

.admin-loginTrust span{
  position:relative;
  padding-left:14px;
  color:rgba(255,255,255,.78);
  font-size:.75rem;
  font-weight:650;
}

.admin-loginTrust span::before{
  content:"";
  position:absolute;
  left:0;
  top:.42em;
  width:5px;
  height:5px;
  border-radius:1px;
  background:var(--admin-gold);
}

body.admin-login-page .admin-loginCards{
  padding:clamp(38px,5vw,72px);
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:center;
  gap:28px;
  background:#fff;
}

.admin-loginCards__head{
  display:grid;
  gap:9px;
}

.admin-loginCards__head h2{
  margin:0;
  color:var(--admin-ink);
  font-size:clamp(1.7rem,2.5vw,2.25rem);
  line-height:1.12;
  letter-spacing:-.035em;
}

.admin-loginCards__head p{
  max-width:44ch;
  margin:0;
  color:var(--admin-muted);
  font-size:.9rem;
  line-height:1.6;
}

body.admin-login-page .admin-loginCard{
  width:100%;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

body.admin-login-page .admin-loginCard h2{
  color:var(--admin-ink);
  font-size:1.2rem;
}

body.admin-login-page .admin-form{
  gap:17px;
}

body.admin-login-page .admin-field{
  gap:8px;
}

body.admin-login-page .admin-field > span:not(.admin-passwordField){
  color:#28384a;
  font-size:.78rem;
  font-weight:750;
}

body.admin-login-page .admin-field input{
  min-height:50px;
  padding:0 14px;
  border:1px solid #dfe5e9;
  border-radius:10px;
  background:#f4f6f7;
  color:var(--admin-ink);
  font-size:.9rem;
}

body.admin-login-page .admin-field input:focus{
  outline:none;
  border-color:#8296aa;
  background:#fff;
  box-shadow:0 0 0 3px rgba(11,37,69,.075);
}

.admin-passwordField{
  position:relative;
  display:block;
}

.admin-passwordField input{
  padding-right:52px !important;
}

.admin-passwordToggle{
  position:absolute;
  right:7px;
  top:50%;
  width:38px;
  height:38px;
  padding:9px;
  transform:translateY(-50%);
  border:0;
  border-radius:8px;
  background:transparent;
  color:#718092;
  cursor:pointer;
}

.admin-passwordToggle:hover,
.admin-passwordToggle:focus-visible{
  background:#e9edf0;
  color:var(--admin-navy);
  outline:none;
}

.admin-passwordToggle svg{
  width:100%;
  height:100%;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
}

body.admin-login-page .admin-form__actions{
  display:block;
}

body.admin-login-page .admin-loginSubmit{
  width:100%;
  min-height:50px;
  border:0;
  border-radius:10px;
  background:var(--admin-navy);
  color:#fff;
  font-size:.86rem;
  box-shadow:0 10px 22px rgba(8,29,53,.15);
}

body.admin-login-page .admin-loginSubmit:hover,
body.admin-login-page .admin-loginSubmit:focus-visible{
  background:#102f52;
  transform:translateY(-1px);
}

.admin-loginBack{
  display:block;
  width:max-content;
  margin:18px auto 0;
  color:#6f7d8d;
  font-size:.78rem;
  font-weight:650;
  text-decoration:none;
}

.admin-loginBack:hover{ color:var(--admin-navy); }

body.admin-login-page .admin-inline-status{
  min-height:20px;
  margin-top:12px;
  font-size:.78rem;
  text-align:center;
}

@media (max-width:1180px) and (min-width:901px){
  body.admin-app .admin-header{ width:238px; }
  body.admin-app .admin-page,
  body.admin-app .admin-footer{ margin-left:238px; }
  body.admin-app .admin-header__wrap{ padding-inline:16px; }
  body.admin-app .admin-brand img{ max-width:184px; }
  body.admin-app .admin-metrics__grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.admin-app .admin-metric:nth-child(2){ border-right:0; }
  body.admin-app .admin-metric:nth-child(-n+2){ border-bottom:1px solid #e7ecef; }
}

@media (max-width:980px){
  body.admin-login-page .admin-loginLayout{
    grid-template-columns:1fr;
  }

  body.admin-login-page .admin-loginHero{
    min-height:360px;
  }

  body.admin-login-page .admin-loginHero h1{
    max-width:16ch;
    font-size:clamp(2.1rem,7vw,3.2rem);
  }
}

@media (max-width:900px){
  body.admin-app .admin-header{
    position:sticky;
    inset:0 0 auto;
    width:100%;
    height:auto;
    max-height:100dvh;
    overflow-y:auto;
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.1);
    box-shadow:0 10px 26px rgba(4,18,34,.16);
  }

  body.admin-app .admin-header__wrap{
    min-height:70px;
    padding:12px 16px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:0 12px;
  }

  body.admin-app .admin-brand{
    min-width:0;
    padding:0;
    display:flex;
    align-items:center;
    gap:10px;
    border:0;
  }

  body.admin-app .admin-brand img{
    width:154px;
  }

  body.admin-app .admin-brand div{
    display:none;
  }

  .admin-menuToggle{
    display:block;
  }

  body.admin-app .admin-nav,
  body.admin-app .admin-profile{
    display:none;
    grid-column:1 / -1;
  }

  body.admin-nav-open .admin-nav{
    display:grid;
    margin-top:14px;
    padding-top:14px;
    border-top:1px solid rgba(255,255,255,.1);
  }

  body.admin-nav-open .admin-profile{
    display:grid;
    margin-top:14px;
  }

  body.admin-app .admin-page,
  body.admin-app .admin-footer{
    margin-left:0;
  }

  body.admin-app .admin-pageHero__wrap,
  body.admin-app .admin-section,
  body.admin-app .admin-footer__wrap{
    width:min(760px, calc(100% - 32px));
  }

  body.admin-app .admin-pageHero{
    padding-top:28px;
  }

  body.admin-app .admin-dashboard{
    grid-template-columns:1fr;
  }

  body.admin-app .admin-metrics__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  body.admin-app .admin-metric:nth-child(2){ border-right:0; }
  body.admin-app .admin-metric:nth-child(-n+2){ border-bottom:1px solid #e7ecef; }
}

@media (max-width:620px){
  body.admin-login-page{
    padding:0;
  }

  body.admin-login-page .admin-loginLayout{
    min-height:100svh;
    border:0;
    border-radius:0;
  }

  body.admin-login-page .admin-loginHero{
    min-height:285px;
    padding:24px;
  }

  body.admin-login-page .admin-brand--login img{
    width:190px;
  }

  body.admin-login-page .admin-loginHero h1{
    font-size:2rem;
  }

  body.admin-login-page .admin-loginHero p{
    font-size:.82rem;
    line-height:1.5;
  }

  body.admin-login-page .admin-loginCards{
    padding:32px 22px 38px;
  }

  body.admin-app .admin-pageHero__wrap{
    align-items:flex-start;
  }

  body.admin-app .admin-pageHero__actions,
  body.admin-app .admin-pageHero__actions .btn-cta{
    width:100%;
  }

  body.admin-app .admin-surface{
    padding:18px;
    border-radius:13px;
  }

  body.admin-app .admin-metrics__grid{
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  body.admin-app .admin-metric{
    min-height:106px;
    padding:16px;
  }

  body.admin-app .admin-metric strong{
    font-size:1.7rem;
  }

  body.admin-app .admin-dashboard-post{
    grid-template-columns:1fr;
  }

  body.admin-app .admin-dashboard-post__actions{
    grid-column:1;
    grid-row:auto;
    justify-content:flex-start;
    margin-top:8px;
  }

  body.admin-app .admin-dashboard-post__actions .btn-cta{
    width:auto;
  }

  body.admin-app .admin-footer__wrap{
    justify-content:center;
    text-align:center;
  }
}

@media (prefers-reduced-motion:reduce){
  .admin-menuToggle span,
  body.admin-app .admin-shortcut::after,
  body.admin-login-page .admin-loginSubmit{
    transition:none;
  }
}
/* Subir um pouco o texto + botão no MOBILE */
@media (max-width: 991px){
  :root{
    /* estava 10%; maior = mais pra cima */
    --hero-offset-mobile: 30%;
  }
}
/* ===== NOSSA HISTÓRIA (ajustes) ===== */
.nossa-historia{
  padding: clamp(2.5rem, 4vw, 4rem) 0;
  background:#fff;
}
.nh-wrap{
  /* margens laterais bem definidas */
  width: min(1120px, 90%);
  margin-inline: auto;

  display: grid;
  grid-template-columns: 1.1fr .9fr;   /* texto à esquerda, imagem à direita */
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}
.nh-text h2{
  color: var(--mfv-blue);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 .75rem;
}
.nh-text p{
  color: #2b2b33;
  line-height: 1.65;
  margin: .7rem 0;
  font-size: clamp(1rem, 1.1vw, 1.06rem);
}
.nh-media{ position: relative; }
.nh-img{
  width: 100%; height: auto; display: block;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* Botão centralizado no MEIO da imagem (desktop e mobile) */
.nh-video-btn{
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  border-color: #fff;
  color: #fff;
  backdrop-filter: blur(4px) saturate(120%);
  -webkit-backdrop-filter: blur(4px) saturate(120%);
  font-weight: 700;
  padding: .7rem 1.1rem;
}

/* MOBILE: uma coluna, imagem acima, tipografia menor */
@media (max-width: 991px){
  .nh-wrap{
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .nh-media{ order: -1; }                 /* imagem antes do texto */
  .nh-text h2{
    font-size: clamp(1.25rem, 5vw, 1.6rem); /* menor no mobile */
  }
  .nh-text p{
    font-size: clamp(.95rem, 3.6vw, 1rem);  /* menor no mobile */
  }
}
/* ===== AJUSTES "NOSSA HISTÓRIA" ===== */

/* 1) Remover qualquer sombreado da imagem (fundo totalmente transparente) */
.nh-img{
  box-shadow: none !important;
  background: transparent !important;
}

/* 2) Botão centralizado sobre a imagem, sem blur/sombreado atrás */
.nh-video-btn{
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1.6px solid #fff !important;
  color: #fff !important;
}

/* 3) MOBILE: texto antes da imagem, fontes menores */
@media (max-width: 991px){
  /* ordem: texto (1º), imagem (2º) */
  .nh-text{ order: 1 !important; }
  .nh-media{ order: 2 !important; }

  /* títulos e parágrafos menores */
  .nh-text h2{
    /* antes ~1.25–1.6rem; agora um pouco menor */
    font-size: clamp(1.05rem, 4.2vw, 1.35rem) !important;
    line-height: 1.15;
  }
  .nh-text p{
    /* antes ~0.95–1rem; reduzimos mais um pouco */
    font-size: clamp(0.88rem, 3.2vw, 0.98rem) !important;
    line-height: 1.55;
  }

  /* botão um pouco mais compacto */
  .nh-video-btn{
    padding: .55rem .9rem !important;
    font-size: .95rem !important;
  }
}

/* 4) OVERLAY DO VÍDEO: reduzir tamanho (desktop e mobile) */
.vo-frame{
  /* era min(960px, 92vw) – deixamos menor */
  width: min(720px, 90vw) !important;
  margin: clamp(6vh, 8vh, 10vh) auto !important;
}
.vo-frame video{
  max-height: 70vh !important; /* impede ficar alto demais */
}
@media (max-width: 991px){
  .vo-frame{
    width: min(480px, 92vw) !important;
    margin: 8vh auto !important;
  }
  .vo-frame video{ max-height: 60vh !important; }
  .vo-close{ top:-12px !important; right:-12px !important; width:34px !important; height:34px !important; }
}
/* Mostrar/ocultar mídias por viewport (reuso aqui na seção) */
.only-mobile{ display:none; }
.only-desktop{ display:block; }
@media (max-width: 991px){
  .only-mobile{ display:block; }
  .only-desktop{ display:none; }
}

/* Sem sombra/blur na imagem (fundo transparente) */
.nh-img{
  box-shadow: none !important;
  background: transparent !important;
}
/* ===== MODAL DE VÍDEO — centralizado e sobreposto ===== */
.video-overlay{
  position: fixed;           /* cobre a página inteira */
  inset: 0;
  z-index: 10000;            /* acima de header/menu */
  display: grid;             /* centraliza o frame */
  place-items: center;
}
.video-overlay[hidden]{ display: none !important; }

.vo-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.86);     /* fundo escuro atrás do vídeo */
  backdrop-filter: blur(1px);
  z-index: 0;
}

.vo-frame{
  position: relative;
  z-index: 1;
  width: min(720px, 92vw);         /* menor e central */
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vo-frame video{
  width: 100%;
  height: auto;
  max-height: 78vh;
  background: #000;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  outline: none;
}

.vo-close{
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;                      /* na frente do vídeo */
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: #fff;
  color: #111;
  font-size: 18px;
  line-height: 38px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* travar scroll quando modal estiver aberto */
body.modal-open{ overflow: hidden; }

/* mobile: modal um pouco menor */
@media (max-width: 991px){
  .vo-frame{ width: min(480px, 94vw); max-height: 70vh; }
  .vo-frame video{ max-height: 66vh; }
  .vo-close{ top: -12px; right: -12px; width: 34px; height: 34px; }
}
/* Logo sem filtros quando o header fica branco */
.hdr.scrolled .logo{ filter: none !important; }
/* HERO sem cantos arredondados (nada de recorte) */
.hero{
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/* Imagens do herói sempre preenchendo sem distorcer */
.media{ object-fit: cover !important; }

/* Logo com proporção correta em qualquer estado do header */
.logo{
  height: auto !important;
  max-height: 40px !important;
  width: auto !important;
}
@media (max-width: 991px){
  .logo{ max-height: 36px !important; }
}
/* Esconde a logo do header no topo (evita duplicar com a do banner) */
.hdr:not(.scrolled) .logo{ opacity:0; visibility:hidden; }
.hdr.scrolled .logo{ opacity:1; visibility:visible; }
:root{ --hdr-h: 72px; }             /* altura padrão do header */

/* usa a variável para a barra */
.hdr{ height: var(--hdr-h); }

/* garante centralização vertical dos itens */
.hdr .wrap{ height:100%; display:flex; align-items:center; }

/* menu mobile começa logo abaixo do header (sem 'inset: 64px ...') */
.menuMob{
  position: fixed;
  top: var(--hdr-h);
  left: 0; right: 0; bottom: 0;
}
/* Altura padrão do header e alinhamento */
:root{ --hdr-h: 72px; }

.hdr{ height: var(--hdr-h); }
.hdr .wrap{ height:100%; display:flex; align-items:center; justify-content:space-between; }

/* Marca bem posicionada */
.brand{ display:flex; align-items:center; gap:12px; }

.logo{
  max-height:40px; width:auto; height:auto;
}
@media (max-width:991px){
  .logo{ max-height:36px; }
}

/* Menu mobile começa logo abaixo do header */
.menuMob{
  top: var(--hdr-h) !important;
  left:0; right:0; bottom:0; position:fixed;
}

/* A LOGO PRECISA APARECER NO TOPO: garanta visibilidade */
.hdr:not(.scrolled) .logo{ opacity:1 !important; visibility:visible !important; }

/* (caso tenha colocado antes algum filtro) */
.hdr.scrolled .logo{ filter:none !important; }

/* Altura do header e alinhamento dos itens */
:root{ --hdr-h: 72px; }
.hdr{ height: var(--hdr-h); }
.hdr .wrap{ height:100%; display:flex; align-items:center; justify-content:space-between; }
.brand{ display:flex; align-items:center; gap:12px; }

/* AQUI é o "limite duro" da logo no header (não deixa ficar gigante) */
.hdr .logo{
  height: clamp(30px, 5.2vw, 42px) !important;
  max-height: calc(var(--hdr-h) - 16px) !important;
  width: auto !important;
  max-width: min(260px, 42vw) !important;
  object-fit: contain;
  object-position: left center;
  display: block;
  position: relative !important;
  z-index: 2;
}

/* Menu mobile abre logo abaixo do header */
.menuMob{
  position: fixed;
  top: var(--hdr-h) !important;
  left: 0; right: 0; bottom: 0;
}

/* Logo branca precisa aparecer no topo */
.hdr:not(.scrolled) .logo{ opacity:1 !important; visibility:visible !important; }

/* Segurança: nunca deixe img estourar largura do header */
.hdr .wrap{ overflow: visible; }
/* ATENÇÃO: opcional. Remove o “logo x logo” apenas no topo do herói */
.hero::before{
  content:"";
  position:absolute; left:0; right:0; top:0; height: calc(var(--hdr-h) + 8px);
  background: linear-gradient(to bottom, rgba(0,0,0,.28), rgba(0,0,0,0));
  pointer-events:none;
  z-index:1;
}
/* ===== FIX: LOGO DO HEADER (tamanho travado) ===== */
.hdr .brand{ display:flex; align-items:center; gap:12px; width:auto !important; }

/* Tamanho duro da logo, independente de regras globais */
.hdr img.logo{
  width: auto !important;            /* NUNCA 100% */
  height: clamp(32px, 5.2vw, 42px) !important;
  max-height: 42px !important;
  max-width: min(260px, 42vw) !important;
  object-fit: contain !important;
  object-position: left center !important;
  display:block !important;
  position: static !important;
}

@media (max-width: 991px){
  .hdr img.logo{
    height: clamp(28px, 6vw, 36px) !important;
    max-height: 36px !important;
    max-width: min(220px, 60vw) !important;
  }
}

/* Altura e alinhamento do header para nada “subir” */
:root{ --hdr-h: 72px; }
.hdr{ height: var(--hdr-h); }
.hdr .wrap{ height:100%; display:flex; align-items:center; justify-content:space-between; }

/* Menu mobile deve abrir logo abaixo do header */
.menuMob{
  position: fixed;
  top: var(--hdr-h) !important;
  left:0; right:0; bottom:0;
}
/* Logo sempre visível; tamanho travado */
.hdr .logo{
  width:auto !important;
  height:clamp(32px, 5.2vw, 42px) !important;
  max-height:42px !important;
  max-width:min(260px, 42vw) !important;
  object-fit:contain !important;
  object-position:left center !important;
  display:block !important;
}

/* header scrolled já é branco — mantemos */
.hdr.scrolled{ background:#fff; box-shadow:0 8px 24px rgba(0,0,0,.07); }

/* Se existir algo escondendo a logo no topo, anulamos: */
.hdr .logo{ opacity:1 !important; visibility:visible !important; }
/* ==== FIX DEFINITIVO: LOGO DO HEADER ==== */
/* O link da marca não pode esticar */
.hdr .brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto !important;    /* não cresce no flex */
  width:auto !important;
  min-width:0 !important;
  overflow:visible !important;
}

/* A logo do header tem limites "duros" de tamanho */
.hdr img.logo{
  /* zera qualquer regra tipo img{width:100%} */
  width:auto !important;
  max-width: clamp(140px, 18vw, 260px) !important;

  /* controla a altura pelo header */
  height:auto !important;
  max-height: clamp(32px, 5vw, 42px) !important;

  object-fit:contain !important;
  object-position:left center !important;
  display:block !important;
  position:static !important;
  flex:0 0 auto !important;

  /* desfaz utilitários agressivos */
  max-inline-size:none !important;
  inline-size:auto !important;
  transform:none !important;
}

/* em telas menores, ainda mais contida */
@media (max-width: 991px){
  .hdr img.logo{
    max-width: clamp(120px, 40vw, 200px) !important;
    max-height: 36px !important;
  }
}

/* garante altura/alinhamento do header */
:root{ --hdr-h: 72px; }
.hdr{ height: var(--hdr-h); }
.hdr .wrap{ height:100%; display:flex; align-items:center; justify-content:space-between; }

/* menu mobile abre exatamente abaixo do header */
.menuMob{
  position:fixed; top:var(--hdr-h) !important; left:0; right:0; bottom:0;
}
/* 1) "Assista um vídeo" – mudar de cor no hover */
@media (hover:hover){
  .nh-media .nh-video-btn{
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
  }
  .nh-media .nh-video-btn:hover,
  .nh-media .nh-video-btn:focus-visible{
    background: transparent !important;     /* mantém transparente */
    color: var(--mfv-gold) !important;      /* muda a cor do texto */
    border-color: var(--mfv-gold) !important;
  }
}

/* 2) MENU no mobile sempre BRANCO (mesmo com header scrolled) */
@media (max-width: 991px){
  .hdr .menu--mob a{ color:#fff !important; }
  .hdr.scrolled .menu--mob a{ color:#fff !important; }
}
/* Garante clique sobre o botão/CTA do herói (acima da mídia do slide) */
.slide { position: relative; }
.slide .media { z-index: 0; position: absolute; inset: 0; }
.slide .hero__content { position: absolute; z-index: 2; pointer-events: auto; }
.hero__cta a { position: relative; z-index: 3; }
/* ===== ÁREAS DE ATUAÇÃO ===== */
.areas{
  background:#f5f6f5;
  padding: clamp(2.25rem, 4vw, 3.5rem) 0;
}
.areas-wrap{
  width:min(1120px, 92%);
  margin-inline:auto;
  display:grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(1.25rem, 3.5vw, 2.25rem);
  align-items:start;
}
.areas-text h2{
  color: var(--mfv-blue, #0b2545);
  font-weight:800;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  margin:0 0 .5rem;
}
.areas-text .lead{
  font-size: clamp(1rem, 1.1vw, 1.06rem);
  line-height:1.65;
  margin:.5rem 0 1rem;
}
.areas-text p{
  color:#2b2b33;
  line-height:1.65;
  margin:.4rem 0 .9rem;
  font-size: clamp(1rem, 1.05vw, 1.02rem);
}

/* botões de navegação */
.areas-nav{ display:flex; gap:.5rem; margin-top:.75rem; }
.areas-btn{
  width:40px; height:40px; border-radius:50%;
  border:1px solid rgba(0,0,0,.08);
  background:#e6edf0; color:#0b4a6d; cursor:pointer;
  display:grid; place-items:center;
  font-size:18px;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.areas-btn:hover{ transform: translateY(-1px); }

/* carrossel */
.areas-carousel{
  overflow-x:auto; overflow-y:hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: relative;
}
.areas-carousel::-webkit-scrollbar{ display:none; }

.areas-track{
  display:grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 1fr);
  gap: clamp(12px, 2vw, 16px);
  scroll-snap-type: x mandatory;
  padding: 4px 2px 8px;
}

.area-card{
  scroll-snap-align: start;
  text-decoration:none;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  min-height: 138px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:.6rem;
  transition: box-shadow .2s ease, transform .18s ease;
}
.area-card:hover{ transform: translateY(-2px); box-shadow:0 10px 22px rgba(0,0,0,.07); }

.area-card img{
  width:56px; height:56px; object-fit:contain; display:block;
}
.area-card span{
  color:#0b2545; font-weight:700; font-size:.95rem; text-align:center;
  padding-inline:.5rem;
}

/* responsivo */
@media (max-width: 991px){
  .areas-wrap{ grid-template-columns: 1fr; }
  .areas-text .lead{ font-size: clamp(.95rem, 3.4vw, 1rem); }
  .areas-text p{ font-size: clamp(.93rem, 3.2vw, .98rem); }
  .areas-track{ grid-auto-columns: minmax(48%, 1fr); } /* mínimo 2 cards visíveis */
  .area-card{ min-height: 120px; }
}
/* === Ajuste de tamanho dos ícones/cards em "Áreas de atuação" === */
:root{
  --areas-icon-d: 72px;      /* tamanho do ícone no desktop */
  --areas-icon-m: 64px;      /* tamanho do ícone no mobile  */
  --areas-card-h-d: 160px;   /* altura do card no desktop   */
  --areas-card-h-m: 136px;   /* altura do card no mobile    */
}

/* Cards mais largos (ícones maiores sem ficar espremidos) */
.areas-track{ grid-auto-columns: minmax(200px, 1fr); }

/* Card mais alto */
.area-card{
  min-height: var(--areas-card-h-d);
  padding: 18px 12px;
}

/* Ícone maior */
.area-card img{
  width: var(--areas-icon-d);
  height: var(--areas-icon-d);
  object-fit: contain;
}

/* Título um pouquinho maior */
.area-card span{ font-size: 1rem; }

@media (max-width: 991px){
  /* continua mostrando no mínimo 2 cards */
  .areas-track{ grid-auto-columns: minmax(46%, 1fr); }
  .area-card{ min-height: var(--areas-card-h-m); }
  .area-card img{
    width: var(--areas-icon-m);
    height: var(--areas-icon-m);
  }
  .area-card span{ font-size: .98rem; }
}
/* ===== Botão WhatsApp nas Áreas ===== */
.areas-actions{
  display:flex; align-items:center; gap:.65rem; flex-wrap:wrap; margin-top:.75rem;
}

:root{
  --wa-green:#128C7E;
  --wa-green-dark:#0E736D;
}

.areas-wa{
  display:inline-flex !important;
  align-items:center; gap:.55rem;
  background:var(--wa-green);
  color:#fff; text-decoration:none;
  border-radius:999px;
  padding:.625rem 1rem;
  font-weight:700; line-height:1;
  box-shadow:0 6px 16px rgba(18,140,126,.24);
  transition:transform .15s ease, background .2s ease, box-shadow .2s ease;
}

.areas-wa:hover,
.areas-wa:focus-visible{
  background:var(--wa-green-dark);
  transform: translateY(-1px);
  box-shadow:0 10px 24px rgba(18,140,126,.28);
}

/* BLINDAGEM contra regras globais tipo svg{width:100%} */
.areas-wa .wa-ic{
  width:20px !important;
  height:20px !important;
  flex:0 0 20px !important;
  display:block !important;
  fill:#fff !important;
  max-width:none !important;
}

.areas-wa span{ white-space:nowrap; }

@media (max-width: 991px){
  .areas-actions{ gap:.5rem; }
  .areas-wa{ padding:.55rem .9rem; }
  .areas-wa .wa-ic{ width:18px !important; height:18px !important; flex-basis:18px !important; }
}

/* ===== FALE CONOSCO / CENTRAL DE ATENDIMENTO ===== */
.fc{
  background:#f5f6f5;
  padding: clamp(2.25rem, 4vw, 3.5rem) 0;
}
.fc-wrap{
  width:min(1120px, 92%);
  margin-inline:auto;
  display:grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items:start;
}
.fc-aside h2{
  color: var(--mfv-blue, #0b2545);
  font-weight:800;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  margin:0 0 .5rem;
}
.fc-aside p{
  color:#2b2b33;
  line-height:1.65;
  margin:0;
  font-size: clamp(.95rem, 1.05vw, 1rem);
}

.fc-cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.2vw, 18px);
}
.fc-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  padding: clamp(1rem, 2vw, 1.25rem) clamp(1rem, 2vw, 1.5rem);
  box-shadow:0 8px 22px rgba(0,0,0,.06);
  transition: box-shadow .2s ease, transform .15s ease;
}
.fc-card:hover{ box-shadow:0 12px 26px rgba(0,0,0,.09); transform: translateY(-1px); }

.fc-ico{
  width:38px; height:38px;
  border-radius:10px;
  display:grid; place-items:center;
  background:#e6edf0;
  margin-bottom:.6rem;
}
.fc-ico svg{
  width:22px; height:22px; fill:#0b4a6d;
}

.fc-card h3{
  margin:.25rem 0 .35rem;
  font-size:1.05rem;
  color:#0b2545;
}
.fc-card p{ margin:.3rem 0; color:#2b2b33; line-height:1.65; }
.fc-link{
  color:#0b4a6d; font-weight:700; text-decoration:none;
  border-bottom:1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.fc-link:hover{ color:#082f49; border-color: currentColor; }

/* Responsivo */
@media (max-width: 991px){
  .fc-wrap{ grid-template-columns: 1fr; }
  .fc-cards{ grid-template-columns: 1fr; }
  .fc-aside p{ font-size: .95rem; }
}

/* ===== FALE CONOSCO ===== */
.fc{ background:#f5f6f5; padding:clamp(36px,4vw,56px) 0; }
.fc__wrap{
  width:min(1120px,92%);
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 2fr;
  gap:clamp(16px,3vw,24px);
  align-items:start;
}
.fc__aside h2{
  color:var(--mfv-blue,#0b2545);
  font-weight:800;
  font-size:clamp(24px,3vw,36px);
  margin:0 0 8px;
}
.fc__aside p{
  margin:0;
  color:#2b2b33;
  line-height:1.65;
  font-size:clamp(15px,1.1vw,16px);
}

.fc__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:clamp(14px,2vw,18px);
}
.fc__card{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  padding:clamp(16px,2vw,20px);
  box-shadow:0 8px 22px rgba(0,0,0,.06);
  transition:box-shadow .2s ease, transform .15s ease;
}
.fc__card:hover{ box-shadow:0 12px 26px rgba(0,0,0,.09); transform:translateY(-1px); }

.fc__icon{
  width:38px; height:38px;
  background:#e6edf0; border-radius:10px;
  display:grid; place-items:center;
  margin-bottom:10px;
}
.fc__icon svg{ width:22px; height:22px; fill:#0b4a6d; }

.fc__card h3{ margin:4px 0 6px; font-size:17px; color:#0b2545; }
.fc__card p{ margin:.3rem 0; color:#2b2b33; line-height:1.65; }
.fc__link{
  color:#0b4a6d; font-weight:700; text-decoration:none;
  border-bottom:1px solid transparent;
  transition:color .2s, border-color .2s;
}
.fc__link:hover{ color:#082f49; border-color:currentColor; }

@media (max-width:991px){
  .fc__wrap{ grid-template-columns:1fr; }
  .fc__grid{ grid-template-columns:1fr; }
  .fc__aside p{ font-size:.95rem; }
}
/* ==== Ajuste de tamanho dos ícones – Fale Conosco ==== */
.fc-ico{
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px;
  background: #e6edf0;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}
.fc-ico svg{
  width: 18px !important;
  height: 18px !important;
  fill: #0b4a6d !important;
  display: block !important;
  max-width: none !important;
}

/* Mobile ainda menor */
@media (max-width: 991px){
  .fc-ico{ width: 28px !important; height: 28px !important; }
  .fc-ico svg{ width: 16px !important; height: 16px !important; }
}
/* ===== FALE CONOSCO — layout responsivo ===== */
.fc{
  background:#f5f6f5;
  padding:clamp(32px,5vw,64px) 0;
}
.fc-wrap{
  width:min(1200px,92%);
  margin:0 auto;
  display:grid;
  grid-template-columns: 360px 1fr;           /* aside à esquerda, cards à direita */
  gap:clamp(16px,3vw,32px);
  align-items:start;
}

/* Título e intro (coluna esquerda) */
.fc-aside h2{
  color:#0b4a6d;                               /* azul parecido com o exemplo */
  font-weight:800;
  line-height:1.1;
  font-size:clamp(24px,3.2vw,36px);
  margin:0 0 12px;
}
.fc-aside p{
  margin:0;
  color:#2b2b33;
  line-height:1.65;
  font-size:clamp(14px,1.2vw,16px);
}

/* Grid dos cards (coluna direita) */
.fc-cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(240px,1fr));  /* 3 colunas no desktop */
  gap:clamp(14px,2.2vw,20px);
}

/* Cards */
.fc-card{
  background:#fff;
  border:1px solid #e7eaed;
  border-radius:16px;
  padding:clamp(16px,2.4vw,24px);
  box-shadow:0 6px 16px rgba(0,0,0,.06);
  display:flex;
  flex-direction:column;
  min-height: 240px;                            /* altura consistente */
  transition:box-shadow .2s ease, transform .15s ease;
}
.fc-card:hover{ box-shadow:0 10px 22px rgba(0,0,0,.08); transform:translateY(-1px); }

.fc-ico{
  width:40px; height:40px;
  border-radius:12px;
  background:#e6edf0;
  display:grid; place-items:center;
  margin-bottom:12px;
}
.fc-ico svg{
  width:22px; height:22px; fill:#0b4a6d;
}

.fc-card h3{
  margin:4px 0 6px;
  font-weight:700;
  color:#0b2545;
  font-size:16px;
}
.fc-card p{
  margin:.35rem 0;
  color:#1f2430;
  line-height:1.6;
  font-size:16px;
}
.fc-link{
  color:#0b4a6d;
  font-weight:700;
  text-decoration:none;
  border-bottom:1px solid transparent;
  transition:color .2s, border-color .2s;
}
.fc-link:hover{ color:#082f49; border-color:currentColor; }

/* ===== Breakpoints ===== */
@media (max-width: 1100px){
  .fc-wrap{ grid-template-columns: 1fr; }                   /* aside em cima, cards embaixo */
  .fc-cards{ grid-template-columns: repeat(2, minmax(220px,1fr)); } /* 2 colunas no tablet */
}
@media (max-width: 640px){
  .fc-cards{ grid-template-columns: 1fr; }                  /* 1 coluna no mobile */
  .fc-card{ min-height: auto; }
  .fc-aside p{ font-size:.95rem; }
}
/* ===== CTA FINAL ===== */
.cta-one{
  background:#111c22;            /* faixa escura */
  color:#fff;
  text-align:center;
  padding: clamp(48px, 8vw, 96px) 0;
}
.cta-one__wrap{
  width:min(1080px, 92%);
  margin-inline:auto;
}
.cta-one__mark{
  width:56px; height:auto;
  margin:0 auto 16px;
  display:block;
  opacity:.95;
}
.cta-one h2{
  font-weight:800;
  line-height:1.25;
  font-size: clamp(1.3rem, 3.2vw, 2.1rem);
  max-width: 900px;
  margin: 0 auto 20px;
}
.cta-one__actions{
  display:flex; justify-content:center; gap:12px; flex-wrap:wrap;
}

/* botão dentro da faixa */
.cta-one .btn-cta{
  background:#e8eef2;
  color:#0b2545;
  border:1px solid rgba(255,255,255,.25);
  padding:.8rem 1.25rem;
  border-radius:999px;
  font-weight:700;
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.cta-one .btn-cta:hover{
  background:#dce5ea;
  transform: translateY(-1px);
  box-shadow:0 8px 22px rgba(0,0,0,.15);
}

/* responsivo */
@media (max-width: 640px){
  .cta-one__mark{ width:48px; }
  .cta-one .btn-cta{ padding:.7rem 1.1rem; }
}
/* ===== EVENTOS (galeria/carrossel) ===== */
.ev{ padding: clamp(32px,5vw,64px) 0; background:#fff; }
.ev-wrap{ width:min(1200px,92%); margin:0 auto; }
.ev-head{
  display:flex; align-items:end; justify-content:space-between;
  gap:16px; margin-bottom:16px;
}
.ev-head h2{
  margin:0 0 4px; color:#0b2545; font-weight:800;
  font-size:clamp(24px,3.2vw,32px);
}
.ev-head p{ margin:0; color:#2b2b33; line-height:1.6; }

.ev-nav{ display:flex; gap:8px; }
.ev-btn{
  width:36px; height:36px; border-radius:999px; border:1px solid #d9e1e6;
  background:#f2f6f8; color:#0b2545; cursor:pointer;
  display:grid; place-items:center; font-size:18px;
  transition:background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.ev-btn:hover{ background:#e6eef2; transform:translateY(-1px); box-shadow:0 6px 14px rgba(0,0,0,.08); }

.ev-carousel{ position:relative; }
.ev-track{
  display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory;
  padding: 6px 2px 10px; /* espaço p/ o snap */
  -webkit-overflow-scrolling: touch;
}
.ev-track::-webkit-scrollbar{ height:8px; }
.ev-track::-webkit-scrollbar-thumb{ background:rgba(11,37,69,.25); border-radius:999px; }
.ev-track::-webkit-scrollbar-track{ background:transparent; }

/* Cards (imagens) */
.ev-item{
  flex:0 0 clamp(82%, 48vw, 380px);    /* 1 no mobile / 2 no tablet */
  scroll-snap-align:center;
  border-radius:16px; overflow:hidden; background:#0a0a0a0d;
  box-shadow:0 10px 24px rgba(0,0,0,.08);
  aspect-ratio: 16 / 9;                 /* mantém proporção */
}
.ev-item img{
  width:100%; height:100%; object-fit:cover; display:block;
  transform:scale(1.001); /* elimina linha de render às vezes */
  transition: transform .35s ease;
}
.ev-item:hover img{ transform:scale(1.03); }

/* Desktop: 3 por vez */
@media (min-width: 992px){
  .ev-item{ flex-basis: calc((100% - 14px*2)/3); } /* 3 cols com gap */
}

/* Cabeçalho em 1 coluna no mobile */
@media (max-width: 640px){
  .ev-head{ flex-direction:column; align-items:flex-start; gap:10px; }
}
/* ==== EVENTOS – sem gap, sem scroll bar, drag-friendly ==== */
.ev-head { margin-bottom: 12px; }
.ev-nav { display: none !important; }           /* some com as setas */

.ev-carousel { overflow: hidden; }
.ev-track{
  display: flex;
  gap: 0 !important;                            /* sem distância entre imagens */
  padding: 0 !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: none;                        /* Firefox: esconde a barra */
}
.ev-track:active{ cursor: grabbing; }
.ev-track::-webkit-scrollbar{ display: none; }  /* WebKit: esconde a barra */

.ev-item{
  flex: 0 0 100%;                               /* 1 por vez no mobile */
  scroll-snap-align: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;                             /* remove linha de sombra */
  aspect-ratio: 16 / 9;
}
.ev-item img{
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  user-select: none; pointer-events: none;      /* evita “grudar” a imagem */
}

/* Tablet: 2 por vez */
@media (min-width: 700px){
  .ev-item{ flex-basis: 50%; }
}

/* Desktop: 3 por vez, sem gap */
@media (min-width: 992px){
  .ev-item{ flex-basis: 33.3333%; }
}
/* === EVENTOS (gap suave, sem setas, sem barra e com snap) === */
:root{ --ev-gap: 12px; }                     /* ajuste fino do espaço entre imagens */

.ev-head{ margin-bottom: 14px; }
.ev-nav{ display:none !important; }          /* some com as setas */

.ev-carousel{ overflow:hidden; }
.ev-track{
  display:flex;
  gap: var(--ev-gap);                        /* espaço entre as imagens */
  padding: 0;                                /* sem preenchimento extra */
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  cursor:grab;
  scrollbar-width:none;                      /* Firefox */
}
.ev-track:active{ cursor:grabbing; }
.ev-track::-webkit-scrollbar{ display:none; }/* WebKit */

.ev-item{                                    /* <figure> sem margem nativa */
  margin:0; border:0;
  flex:0 0 100%;                             /* 1 por vez no mobile */
  scroll-snap-align:center;
  border-radius:14px; overflow:hidden;
  aspect-ratio:16/9;
  box-shadow:0 8px 22px rgba(0,0,0,.08);
}
.ev-item img{
  width:100%; height:100%; object-fit:cover; display:block;
  user-select:none; pointer-events:none;     /* não “gruda” a imagem no drag */
}

/* Tablet: 2 por vez (descontando 1 gap) */
@media (min-width:700px){
  .ev-item{ flex-basis: calc((100% - var(--ev-gap)) / 2); }
}

/* Desktop: 3 por vez (descontando 2 gaps) */
@media (min-width:992px){
  .ev-item{ flex-basis: calc((100% - (var(--ev-gap) * 2)) / 3); }
}
/* ===== RODAPÉ ===== */
.ft{
  background:#0e1821;
  color:#e7edf2;
}
.ft-wrap{
  width:min(1200px,92%);
  margin:0 auto;
  padding: clamp(36px,5vw,64px) 0;
  display:grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: clamp(16px,3vw,32px);
}
.ft-logo{
  width:min(220px,60%);
  height:auto;
  display:block;
  margin-bottom:12px;
}
.ft-about{
  margin:0 0 14px;
  line-height:1.6;
  color:#cfe0ea;
}

.ft-col h3{
  margin:0 0 10px;
  font-weight:800;
  letter-spacing:.02em;
  color:#cfe6f6;
  font-size:1rem;
}
.ft-list{
  list-style:none; margin:0; padding:0; display:grid; gap:8px;
}
.ft-list a{
  color:#e7edf2; text-decoration:none; opacity:.9;
}
.ft-list a:hover{ opacity:1; text-decoration:underline; }

/* Contatos */
.ft-contact{
  list-style:none; margin:0; padding:0; display:grid; gap:10px;
}
.ft-contact li{
  display:grid; grid-template-columns: 22px auto; gap:10px; align-items:flex-start;
}
.ft-ico{ width:22px; height:22px; display:grid; place-items:center; }
.ft-ico svg{ width:18px; height:18px; fill:#9cc3d9; }

.ft a{ color:#ffffff; }
.ft a:hover{ color:#ffffff; }

.ft-social{ display:flex; gap:8px; }
.ft-soc{
  width:40px; height:40px; border-radius:999px;
  display:grid; place-items:center;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color:#ffffff;
  transition:transform .15s ease, background .2s ease, border-color .2s ease;
}
.ft-soc:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.2);
}
.ft-soc svg{
  width:18px;
  height:18px;
  color:currentColor;
  stroke:currentColor;
  fill:none;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* CTA WhatsApp */
.ft-cta{
  margin-top:14px;
  display:inline-flex; align-items:center; gap:10px;
  padding:.7rem 1rem; border-radius:999px;
  background:#25d366; color:#0b1a0f; font-weight:800;
  text-decoration:none;
  box-shadow:0 8px 18px rgba(0,0,0,.18);
  transition:transform .15s ease, filter .15s ease, box-shadow .2s ease;
}
.ft-cta svg{ width:18px; height:18px; }
.ft-cta:hover{ transform:translateY(-1px); filter:brightness(1.05); box-shadow:0 12px 26px rgba(0,0,0,.22); }

/* Barra inferior */
.ft-copy{
  background:#0a131a;
  padding:12px 0;
}
.ft-copy p{
  width:min(1200px,92%);
  margin:0 auto;
  display:grid;
  justify-items:center;
  gap:4px;
  text-align:center;
  color:#bcd0de; font-size:.95rem;
}
.ft-copy a{ color:#fff; text-decoration:none; border-bottom:1px dashed rgba(255,255,255,.35); }
.ft-copy a:hover{ border-bottom-color:transparent; }

/* Parceiros (rodapé) */
.ft-partners{
  background:#0a131a;
  border-top:1px solid rgba(255,255,255,.08);
}
.ft-partners__wrap{
  width:min(1200px,92%);
  margin:0 auto;
  padding:14px 0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  gap:10px;
}
.ft-partners__wrap h3{
  margin:0;
  font-weight:800;
  letter-spacing:.02em;
  color:#cfe6f6;
  font-size:1rem;
}
.ft-partnerCard{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  border-radius:16px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.1);
  color:inherit;
  text-decoration:none;
  transition:transform .15s ease, background .2s ease, border-color .2s ease;
}
.ft-partnerCard:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.16);
}
.ft-partnerCard img{
  width:34px;
  height:34px;
  object-fit:contain;
  display:block;
}
.ft-partnerCard__meta{
  display:flex;
  flex-direction:column;
  line-height:1.2;
}
.ft-partnerCard__meta strong{
  font-weight:900;
  color:#e7edf2;
}
.ft-partnerCard__meta span{
  font-size:.92rem;
  color:#bcd0de;
}
@media (max-width: 640px){
  .ft-partners__wrap{ padding:12px 0; }
  .ft-partnerCard img{ width:30px; height:30px; }
}

/* Responsivo */
@media (max-width: 960px){
  .ft-wrap{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .ft-wrap{ grid-template-columns: 1fr; }
  .ft-logo{ width: 200px; }
}

/* Selo de parceiro no rodapé (maior) */
.ft-partner{
  display:inline-flex;
  align-items:center;
  gap:12px;                 /* espaço maior entre ícone e texto */
  font-size:1.05rem;        /* texto um pouco maior */
  color:#fff;               /* ajuste se seu rodapé for claro */
  opacity:.95;
  text-decoration:none;
  white-space:nowrap;
}
.ft-partner:hover{ opacity:1; text-decoration:underline; }

.ft-partner img{
  width:32px;               /* ↑ aumentamos o ícone */
  height:32px;
  object-fit:contain;
  /* Se o fundo do rodapé for escuro e o ícone também for escuro, ative: */
  /* filter: brightness(0) invert(1); */
}

@media (max-width: 768px){
  .ft-partner{
    font-size:1rem;         /* levemente menor no mobile */
    gap:10px;
  }
  .ft-partner img{
    width:26px;             /* levemente menor no mobile */
    height:26px;
  }
}

/* (Opcional) versão bem grande: adicione a classe ft-partner--lg no <a> */
.ft-partner--lg{ font-size:1.12rem; gap:14px; }
.ft-partner--lg img{ width:36px; height:36px; }

/* Só reduz o texto do selo */
.ft-partner span{
  font-size: .90em;    /* .85em se quiser menor ainda */
  line-height: 1.2;
}

/* Texto do selo responsivo */
.ft-partner{ font-size: clamp(.82rem, .75rem + .4vw, .95rem); }
.ft-partner img{ width: 24px; height: 24px; }

/* Selo do parceiro com o MESMO tamanho dos demais textos do rodapé */
.ft-partner{
  font-size: inherit;     /* usa o mesmo tamanho do contêiner/rodapé */
  gap: 8px;               /* ajuste fino do espaçamento */
}

/* Ícone escalando com o texto (acompanha a mesma “altura” da linha) */
.ft-partner img{
  height: 1em;            /* mesma altura da fonte atual */
  width: auto;            /* mantém proporção do ícone */
  vertical-align: middle; /* alinha melhor ao texto */
}
/* Selo do parceiro: herda exatamente a cor do rodapé */
.ft-partner,
.ft-partner:link,
.ft-partner:visited,
.ft-partner:hover,
.ft-partner:active{
  color: inherit !important;   /* sobrescreve qualquer cor anterior (#fff, etc.) */
  text-decoration: none;
}

.ft-partner:hover{
  text-decoration: underline;  /* opcional: mantém só o sublinhado no hover */
}

/* ===== Reveal on scroll (descida suave) ===== */
.reveal,
[data-reveal] {
  opacity: 0;
  transform: translateY(-16px); /* começa um pouco acima e "desce" */
  transition: transform .6s cubic-bezier(.2,.6,.2,1), opacity .6s ease;
  will-change: transform, opacity;
}

/* Quando entrar na viewport */
.reveal.in-view,
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Variações opcionais por direção (se quiser usar em algum ponto) */
[data-reveal="up"]    { transform: translateY(16px);  }
[data-reveal="left"]  { transform: translateX(16px);  }
[data-reveal="right"] { transform: translateX(-16px); }

/* Respeita quem prefere menos animação */
@media (prefers-reduced-motion: reduce) {
  .reveal, [data-reveal] {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
.is-dragging, .is-dragging * { cursor: grabbing !important; user-select: none !important; }
#heroCarousel .slides, #areasCarousel, #eventosCarousel { cursor: grab; }
/* ===== Reveal on Scroll (forte e claro) ===== */
.reveal {
  opacity: 0;
  /* distância da “descida” (ajuste se quiser mais ou menos) */
  transform: translateY(48px);
  transition:
    opacity 0.6s cubic-bezier(.22,.61,.36,1),
    transform 0.6s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}

/* Variante ainda mais intensa (use data-reveal="hard" em elementos que quiser) */
.reveal[data-reveal="hard"] { transform: translateY(72px); }

/* Quando entra na viewport */
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Dica: se algum elemento tiver outro transform (ex.: hover com scale),
   aplique a classe .reveal no CONTÊINER dele para evitar conflito de transforms. */

/* Acessibilidade: reduz movimento para quem prefere */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    transform: none !important;
    transition: opacity 0.25s linear !important;
  }
}
/* --- Rodapé: corrigir risquinho e espaço --- */

/* zera a margem padrão do parágrafo da faixa de copy */
.ft-copy p { 
  margin: 0; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  gap: 16px; 
  flex-wrap: wrap;
}

/* links da faixa de copy herdam cor e não recebem sublinhado */
.ft-copy a { 
  color: inherit; 
  text-decoration: none; 
  border: 0;
}

/* estilo do parceiro Mouzalas com ícone antes do texto (se houver) */
.ft-partner{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;      /* remove sublinhado daquele “risquinho” */
  border: 0;
  color: inherit;
}

/* bolinha/ícone (troque o caminho para o seu arquivo claro) */
.ft-partner::before{
  content: "";
  width: 20px;
  height: 20px;
  background: url("../imagens/MZA.png") center/contain no-repeat;
  border-radius: 50%;
  flex: 0 0 20px;
}

/* garante que nada crie um espaço no final da página */
body { margin: 0; }
#rodape { margin-bottom: 0; }
/* --- Rodapé: corrigir risquinho e espaço --- */

/* zera a margem padrão do parágrafo da faixa de copy */
.ft-copy p { 
  margin: 0; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  gap: 16px; 
  flex-wrap: wrap;
}

/* links da faixa de copy herdam cor e não recebem sublinhado */
.ft-copy a { 
  color: inherit; 
  text-decoration: none; 
  border: 0;
}

/* estilo do parceiro Mouzalas com ícone antes do texto (se houver) */
.ft-partner{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;      /* remove sublinhado daquele “risquinho” */
  border: 0;
  color: inherit;
}

/* garante que nada crie um espaço no final da página */
body { margin: 0; }
#rodape { margin-bottom: 0; }

/* ==== HOTFIX RODAPÉ (risquinho + barra branca no final) ==== */

/* 1) Evita o “filete” claro no fim da página (subpixel/zoom)  */
html { background: #0a131a; } /* mesma cor da .ft-copy */
body { margin: 0; }

/* 2) Garante que nenhuma margem “escape” para fora do rodapé  */
footer.ft { display: flow-root; }                  /* bloqueia colapso de margem */
footer.ft .ft-wrap > *:last-child { margin-bottom: 0; }
#rodape { margin-bottom: 0 !important; }           /* caso use esse id no rodapé */

/* 3) Remove o sublinhado/“risquinho” e qualquer ícone automático no link do parceiro */
footer.ft .ft-copy p { margin: 0; }                /* sem margem extra */
footer.ft .ft-copy a,
footer.ft .ft-copy a:link,
footer.ft .ft-copy a:visited {
  text-decoration: none !important;
  border: 0 !important;
  background-image: none !important;               /* temas que usam underline via bg */
}
footer.ft a.ft-partner::before { content: none !important; } /* sem ícone */
footer.ft a.ft-partner { text-decoration: none !important; }

/* (opcional) assegura que a faixa final usa a cor escura desejada */
footer.ft .ft-copy {
  background: #0a131a;   /* mantenha igual ao html acima */
  padding: 12px 0;       /* só padding, sem margem */
  margin: 0;
  border: 0;
}
/* ==== Rodapé: força texto visível no link do parceiro (sem ícone) ==== */
footer.ft .ft-copy p { color: #bcd0de; } /* cor base do texto da faixa */

footer.ft .ft-copy a.ft-partner::before {
  content: none !important;                /* garante SEM ícone */
}

footer.ft .ft-copy a.ft-partner,
footer.ft .ft-copy a.ft-partner:link,
footer.ft .ft-copy a.ft-partner:visited,
footer.ft .ft-copy a.ft-partner:hover,
footer.ft .ft-copy a.ft-partner:active {
  color: #bcd0de !important;
  -webkit-text-fill-color: #bcd0de !important;   /* corrige “transparente” no WebKit */
  text-decoration: none !important;
  border: 0 !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  mix-blend-mode: normal !important;
  text-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

footer.ft .ft-copy a.ft-partner *,
footer.ft .ft-copy a.ft-partner span,
footer.ft .ft-copy a.ft-partner strong {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}
footer.ft .ft-copy p a.ft-partner { color: #bcd0de !important; -webkit-text-fill-color: #bcd0de !important; }


/* ===== FOOTER COPY — correção mínima e segura ===== */
footer.ft .ft-copy {
  background: #0a131a;   /* faixa escura */
  padding: 12px 0;
  margin: 0;
  border: 0;
}

footer.ft .ft-copy p{
  margin: 0;
  display: flex;
  justify-content: center;   /* centraliza conteúdo */
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #bcd0de;            /* cor base do texto */
}

/* Tudo dentro do parágrafo herda a cor (conserta “transparente”/blend) */
footer.ft .ft-copy p *{
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  mix-blend-mode: normal !important;
  text-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  background: none !important;
  background-image: none !important;
  border: 0 !important;
  text-decoration: none !important; /* tira sublinhado indesejado */
}

/* Link do parceiro: sem pseudo-ícone, só texto */
footer.ft .ft-copy .ft-partner::before,
footer.ft .ft-copy .ft-partner::after{
  content: none !important;
}
/* ===== FOOTER COPY — alinhar 3 itens na mesma linha ===== */
footer.ft .ft-copy p{
  width: min(1200px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;  /* esquerda | centro | direita */
  gap: 12px;
  flex-wrap: nowrap;               /* mantém 1 linha no desktop */
}

/* impede que algum item estique e empurre os outros */
footer.ft .ft-copy p > *{
  flex: 0 0 auto;
}

/* mobile: pode quebrar em 2 linhas, centralizado */
@media (max-width: 780px){
  footer.ft .ft-copy p{
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 6px;
    text-align: center;
  }
}
/* ===== FT-COPY — centralizar o parceiro entre os dois textos ===== */
footer.ft .ft-copy{ position: relative; }

/* linha com © à esquerda e "Site desenvolvido..." à direita */
footer.ft .ft-copy p{
  width: min(1200px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

/* parceiro (está fora do <p>): centraliza vertical e horizontalmente */
footer.ft .ft-copy > .ft-partner{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  color: #bcd0de !important;
  -webkit-text-fill-color: #bcd0de !important;
  text-decoration: none !important;
  border: 0 !important;
  background: none !important;
  z-index: 1;
}
footer.ft .ft-copy > .ft-partner::before{ content:none !important; }
footer.ft .ft-copy > .ft-partner *,
footer.ft .ft-copy > .ft-partner span,
footer.ft .ft-copy > .ft-partner strong{
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}

/* Mobile: deixa quebrar e coloca o parceiro embaixo, centralizado */
@media (max-width: 780px){
  footer.ft .ft-copy p{
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 6px;
    text-align: center;
  }
  footer.ft .ft-copy > .ft-partner{
    position: static;
    transform: none;
    display: block;
    margin: 6px auto 0;
  }
}
/* ===== FT-COPY — centralizar o parceiro na mesma linha ===== */
footer.ft .ft-copy{ 
  position: relative;            /* referência do posicionamento */
}

/* linha com © à esquerda e "Site desenvolvido..." à direita */
footer.ft .ft-copy p{
  width: min(1200px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

/* sem ícone antes */
footer.ft .ft-copy .ft-partner::before{ content: none !important; }

/* garante que o span/strong herdam a cor */
footer.ft .ft-copy .ft-partner *, 
footer.ft .ft-copy .ft-partner span, 
footer.ft .ft-copy .ft-partner strong{
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}

/* Mobile: deixa quebrar e põe o parceiro centralizado abaixo */
@media (max-width: 780px){
  footer.ft .ft-copy p{
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 6px;
    text-align: center;
  }
  footer.ft .ft-copy .ft-partner{
    position: static !important;
    transform: none !important;
    display: block !important;
    margin: 6px auto 0 !important;
    text-align: center !important;
  }
}


/* === Rodapé (.ft-copy): subir os 3 itens igualmente === */

/* 0) Zera qualquer ajuste anterior que afetava só o parceiro */
footer.ft .ft-copy .ft-partner{
  position: static !important;
  transform: none !important;
  margin-top: 0 !important;
}

/* 1) Deixa a faixa com menos “respiro” embaixo (sobe visualmente) */
footer.ft .ft-copy{
  padding-block: 10px 4px;   /* topo 10px, base 4px (ajuste à vontade) */
}

/* 2) Desktop/Tablet: empurra TODOS os itens pra cima de forma idêntica */
@media (min-width: 780px){
  footer.ft .ft-copy p{
    align-items: center;     /* centraliza verticalmente */
    line-height: 1.25;
  }
  footer.ft .ft-copy p > *{
    position: relative;
    top: -20px;               /* SUBIDA uniforme (tente -4px / -8px se preferir) */
  }
}

/* 3) Mobile: sem deslocamento extra (mantém responsivo) */
@media (max-width: 779px){
  footer.ft .ft-copy p{
    justify-content: center;
    gap: 10px;
  }
  footer.ft .ft-copy p > *{ top: 0; }
}

/* ===== FT-COPY — FIX DEFINITIVO (desktop ok + mobile à esquerda) ===== */

/* Faixa inferior do rodapé */
footer.ft .ft-copy{
  background:#0a131a;
  padding:10px 0 8px !important;
  margin:0 !important;
  border:0 !important;
}

/* Container do texto (usa FLEX) */
footer.ft .ft-copy p{
  width:min(1200px,92%) !important;
  margin:0 auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  line-height:1.25 !important;
  color:#bcd0de !important;
  -webkit-text-fill-color:#bcd0de !important;
}

/* Itens internos: zera quaisquer offsets/positions antigos */
footer.ft .ft-copy p > *{
  position:static !important;
  top:auto !important;
  transform:none !important;
  margin:0 !important;
  display:inline-block !important;      /* baseline igual */
  vertical-align:middle !important;
  color:inherit !important;
  -webkit-text-fill-color:currentColor !important;
  text-decoration:none !important;
  background:none !important;
  border:0 !important;
  white-space:normal !important;
}

/* Link do parceiro (texto puro, sem ícone/absoluto) */
footer.ft .ft-copy .ft-partner{
  display:inline !important;
  white-space:nowrap !important;
}
footer.ft .ft-copy .ft-partner::before{ content:none !important; }

/* Links da copy herdam a cor e não sublinham */
footer.ft .ft-copy a{
  color:inherit !important;
  text-decoration:none !important;
  border:0 !important;
  background:none !important;
}

/* ===== Mobile: empilhar ALINHADO À ESQUERDA, dentro das margens ===== */
@media (max-width:780px){
  footer.ft .ft-copy p{
    flex-direction:column !important;
    align-items:flex-start !important;     /* <<< esquerda */
    justify-content:flex-start !important;
    text-align:left !important;
    row-gap:6px !important;
  }
  footer.ft .ft-copy p > *{
    width:100% !important;                 /* não sai das margens */
  }
}
/* MOBILE: alinhar "Escritório parceiro: MZA" à esquerda, sem deslocar */
@media (max-width: 780px){
  footer.ft .ft-copy p{
    flex-direction: column !important;
    align-items: flex-start !important;   /* esquerda */
    text-align: left !important;
    row-gap: 6px !important;
  }

  footer.ft .ft-copy .ft-partner{
    display: block !important;            /* ocupa a linha toda */
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    text-indent: 0 !important;
    white-space: normal !important;       /* permite quebrar linha */
    gap: 0 !important;                    /* neutraliza possíveis inline-flex antigos */
  }

  /* garante que o conteúdo herda e quebra corretamente */
  footer.ft .ft-copy .ft-partner *,
  footer.ft .ft-copy .ft-partner strong{
    white-space: normal !important;
    color: inherit !important;
  }
}
/* ===== FT-COPY — reset seguro + desktop visível ===== */

/* Base da faixa */
footer.ft .ft-copy{
  background:#0a131a;
  padding:10px 0 6px !important;
  margin:0 !important;
  border:0 !important;
}

/* MOBILE (<780px): empilha e ALINHA À ESQUERDA */
@media (max-width:780px){
  footer.ft .ft-copy p{
    width:min(1200px,92%);
    margin:0 auto;
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;
    gap:6px !important;
    text-align:left !important;
    color:#bcd0de !important;
  }
  footer.ft .ft-copy .ft-partner{
    display:block !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    text-align:left !important;
    white-space:normal !important;
    gap:0 !important;
  }
  footer.ft .ft-copy .ft-partner::before{ content:none !important; }
}

/* DESKTOP (>=781px): três itens na mesma linha, visíveis */
@media (min-width:781px){
  footer.ft .ft-copy p{
    width:min(1200px,92%);
    margin:0 auto !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px;
    line-height:1.25 !important;
    color:#bcd0de !important;     /* <<< define a cor da faixa */
  }

  /* Link do parceiro: texto normal, sem hacks anteriores */
  footer.ft .ft-copy .ft-partner{
    position:static !important;
    transform:none !important;
    display:inline !important;
    vertical-align:middle !important;
    margin:0 !important;
    white-space:nowrap !important;
    color:inherit !important;
    opacity:1 !important;
    visibility:visible !important;
    mix-blend-mode:normal !important;
    text-shadow:none !important;
  }
  footer.ft .ft-copy .ft-partner::before{ content:none !important; }
}

/* Links/spans herdam a cor e não têm sublinhado */
footer.ft .ft-copy a,
footer.ft .ft-copy span{
  color:inherit !important;
  -webkit-text-fill-color:currentColor !important;
  text-decoration:none !important;
  border:0 !important;
  background:none !important;
}

/* Mata qualquer regra antiga que estivesse “apagando” o texto */
footer.ft .ft-copy, footer.ft .ft-copy *{
  -webkit-text-fill-color:inherit !important;
  mix-blend-mode:normal !important;
  text-shadow:none !important;
}/* ===== FT-COPY — layout desktop visível + mobile alinhado à esquerda ===== */

/* Barra inferior e container */
footer.ft .ft-copy{
  background:#0a131a;
  padding:10px 0 6px !important;
  margin:0 !important;
  border:0 !important;
  position: static !important; /* garante que não há posicionamento herdado */
}
footer.ft .ft-copy p{
  width:min(1200px,92%);
  margin:0 auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px;
  line-height:1.25 !important;
  color:#bcd0de !important; /* cor base da faixa */
}

/* === RESET MÁXIMO do link .ft-partner (desktop) === */
footer.ft .ft-copy .ft-partner,
footer.ft .ft-copy .ft-partner *,
footer.ft .ft-copy .ft-partner:link,
footer.ft .ft-copy .ft-partner:visited,
footer.ft .ft-copy .ft-partner:hover,
footer.ft .ft-copy .ft-partner:active{
  position: static !important;
  inset: auto !important;
  transform: none !important;
  float: none !important;
  clear: none !important;
  display: inline !important;
  vertical-align: middle !important;

  opacity: 1 !important;
  visibility: visible !important;

  color:#bcd0de !important;
  -webkit-text-fill-color:#bcd0de !important;
  background:none !important;
  background-image:none !important;
  mix-blend-mode:normal !important;
  text-shadow:none !important;
  text-decoration:none !important;

  white-space:nowrap !important;
  font-size:inherit !important;
  line-height:1.25 !important;
  z-index:auto !important;
}
footer.ft .ft-copy .ft-partner::before,
footer.ft .ft-copy .ft-partner::after{ content:none !important; }

/* Links/spans da copy herdam a cor normalmente */
footer.ft .ft-copy a,
footer.ft .ft-copy span{
  color:inherit !important;
  -webkit-text-fill-color:currentColor !important;
  text-decoration:none !important;
  border:0 !important;
  background:none !important;
  opacity:1 !important;
  visibility:visible !important;
}

/* === MOBILE: empilha e ALINHA À ESQUERDA dentro das margens === */
@media (max-width:780px){
  footer.ft .ft-copy p{
    flex-direction:column !important;
    align-items:flex-start !important;   /* esquerda */
    justify-content:flex-start !important;
    gap:6px !important;
    text-align:left !important;
  }
  footer.ft .ft-copy p > *{ width:100% !important; }
  footer.ft .ft-copy .ft-partner{
    display:block !important;
    white-space:normal !important;       /* permite quebra */
  }
}


/* ================= FT-COPY — FIX FINAL (desktop visível + mobile à esquerda) ================= */

/* Barra inferior + container */
footer.ft .ft-copy{
  background:#0a131a;
  padding:10px 0 6px;
  margin:0;
  border:0;
}
footer.ft .ft-copy p{
  width:min(1200px,92%);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  line-height:1.25;
  color:#bcd0de; /* cor base da faixa */
}

/* Zera QUALQUER deslocamento legado nos filhos */
footer.ft .ft-copy p > *{
  position:static !important;
  top:auto !important;
  transform:none !important;
  margin:0 !important;
}

/* ---- PARCEIRO: reseta tudo e volta a ser texto normal ---- */
footer.ft .ft-copy p > a.ft-partner{
  all: unset;                    /* remove estilos herdados conflituosos */
  display:inline;                /* volta a ocupar a linha normalmente */
  cursor:pointer;
  color:#bcd0de;
  line-height:1.25;
  text-decoration:none;
}
footer.ft .ft-copy p > a.ft-partner span,
footer.ft .ft-copy p > a.ft-partner strong{
  all: unset;
  color:inherit;
  font:inherit;
  line-height:inherit;
}
footer.ft .ft-copy p > a.ft-partner::before,
footer.ft .ft-copy p > a.ft-partner::after{
  content:none !important;       /* garante SEM ícone */
}

/* Links/spans da copy herdam cor normalmente */
footer.ft .ft-copy a,
footer.ft .ft-copy span{
  color:inherit;
  text-decoration:none;
  border:0;
  background:none;
  -webkit-text-fill-color: currentColor;
}

/* -------- MOBILE: empilha e ALINHA À ESQUERDA dentro das margens -------- */
@media (max-width:780px){
  footer.ft .ft-copy p{
    flex-direction:column;
    align-items:flex-start;   /* esquerda */
    justify-content:flex-start;
    gap:6px;
    text-align:left;
  }
  footer.ft .ft-copy p > a.ft-partner{
    display:block;
    width:100%;
    white-space:normal;       /* pode quebrar linha sem sair das margens */
  }
}
/* DEBUG DESKTOP: forçar o "Escritório parceiro: MZA" a aparecer */
@media (min-width: 781px){
  html body footer.ft .ft-copy p > a.ft-partner,
  html body footer.ft .ft-copy p > a.ft-partner *,
  html body footer.ft .ft-copy p > a.ft-partner strong{
    all: unset !important;                 /* zera estilos conflituosos */
    display: inline !important;
    cursor: pointer !important;

    /* texto visível de qualquer jeito */
    color: #bcd0de !important;
    -webkit-text-fill-color: #bcd0de !important;

    /* mata efeitos que “apagam” texto */
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    mix-blend-mode: normal !important;
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;

    /* evita “truques” de esconder texto */
    font-size: inherit !important;
    line-height: 1.25 !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-indent: 0 !important;
  }
  /* só pra ver se o link existe: contorno rosa no desktop (tire depois) */
  html body footer.ft .ft-copy p > a.ft-partner{ outline: 1px dashed hotpink !important; }
}
/* FT-COPY: layout estável + herança de cor */
footer.ft .ft-copy {
  background: #0a131a;
  padding: 10px 0 8px;
}
footer.ft .ft-copy p{
  width: min(1200px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  line-height: 1.25;
  color: #bcd0de;                /* cor garantida */
}

/* Links e spans herdam cor e não somem */
footer.ft .ft-copy a,
footer.ft .ft-copy span,
footer.ft .ft-copy strong{
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  text-decoration: none;
  background: none !important;
  mix-blend-mode: normal !important;
  text-shadow: none !important;
  opacity: 1 !important;
  filter: none !important;
}

/* Remove qualquer pseudo-ícone antigo no parceiro */
footer.ft .ft-copy .ft-partner::before,
footer.ft .ft-copy .ft-partner::after { content: none !important; }

/* Mobile: empilha e alinha à esquerda (para não “sair das margens”) */
@media (max-width: 780px){
  footer.ft .ft-copy p{
    flex-direction: column;
    align-items: flex-start;  /* esquerda */
    text-align: left;
    row-gap: 6px;
  }
}
/* REMOVER contorno rosa do parceiro (desktop) */
@media (min-width:781px){
  html body footer.ft .ft-copy p > a.ft-partner{
    outline: none !important;
  }
}

/* Footer public pages: alinhamento final */
footer.ft .ft-copy p{
  display: grid !important;
  justify-items: center !important;
  text-align: center !important;
}

@media (max-width: 780px){
  footer.ft .ft-copy p{
    align-items: center !important;
    text-align: center !important;
  }
}

/* =========================================================
 * Internal Pages + Content (Noticias/Blog) + Team
 * ========================================================= */
.page{
  padding-top: var(--hdr-h, 64px);
  min-height: 100vh;
  background: #eef6f7;
}

.page-wrap{
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* Admin: dá um pouco mais de largura para o CMS */
.admin-page .admin-cms{
  width: min(1400px, 96%);
}

.page-hero{
  background: linear-gradient(180deg, #ffffff 0%, #eef6f7 100%);
  padding: clamp(32px, 4vw, 56px) 0;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

.page-hero h1{
  margin: 0 0 8px;
  color: var(--mfv-blue);
  font-weight: 800;
  letter-spacing: .2px;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
}

.page-hero p{
  margin: 0;
  max-width: 72ch;
  color: #2b2b33;
  line-height: 1.65;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
}

.page-section{
  padding: clamp(28px, 4.2vw, 56px) 0;
}

.content-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 18px);
}

@media (min-width: 700px){
  .content-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 992px){
  .content-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.content-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.content-card__link{
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  color: inherit;
}

.content-card__link:focus-visible{
  outline: 2px solid rgba(212,175,55,.85);
  outline-offset: 2px;
}

.content-card__media{
  background: #0a131a;
  aspect-ratio: 16 / 9;
}

.content-card__img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.content-card__body{
  padding: 16px 16px 18px;
  display: grid;
  gap: 8px;
}

.content-card__meta{
  font-size: .9rem;
  color: rgba(11,37,69,.72);
  font-weight: 700;
}

.content-card__author{
  margin: -2px 0 0;
  color: #4a5b70;
  font-size: .92rem;
  font-weight: 600;
}

.content-card__title{
  margin: 0;
  color: #0b2545;
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.content-card__summary{
  margin: 0;
  color: #1f2430;
  opacity: .95;
  line-height: 1.55;
  font-size: 0.98rem;
}

.content-card__cta{
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--mfv-blue);
}

.content-card__link:hover .content-card__title{
  text-decoration: underline;
}

.content-empty, .content-error, .content-loading{
  margin: 0;
  padding: 18px 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  color: #2b2b33;
  line-height: 1.6;
}

.content-error a{
  color: var(--mfv-blue);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px dashed rgba(11,37,69,.35);
}
.content-error a:hover{ border-bottom-color: transparent; }

.content-article{
  max-width: 900px;
  margin-inline: auto;
}

.content-breadcrumb{ margin-bottom: 14px; }
.content-breadcrumb a{
  color: var(--mfv-blue);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px dashed rgba(11,37,69,.35);
}
.content-breadcrumb a:hover{ border-bottom-color: transparent; }

.content-head{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
}

.content-cover{ background: #0a131a; }
.content-cover__img{
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.content-date{
  margin: 14px 16px 0;
  color: rgba(11,37,69,.72);
  font-weight: 800;
  font-size: .95rem;
}

.content-author{
  margin: 8px 16px 0;
  color: #425467;
  font-weight: 700;
  font-size: .96rem;
}

.content-title{
  margin: 6px 16px 0;
  color: #0b2545;
  font-weight: 900;
  letter-spacing: .2px;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  line-height: 1.15;
}

.content-subtitle{
  margin: 10px 16px 0;
  color: #2b2b33;
  line-height: 1.6;
  font-weight: 700;
}

.content-summary{
  margin: 12px 16px 18px;
  color: #1f2430;
  line-height: 1.65;
}

.content-body{
  margin-top: 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  padding: 18px 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.05);
}

.content-body h2, .content-body h3{
  color: #0b2545;
  margin: 18px 0 10px;
  font-weight: 900;
}

.content-body p{
  margin: 10px 0;
  color: #1f2430;
  line-height: 1.75;
  font-size: 1rem;
}

.content-body a{
  color: var(--mfv-blue);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px dashed rgba(11,37,69,.35);
}
.content-body a:hover{ border-bottom-color: transparent; }

.content-body img{
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
}

.content-body blockquote{
  margin: 14px 0;
  padding: 12px 14px;
  border-left: 4px solid rgba(11,37,69,.45);
  background: rgba(11,37,69,.04);
  border-radius: 14px;
}

.content-body pre{
  overflow: auto;
  padding: 14px;
  border-radius: 14px;
  background: #0a131a;
  color: #e7edf2;
}

.content-body code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  font-size: .95em;
}

@media (min-width: 992px){
  .content-body{ padding: 22px 22px; }
  .content-date, .content-title, .content-subtitle, .content-summary{
    margin-left: 22px;
    margin-right: 22px;
  }
}

/* Home: noticias */
.news-home{
  padding: clamp(32px, 5vw, 64px) 0;
  background: #fff;
}
.news-home__wrap{
  width: min(1200px, 92%);
  margin-inline: auto;
}
.news-home__head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.news-home__head h2{
  margin: 0 0 4px;
  color: #0b2545;
  font-weight: 900;
  font-size: clamp(1.4rem, 3vw, 2rem);
}
.news-home__head p{
  margin: 0;
  color: #2b2b33;
  line-height: 1.6;
  max-width: 70ch;
}
@media (max-width: 640px){
  .news-home__head{ flex-direction: column; align-items: flex-start; }
}

/* Team (home section) */
.team-home{
  padding: clamp(32px, 5vw, 64px) 0;
  background: #fff;
}
.team-home__wrap{
  width: min(1200px, 92%);
  margin-inline: auto;
}
.team-home__head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.team-home__head h2{
  margin: 0 0 4px;
  color: #0b2545;
  font-weight: 900;
  font-size: clamp(1.4rem, 3vw, 2rem);
}
.team-home__head p{
  margin: 0;
  color: #2b2b33;
  line-height: 1.6;
  max-width: 70ch;
}
@media (max-width: 640px){
  .team-home__head{ flex-direction: column; align-items: flex-start; }
}

/* Team */
.team-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 18px);
}
@media (min-width: 700px){
  .team-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 1100px){
  .team-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}

.team-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  display: grid;
  grid-template-rows: auto 1fr;
}
.team-card__media{
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(11,37,69,.9), rgba(11,37,69,.6));
}
.team-card__initials{
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.team-card__img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.team-card__body{
  padding: 16px 16px 18px;
  display: grid;
  gap: 8px;
}
.team-card__name{
  margin: 0;
  color: #0b2545;
  font-weight: 900;
  font-size: 1.1rem;
}
.team-card__role{
  margin: 0;
  color: rgba(11,37,69,.72);
  font-weight: 800;
}
.team-card__bio{
  margin: 0;
  color: #1f2430;
  line-height: 1.65;
}
.team-card__links{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.team-card__link{
  color: var(--mfv-blue);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px dashed rgba(11,37,69,.35);
}
.team-card__link:hover{ border-bottom-color: transparent; }

/* =========================================================
 * Eventos carousel: snap + botões (estável em desktop/mobile)
 * ========================================================= */
.ev-carousel{
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-padding: 6px;
  cursor: grab;
}
.ev-carousel:active{ cursor: grabbing; }
.ev-carousel::-webkit-scrollbar{ display: none; }

.ev-track{
  display: inline-flex !important;
  width: max-content;
  gap: var(--ev-gap, 12px) !important;
  padding: 6px 2px 10px !important;
}

.ev-item{
  margin: 0;
  flex: 0 0 clamp(78%, 78vw, 440px) !important;
  scroll-snap-align: start;
  aspect-ratio: 16 / 9;
}
.ev-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 700px){
  .ev-item{ flex-basis: clamp(320px, 46vw, 520px) !important; }
}
@media (min-width: 992px){
  .ev-item{ flex-basis: clamp(280px, 28vw, 360px) !important; }
}

.ev-nav{ display: flex !important; }

/* Hash navigation offset (fixed header) */
#nossa-historia,
#areas-de-atuacao,
#fale-conosco,
#eventos{
  scroll-margin-top: calc(var(--hdr-h, 64px) + 16px);
}

/* =========================================================
 * Admin area + mobile refinement for Eventos
 * ========================================================= */
.admin-hero{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-shell{
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
}

.admin-sidebar{
  display: grid;
  gap: 16px;
  position: sticky;
  top: calc(var(--hdr-h, 64px) + 18px);
}

.admin-sidebar__card,
.admin-list-panel,
.admin-editor-panel,
.admin-login-card,
.admin-login-aside{
  padding: clamp(18px, 2vw, 24px);
}

.admin-stat-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.admin-stat{
  border-radius: 18px;
  padding: 14px 12px;
  background: rgba(11,37,69,.04);
  border: 1px solid rgba(11,37,69,.08);
  display: grid;
  gap: 4px;
  text-align: center;
}

.admin-stat strong{
  color: #0b2545;
  font-size: 1.4rem;
  font-weight: 900;
}

.admin-stat span{
  color: rgba(11,37,69,.7);
  font-size: .92rem;
  font-weight: 700;
}

.admin-nav{
  display: grid;
  gap: 10px;
}

.admin-nav__btn,
.admin-markdown-btn{
  appearance: none;
  border: 1px solid rgba(11,37,69,.14);
  border-radius: 14px;
  background: #fff;
  color: #0b2545;
  font: inherit;
  font-weight: 800;
  padding: 12px 14px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.admin-nav__btn:hover,
.admin-markdown-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(11,37,69,.28);
  box-shadow: 0 12px 24px rgba(11,37,69,.08);
}

.admin-nav__btn.is-active{
  background: #0b2545;
  color: #fff;
  border-color: #0b2545;
}

.admin-main{
  display: grid;
  gap: 16px;
}

.admin-main__grid{
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
}

.admin-panel__head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.admin-panel__head h2,
.admin-login-card__head h2{
  margin: 0 0 6px;
  color: #0b2545;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.admin-panel__head p,
.admin-login-card__head p,
.admin-login-aside p{
  margin: 0;
  color: #2a3240;
  line-height: 1.65;
}

.admin-list{
  display: grid;
  gap: 12px;
  max-height: 920px;
  overflow: auto;
  padding-right: 4px;
}

.admin-entry{
  display: grid;
  gap: 10px;
  border-radius: 18px;
  border: 1px solid rgba(11,37,69,.1);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,248,250,.98));
  padding: 12px;
}

.admin-entry.is-active{
  border-color: rgba(11,37,69,.32);
  box-shadow: 0 14px 26px rgba(11,37,69,.08);
}

.admin-entry__main{
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  display: grid;
  gap: 8px;
  cursor: pointer;
}

.admin-entry__main strong{
  color: #0b2545;
  font-size: 1rem;
}

.admin-entry__main p{
  margin: 0;
  color: #2b3340;
  line-height: 1.55;
}

.admin-entry__meta{
  color: rgba(11,37,69,.65);
  font-size: .92rem;
}

.admin-entry__actions{
  display: flex;
  justify-content: flex-end;
}

.admin-link{
  color: var(--mfv-blue);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px dashed rgba(11,37,69,.35);
}

.admin-link:hover{
  border-bottom-color: transparent;
}

.admin-empty{
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed rgba(11,37,69,.18);
  color: rgba(11,37,69,.72);
  background: rgba(11,37,69,.03);
  text-align: center;
}

.admin-form{
  display: grid;
  gap: 14px;
}

.admin-form__grid{
  display: grid;
  gap: 14px;
}

.admin-form__grid--two{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-form__grid--compact{
  gap: 10px;
}

.admin-field{
  display: grid;
  gap: 7px;
}

.admin-field > span{
  color: #0b2545;
  font-weight: 800;
}

.admin-field input,
.admin-field select,
.admin-field textarea{
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(11,37,69,.12);
  background: #fff;
  color: #0f1720;
  padding: 12px 14px;
  font: inherit;
  resize: vertical;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus{
  outline: none;
  border-color: rgba(11,37,69,.38);
  box-shadow: 0 0 0 4px rgba(11,37,69,.09);
}

.admin-upload{
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.admin-upload__preview{
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(11,37,69,.1);
  background: linear-gradient(135deg, rgba(11,37,69,.12), rgba(11,37,69,.03));
  display: grid;
  place-items: center;
}

.admin-upload__preview img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-upload__placeholder{
  color: rgba(11,37,69,.68);
  font-weight: 800;
  text-align: center;
  padding: 18px;
}

.admin-upload__controls{
  display: grid;
  gap: 12px;
}

.admin-markdown-bar{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.admin-markdown-btn{
  padding: 9px 12px;
  font-size: .94rem;
}

.admin-form__actions,
.admin-login-card__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-btn--danger{
  background: #fff;
  color: #7a1f1f;
  border: 1px solid rgba(122,31,31,.24);
}

.admin-btn--danger:hover{
  border-color: rgba(122,31,31,.38);
  box-shadow: 0 12px 24px rgba(122,31,31,.08);
}

.admin-inline-status{
  min-height: 22px;
  margin: 0;
  color: #294155;
  font-weight: 700;
}

.admin-inline-status[data-state="success"]{ color: #0b6b37; }
.admin-inline-status[data-state="error"]{ color: #b42318; }
.admin-inline-status[data-state="info"]{ color: #0b4d75; }

.admin-helper{
  margin: 0;
  color: rgba(11,37,69,.7);
  line-height: 1.6;
  font-size: .95rem;
}

.admin-feature-list{
  margin: 0;
  padding-left: 18px;
  color: #223142;
  display: grid;
  gap: 8px;
  line-height: 1.65;
}

.admin-note{
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(11,37,69,.04);
  border: 1px solid rgba(11,37,69,.08);
}

.admin-note strong{
  display: block;
  color: #0b2545;
  margin-bottom: 6px;
}

.admin-chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.admin-chip--published{
  color: #0b2545;
  background: rgba(11,37,69,.08);
}

.admin-chip--draft{
  color: #7a4d00;
  background: rgba(245, 158, 11, .16);
}

.admin-login-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
}

.admin-login-card__head{
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

@media (max-width: 1180px){
  .admin-main__grid{ grid-template-columns: 1fr; }
}

@media (max-width: 1080px){
  .admin-shell{
    grid-template-columns: 1fr;
  }

  .admin-sidebar{
    position: static;
  }
}

@media (max-width: 900px){
  .admin-login-grid,
  .admin-form__grid--two,
  .admin-upload{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  .admin-panel__head,
  .admin-hero{
    align-items: flex-start;
  }

  .admin-stat-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px){
  .ev-carousel{
    scroll-padding: 8px;
  }

  .ev-track{
    gap: 10px !important;
    padding: 4px 2px 10px !important;
  }

  .ev-item{
    flex: 0 0 clamp(180px, 62vw, 240px) !important;
    max-width: 240px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }
}

@media (max-width: 480px){
  .ev-item{
    flex-basis: clamp(170px, 60vw, 220px) !important;
    max-width: 220px;
  }
}

/* =========================================================
 * Admin 2.0 - area apartada do site publico
 * ========================================================= */
body.admin-app,
body.admin-login-page{
  background:
    radial-gradient(circle at top right, rgba(212,175,55,.12), transparent 28%),
    linear-gradient(180deg, #f7fbfc 0%, #edf5f6 100%);
  color: #0f1823;
}

.admin-app .hdr,
.admin-login-page .hdr{
  display: none !important;
}

.admin-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,251,252,.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(11,37,69,.08);
}

.admin-header__wrap,
.admin-pageHero__wrap,
.admin-section,
.admin-footer__wrap,
.admin-loginLayout{
  width: min(1360px, 94%);
  margin-inline: auto;
}

.admin-header__wrap{
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  flex-wrap: wrap;
  padding: 14px 0;
}

.admin-brand{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.admin-brand img{
  width: clamp(136px, 18vw, 188px);
  height: auto;
  display: block;
}

.admin-brand strong{
  display: block;
  color: #0b2545;
  font-size: 1rem;
}

.admin-brand span{
  display: block;
  color: rgba(11,37,69,.68);
  font-size: .92rem;
}

.admin-nav{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1 1 520px;
}

.admin-nav a{
  color: #0b2545;
  text-decoration: none;
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.admin-nav a:hover{
  background: rgba(11,37,69,.06);
  transform: translateY(-1px);
}

.admin-nav a.is-active{
  background: #0b2545;
  color: #fff;
}

.admin-profile{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-profile__avatar{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0b2545, #154270);
  color: #fff;
  font-weight: 900;
  letter-spacing: .04em;
}

.admin-profile__meta{
  display: grid;
  gap: 2px;
}

.admin-profile__meta strong{
  color: #0b2545;
  font-size: .98rem;
}

.admin-profile__meta span{
  color: rgba(11,37,69,.68);
  font-size: .88rem;
}

.admin-page{
  min-height: calc(100vh - 170px);
}

.admin-pageHero{
  padding: clamp(38px, 4vw, 64px) 0 26px;
}

.admin-pageHero__wrap{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.admin-pageHero h1{
  margin: 10px 0 10px;
  color: #0b2545;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1.08;
}

.admin-pageHero p{
  margin: 0;
  max-width: 72ch;
  color: #2a3645;
  line-height: 1.72;
  font-size: 1.02rem;
}

.admin-pageHero__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-section{
  padding-bottom: clamp(40px, 4vw, 64px);
}

.admin-surface{
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(11,37,69,.08);
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(11,37,69,.07);
  padding: clamp(24px, 2.8vw, 34px);
}

.admin-surface__head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.admin-surface h2{
  margin: 0 0 6px;
  color: #0b2545;
  font-size: clamp(1.24rem, 2vw, 1.7rem);
}

.admin-surface p{
  margin: 0;
  color: #2a3645;
  line-height: 1.68;
}

.admin-dashboard{
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 24px;
  align-items: start;
}

.admin-metrics{
  grid-column: 1 / -1;
}

.admin-metrics__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.admin-metric{
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(11,37,69,.05), rgba(11,37,69,.02));
  border: 1px solid rgba(11,37,69,.08);
  padding: 18px;
  display: grid;
  gap: 8px;
}

.admin-metric span{
  color: rgba(11,37,69,.68);
  font-weight: 800;
}

.admin-metric strong{
  color: #0b2545;
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  line-height: 1;
}

.admin-dashboard-posts{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-dashboard-post{
  border-radius: 22px;
  border: 1px solid rgba(11,37,69,.08);
  background: rgba(248,250,251,.94);
  padding: 18px;
  display: grid;
  gap: 10px;
}

.admin-dashboard-post h3{
  margin: 0;
  color: #0b2545;
  font-size: 1.08rem;
}

.admin-dashboard-post__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-shortcuts{
  display: grid;
  gap: 12px;
}

.admin-shortcut{
  display: grid;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  padding: 16px;
  border: 1px solid rgba(11,37,69,.08);
  background: rgba(248,250,251,.94);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.admin-shortcut:hover{
  transform: translateY(-2px);
  border-color: rgba(11,37,69,.2);
  box-shadow: 0 16px 30px rgba(11,37,69,.08);
}

.admin-shortcut strong{
  color: #0b2545;
}

.admin-shortcut span{
  color: #334255;
  line-height: 1.6;
}

.admin-footer{
  border-top: 1px solid rgba(11,37,69,.08);
  padding: 18px 0 24px;
}

.admin-footer__wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(11,37,69,.72);
  font-size: .94rem;
}

.admin-loginLayout{
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, .96fr);
  gap: 28px;
  align-items: center;
  padding: 34px 0;
}

.admin-loginHero{
  display: grid;
  gap: 18px;
}

.admin-brand--login{
  margin-bottom: 8px;
}

.admin-loginHero h1{
  margin: 0;
  color: #0b2545;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.admin-loginHero p{
  margin: 0;
  color: #2c3848;
  line-height: 1.75;
  font-size: 1.02rem;
}

.admin-loginHero__notes{
  display: grid;
  gap: 14px;
}

.admin-noteCard{
  border-radius: 22px;
  padding: 18px 20px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(11,37,69,.08);
}

.admin-noteCard strong{
  display: block;
  color: #0b2545;
  margin-bottom: 8px;
}

.admin-loginCards{
  display: grid;
  gap: 18px;
}

.admin-loginCard h2{
  margin: 0 0 8px;
  color: #0b2545;
}

.admin-loginCard p{
  margin: 0 0 16px;
}

.admin-postsLayout,
.admin-usersLayout{
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.admin-postsSidebar{
  position: sticky;
  top: 120px;
}

.admin-postFilters{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.admin-postsList{
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 250px);
  overflow: auto;
  padding-right: 6px;
}

.admin-post-card{
  border-radius: 20px;
  border: 1px solid rgba(11,37,69,.08);
  background: rgba(248,250,251,.94);
  padding: 16px;
  display: grid;
  gap: 12px;
}

.admin-post-card.is-active{
  border-color: rgba(11,37,69,.28);
  box-shadow: 0 16px 30px rgba(11,37,69,.08);
}

.admin-post-card__main{
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  display: grid;
  gap: 8px;
  cursor: pointer;
}

.admin-post-card__main strong{
  color: #0b2545;
  font-size: 1rem;
}

.admin-post-card__main span{
  color: rgba(11,37,69,.72);
  font-size: .9rem;
}

.admin-post-card__main p{
  color: #314255;
  font-size: .95rem;
}

.admin-post-card__actions{
  display: flex;
  justify-content: flex-end;
}

.admin-form--editor{
  gap: 20px;
}

.admin-form__actions--tight{
  margin-bottom: 18px;
}

.admin-upload--wide{
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
}

.admin-markdownBar{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.admin-previewModal{
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}

.admin-previewModal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 22, .64);
}

.admin-previewModal__dialog{
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 28px;
  background: #f8fbfc;
  box-shadow: 0 24px 54px rgba(0,0,0,.24);
}

.admin-previewModal__close{
  position: sticky;
  top: 12px;
  margin-left: auto;
  margin-right: 12px;
  margin-top: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(11,37,69,.08);
  color: #0b2545;
  font-size: 1.5rem;
  cursor: pointer;
}

.admin-previewModal__content{
  padding: 0 22px 28px;
}

.admin-usersList{
  display: grid;
  gap: 16px;
}

.admin-user-card{
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
  border-radius: 22px;
  border: 1px solid rgba(11,37,69,.08);
  background: rgba(248,250,251,.94);
  padding: 18px 20px;
}

.admin-nav__btn{
  appearance: none;
  border: 1px solid rgba(11,37,69,.12);
  background: rgba(247,251,252,.94);
  color: #0b2545;
  min-height: 48px;
  border-radius: 16px;
  padding: 0 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}

.admin-nav__btn:hover{
  transform: translateY(-1px);
  border-color: rgba(11,37,69,.24);
}

.admin-nav__btn.is-active{
  background: #0b2545;
  border-color: #0b2545;
  color: #fff;
}

.admin-user-card__avatar{
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0b2545, #1e5a89);
  color: #fff;
  font-weight: 900;
}

.admin-user-card__body{
  display: grid;
  gap: 4px;
  flex: 1 1 220px;
}

.admin-user-card__body strong{
  color: #0b2545;
}

.admin-user-card__body span{
  color: rgba(11,37,69,.72);
}

@media (max-width: 1220px){
  .admin-dashboard{
    grid-template-columns: 1fr;
  }

  .admin-postsLayout,
  .admin-usersLayout{
    grid-template-columns: 1fr;
  }

  .admin-postsSidebar{
    position: static;
  }
}

@media (max-width: 980px){
  .admin-header__wrap{
    justify-content: center;
  }

  .admin-loginLayout{
    grid-template-columns: 1fr;
  }

  .admin-metrics__grid,
  .admin-dashboard-posts{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px){
  .admin-nav{
    width: 100%;
    overflow: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    justify-content: flex-start;
  }

  .admin-nav a{
    white-space: nowrap;
  }

  .admin-profile{
    width: 100%;
    justify-content: space-between;
  }

  .admin-metrics__grid,
  .admin-dashboard-posts,
  .admin-form__grid--two,
  .admin-upload--wide{
    grid-template-columns: 1fr;
  }

  .admin-postFilters{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px){
  .admin-header__wrap,
  .admin-pageHero__wrap,
  .admin-section,
  .admin-footer__wrap,
  .admin-loginLayout{
    width: min(100%, calc(100% - 24px));
  }

  .admin-surface{
    border-radius: 24px;
    padding: 20px;
  }

  .admin-profile{
    align-items: flex-start;
  }

  .admin-form__actions{
    flex-direction: column;
    align-items: stretch;
  }

  .admin-form__actions .btn-cta,
  .admin-form__actions .admin-btn--ghost,
  .admin-form__actions .admin-btn--danger{
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
 * Admin 2.1 - refinamento visual e fluxo editorial
 * ========================================================= */
body.admin-app,
body.admin-login-page{
  background: #f3f6f7;
  color: #102031;
}

.admin-header{
  background: rgba(243,246,247,.96);
  box-shadow: 0 8px 26px rgba(11,37,69,.06);
}

.admin-header__wrap{
  min-height: 88px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 24px;
  padding: 16px 0;
}

.admin-nav{
  flex: initial;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  border-radius: 22px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(11,37,69,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
}

.admin-nav a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  min-height: 42px;
  font-size: .94rem;
}

.admin-profile{
  flex-wrap: nowrap;
  gap: 12px;
}

.admin-pageHero{
  padding: 30px 0 14px;
}

.admin-pageHero__wrap{
  align-items: flex-start;
}

.admin-section{
  display: grid;
  gap: 20px;
  padding-bottom: clamp(36px, 4vw, 56px);
}

.admin-surface{
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(11,37,69,.08);
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(11,37,69,.05);
}

.admin-metric,
.admin-dashboard-post,
.admin-shortcut,
.admin-user-card,
.admin-post-card{
  background: #f8fafb;
}

.admin-footer{
  background: transparent;
}

.admin-btn--ghost,
.admin-action-btn{
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(11,37,69,.12);
  background: #fff;
  color: #0b2545;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.admin-btn--ghost:hover,
.admin-action-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(11,37,69,.24);
  box-shadow: 0 12px 22px rgba(11,37,69,.08);
}

.admin-action-btn--primary{
  background: #0b2545;
  color: #fff;
  border-color: #0b2545;
}

.admin-action-btn--primary:hover{
  background: #14355d;
  border-color: #14355d;
}

.admin-section--stack{
  align-items: start;
}

.admin-postsOverview{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
  flex-wrap: wrap;
}

.admin-postsOverview__copy{
  display: grid;
  gap: 8px;
}

.admin-postsOverview__copy h2{
  margin: 0;
}

.admin-postsOverview__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-postFilters{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.admin-postsList{
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.admin-postsList--library{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-post-card{
  gap: 14px;
  padding: 18px;
}

.admin-post-card__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  flex-wrap: wrap;
}

.admin-post-card__date{
  color: rgba(11,37,69,.68);
  font-size: .92rem;
  font-weight: 700;
}

.admin-post-card__body{
  display: grid;
  gap: 8px;
}

.admin-post-card__body strong{
  color: #0b2545;
  font-size: 1.02rem;
}

.admin-post-card__body p{
  margin: 0;
  color: #334255;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.admin-post-card__author{
  color: #4a5b70;
  font-size: .92rem;
  font-weight: 700;
}

.admin-post-card__actions{
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-postsEditor{
  display: grid;
  gap: 22px;
}

.admin-postsEditor[hidden]{
  display: none !important;
}

.admin-postsEditor__headActions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-form--editor{
  gap: 18px;
}

.admin-form__actions{
  align-items: center;
}

.admin-upload__preview{
  background: linear-gradient(180deg, rgba(11,37,69,.08), rgba(11,37,69,.03));
}

.admin-previewModal__dialog{
  background: #fff;
}

.admin-nav,
.admin-postsList{
  scrollbar-width: none;
}

.admin-nav::-webkit-scrollbar,
.admin-postsList::-webkit-scrollbar{
  width: 0;
  height: 0;
}

@media (max-width: 1180px){
  .admin-header__wrap{
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .admin-nav{
    width: 100%;
    justify-content: flex-start;
  }

  .admin-profile{
    width: 100%;
    justify-content: space-between;
  }

  .admin-postsList--library{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px){
  .admin-nav{
    flex-wrap: nowrap;
    overflow: auto;
    padding-bottom: 6px;
  }

  .admin-nav a{
    min-height: 38px;
    padding: 8px 12px;
    font-size: .88rem;
  }

  .admin-postsOverview{
    align-items: flex-start;
  }

  .admin-postsOverview__actions{
    width: 100%;
  }

  .admin-postsOverview__actions .btn-cta{
    width: 100%;
    justify-content: center;
  }

  .admin-profile{
    gap: 10px;
  }

  .admin-profile__avatar{
    width: 40px;
    height: 40px;
  }
}

.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.admin-check{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(11,37,69,.1);
  background: rgba(248,250,251,.96);
}

.admin-check input{
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #0b2545;
}

.admin-check span{
  display: grid;
  gap: 3px;
  color: #2b3d50;
}

.admin-check strong{
  color: #0b2545;
}

.admin-check small{
  color: rgba(11,37,69,.72);
  line-height: 1.55;
}

.admin-chip--featured{
  color: #7c4f00;
  background: rgba(212,175,55,.22);
}

.admin-post-card__chips{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* =========================================================
 * Blog MFV 2.0
 * ========================================================= */
.page-hero--blog{
  padding-bottom: 20px;
}

.page-section--tight{
  padding-top: 0;
}

.content-kicker{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(11,37,69,.08);
  color: #0b2545;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.blog-hero{
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 22px;
  align-items: end;
}

.blog-hero__copy{
  display: grid;
  gap: 14px;
}

.blog-search{
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(11,37,69,.08);
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 34px rgba(11,37,69,.05);
}

.blog-search__field{
  flex: 1 1 auto;
}

.blog-search__actions{
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 0 0 auto;
}

.blog-search__field input{
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(11,37,69,.12);
  background: #fff;
  padding: 0 16px;
  color: #102031;
  font: inherit;
}

.blog-search__field input:focus{
  outline: none;
  border-color: rgba(11,37,69,.34);
  box-shadow: 0 0 0 4px rgba(11,37,69,.08);
}

.blog-search__clear{
  flex: 0 0 auto;
}

.blog-search__submit{
  appearance: none;
  flex: 0 0 auto;
  width: 52px;
  min-width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(11,37,69,.12);
  border-radius: 16px;
  background: linear-gradient(180deg, #fdfefe 0%, #eef4f8 100%);
  color: #0b2545;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(11,37,69,.06);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.blog-search__submit:hover{
  transform: translateY(-1px);
  border-color: rgba(11,37,69,.24);
  box-shadow: 0 16px 28px rgba(11,37,69,.09);
}

.blog-search__submit:focus-visible{
  outline: none;
  border-color: rgba(11,37,69,.38);
  box-shadow: 0 0 0 4px rgba(11,37,69,.08);
}

.blog-search__submit svg{
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.blog-featured__head,
.blog-results__head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.blog-featured__head h2,
.blog-results__head h2{
  margin: 8px 0 0;
  color: #0b2545;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.blog-featured__head p,
.blog-results__count{
  margin: 6px 0 0;
  color: #34465a;
  line-height: 1.65;
}

.blog-featured__actions{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-featured__dots{
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-featured__dots[hidden]{
  display: none !important;
}

.blog-featured__dot{
  position: relative;
  width: 34px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(11,37,69,.12);
  cursor: pointer;
  overflow: hidden;
  transition: transform .2s ease, background .2s ease;
}

.blog-featured__dot:hover{
  transform: translateY(-1px);
}

.blog-featured__dot:focus-visible{
  outline: 2px solid rgba(11,37,69,.32);
  outline-offset: 2px;
}

.blog-featured__dot::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0b2545 0%, #15437c 100%);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: .95;
}

.blog-featured__dot.is-current{
  background: rgba(11,37,69,.18);
}

.blog-featured__dot.is-current::after{
  transform: scaleX(1);
}

.blog-featured__dot.is-animating::after{
  animation: featuredDotProgress 5.6s linear forwards;
}

.blog-featured__track{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 8px 0 10px;
  scrollbar-width: none;
}

.blog-featured__track::-webkit-scrollbar{
  width: 0;
  height: 0;
}

.content-card{
  scroll-snap-align: start;
}

.blog-featured__track .content-card{
  flex: 0 0 calc(50% - 9px);
  min-width: 320px;
}

.content-card__media{
  position: relative;
}

.content-card__badge{
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(11,37,69,.88);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
}

.content-card--featured{
  min-height: 100%;
  opacity: 0;
  transform: translateY(18px) scale(.985);
  animation: featuredCardIn .65s cubic-bezier(.21,.99,.34,1) forwards;
  animation-delay: var(--featured-delay, 0ms);
  transition: transform .35s ease, box-shadow .35s ease;
}

.content-card--featured.is-current{
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(11,37,69,.12);
}

.content-card--featured .content-card__media{
  aspect-ratio: 16 / 9;
}

.content-card--featured .content-card__title{
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.content-card--featured .content-card__summary{
  -webkit-line-clamp: 4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-results__count{
  font-weight: 700;
}

.content-pagination{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.content-pagination[hidden]{
  display: none !important;
}

.content-pagination__btn{
  min-width: 48px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(11,37,69,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  color: #0b2545;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(11,37,69,.06);
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.content-pagination__btn:hover:not(:disabled){
  transform: translateY(-1px);
  border-color: rgba(11,37,69,.24);
}

.content-pagination__btn:focus-visible{
  outline: none;
  border-color: rgba(11,37,69,.4);
  box-shadow: 0 0 0 4px rgba(11,37,69,.08);
}

.content-pagination__btn.is-current{
  background: #0b2545;
  border-color: #0b2545;
  color: #fff;
}

.content-pagination__btn:disabled{
  opacity: .45;
  cursor: default;
  box-shadow: none;
}

.news-home[hidden]{
  display: none !important;
}

@keyframes featuredCardIn{
  from{
    opacity: 0;
    transform: translateY(18px) scale(.985);
  }
  to{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes featuredDotProgress{
  from{
    transform: scaleX(0);
  }
  to{
    transform: scaleX(1);
  }
}

@media (max-width: 980px){
  .blog-hero{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px){
  .blog-search{
    flex-direction: column;
    align-items: stretch;
  }

  .blog-search__actions{
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .blog-search__submit,
  .blog-search__clear{
    width: 100%;
    justify-content: center;
  }

  .blog-featured__head,
  .blog-results__head{
    align-items: flex-start;
  }

  .blog-featured__actions{
    width: 100%;
    justify-content: space-between;
  }

  .blog-featured__track{
    gap: 14px;
  }

  .blog-featured__track .content-card{
    flex-basis: 88%;
    min-width: 88%;
  }
}

/* =========================================================
 * Equipe MFV - layout institucional por setor
 * ========================================================= */
.page-hero--team{
  padding-bottom: clamp(26px, 4vw, 40px);
}

.team-page-hero{
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}

.team-page-hero h1{
  max-width: 19ch;
  margin-bottom: 0;
}

.team-page-hero p{
  max-width: 72ch;
}

.page-section--team{
  padding-top: clamp(10px, 3vw, 24px);
}

.team-directory__head{
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.team-directory__head h2{
  margin: 0 0 10px;
  color: #0b2545;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.team-directory__head p,
.team-directory__noscript{
  margin: 0;
  color: #34465a;
  line-height: 1.72;
}

.team-directory{
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 30px;
}

.team-category{
  display: grid;
  gap: 18px;
}

.team-category__head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(11,37,69,.1);
}

.team-category__head h3{
  margin: 0 0 6px;
  color: #0b2545;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
}

.team-category__head p{
  margin: 0;
  max-width: 68ch;
  color: #415367;
  line-height: 1.68;
}

.team-category__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.team-member{
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(11,37,69,.1);
  background: rgba(255,255,255,.97);
  box-shadow: 0 18px 36px rgba(11,37,69,.06);
  opacity: 0;
  transform: translateY(14px);
  animation: teamMemberIn .6s cubic-bezier(.22,.92,.28,1) forwards;
  animation-delay: var(--team-delay, 0ms);
}

.team-member__media{
  background: #f6f8fb;
}

.team-member__photo{
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3.9;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
}

.team-member__body{
  display: grid;
  gap: 14px;
  padding: 22px;
}

.team-member__identity{
  display: grid;
  gap: 6px;
}

.team-member__name{
  margin: 0;
  color: #0b2545;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.15;
}

.team-member__role{
  margin: 0;
  color: rgba(11,37,69,.7);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .76rem;
  font-weight: 800;
}

.team-member__summary{
  margin: 0;
  color: #2d3d50;
  line-height: 1.72;
  font-size: .97rem;
}

.team-member__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.team-member__social{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(11,37,69,.12);
  background: #fff;
  color: #0b2545;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(11,37,69,.05);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.team-member__social:hover,
.team-member__social:focus-visible{
  transform: translateY(-1px);
  border-color: rgba(11,37,69,.24);
  box-shadow: 0 14px 26px rgba(11,37,69,.07);
}

.team-member__social svg{
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.team-member__trigger{
  appearance: none;
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(11,37,69,.14);
  border-radius: 16px;
  background: #0b2545;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  box-shadow: 0 14px 28px rgba(11,37,69,.12);
}

.team-member__trigger:hover,
.team-member__trigger:focus-visible{
  transform: translateY(-1px);
  background: #14355d;
}

.team-emptyCard{
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px dashed rgba(11,37,69,.18);
  background: rgba(255,255,255,.82);
  color: #334255;
  line-height: 1.74;
}

.team-emptyCard strong{
  display: block;
  margin-bottom: 8px;
  color: #0b2545;
  font-size: 1rem;
}

.team-emptyCard p{
  margin: 0;
}

.team-emptyCard span{
  font-weight: 800;
  color: #0b2545;
}

.team-modal{
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
}

.team-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(7,14,21,.68);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.team-modal__dialog{
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: 28px;
  border: 1px solid rgba(11,37,69,.08);
  background: #f8fbfc;
  box-shadow: 0 28px 60px rgba(0,0,0,.28);
}

.team-modal__close{
  position: sticky;
  top: 14px;
  z-index: 2;
  margin: 14px 14px 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  background: rgba(11,37,69,.08);
  color: #0b2545;
  font-size: 1.6rem;
  cursor: pointer;
}

.team-modal__content{
  padding: 0 26px 30px;
}

.team-modal__hero{
  display: grid;
  grid-template-columns: minmax(250px, 310px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.team-modal__photoWrap{
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(11,37,69,.08);
  background: #edf2f5;
}

.team-modal__photo{
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.team-modal__meta{
  display: grid;
  gap: 12px;
  align-self: center;
}

.team-modal__meta h2{
  margin: 0;
  color: #0b2545;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.06;
}

.team-modal__role{
  margin: 0;
  color: rgba(11,37,69,.72);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .8rem;
  font-weight: 800;
}

.team-modal__resume{
  margin: 0;
  color: #334255;
  line-height: 1.8;
  font-size: 1rem;
}

.team-modal__contact{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.team-modal__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.team-modal__section{
  padding: 20px 22px;
  border-radius: 22px;
  border: 1px solid rgba(11,37,69,.09);
  background: rgba(255,255,255,.96);
}

.team-modal__section--full{
  grid-column: 1 / -1;
}

.team-modal__section h3{
  margin: 0 0 12px;
  color: #0b2545;
  font-size: 1.04rem;
}

.team-modal__section p{
  margin: 0;
  color: #324154;
  line-height: 1.76;
}

.team-modal__list{
  margin: 0;
  padding-left: 18px;
  color: #324154;
  display: grid;
  gap: 10px;
  line-height: 1.68;
}

.team-modal__chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.team-modal__chip{
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(11,37,69,.08);
  color: #0b2545;
  font-weight: 800;
}

@keyframes teamMemberIn{
  from{
    opacity: 0;
    transform: translateY(14px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px){
  .team-category__grid,
  .team-modal__grid{
    grid-template-columns: 1fr;
  }

  .team-modal__hero{
    grid-template-columns: 1fr;
  }

  .team-modal__photoWrap{
    max-width: 420px;
  }
}

@media (max-width: 760px){
  .team-page-hero{
    justify-items: start;
    text-align: left;
  }

  .team-page-hero h1,
  .team-page-hero p{
    max-width: none;
  }

  .team-category__head{
    align-items: flex-start;
  }

  .team-member__body{
    padding: 18px;
  }

  .team-member__actions,
  .team-modal__contact{
    flex-direction: column;
  }

  .team-member__social{
    width: 100%;
    justify-content: center;
  }

  .team-modal{
    padding: 12px;
  }

  .team-modal__dialog{
    border-radius: 24px;
  }

  .team-modal__content{
    padding: 0 16px 22px;
  }

  .team-modal__photo{
    aspect-ratio: 4 / 3.35;
    max-height: 260px;
  }

  .team-modal__close{
    margin-right: 10px;
  }

  .team-modal__section{
    padding: 18px;
  }
}

/* =========================================================
 * Equipe MFV - dark editorial override
 * ========================================================= */
body.team-page{
  background:
    radial-gradient(circle at top right, rgba(30,78,129,.22), transparent 24%),
    radial-gradient(circle at 15% 20%, rgba(212,175,55,.08), transparent 20%),
    linear-gradient(180deg, #07182d 0%, #0b2545 42%, #081a31 100%);
  color: #eef4fb;
  overflow-x: clip;
}

body.team-page .page{
  background: transparent;
}

body.team-page .hdr.scrolled{
  background: rgba(7,24,45,.9);
  box-shadow: 0 14px 34px rgba(0,0,0,.2);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

body.team-page .hdr.scrolled,
body.team-page .hdr.scrolled .menu a{
  color: #eef4fb;
}

body.team-page .hdr.scrolled .hamb span{
  background: #eef4fb;
}

body.team-page .menu--desk a:hover{
  color: #f1d27a;
}

body.team-page .page-hero--team{
  background: transparent;
  padding-bottom: clamp(18px, 3vw, 26px);
}

body.team-page .team-page-hero h1,
body.team-page .team-directory__head h2,
body.team-page .team-category__head h3{
  color: #f6fbff;
}

body.team-page .team-page-hero p,
body.team-page .team-directory__head p,
body.team-page .team-directory__noscript,
body.team-page .team-category__head p{
  color: rgba(227,238,251,.76);
}

body.team-page .content-kicker{
  background: rgba(255,255,255,.08);
  color: #f2d892;
  border: 1px solid rgba(242,216,146,.18);
}

body.team-page .team-showcase{
  padding: 8px 0 clamp(44px, 7vw, 72px);
}

body.team-page .team-showcase__grid{
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

body.team-page .team-showcase__copy{
  display: grid;
  gap: 18px;
}

body.team-page .team-showcase__copy h2{
  margin: 0;
  color: #f6fbff;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
}

body.team-page .team-showcase__copy p{
  margin: 0;
  color: rgba(227,238,251,.78);
  line-height: 1.8;
}

body.team-page .team-showcase__notes{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.team-page .team-showcase__notes span{
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: #dbe8f9;
  font-weight: 700;
}

body.team-page .team-showcase__visual{
  position: relative;
  min-height: 560px;
}

body.team-page .team-showcase__glow{
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  pointer-events: none;
}

body.team-page .team-showcase__glow--one{
  width: 240px;
  height: 240px;
  top: 36px;
  right: 38px;
  background: radial-gradient(circle, rgba(212,175,55,.2) 0%, transparent 72%);
}

body.team-page .team-showcase__glow--two{
  width: 280px;
  height: 280px;
  bottom: 20px;
  left: 20px;
  background: radial-gradient(circle, rgba(55,122,191,.22) 0%, transparent 72%);
}

body.team-page .team-showcase__frame{
  position: absolute;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 70px rgba(0,0,0,.28);
  background: rgba(255,255,255,.03);
}

body.team-page .team-showcase__frame::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,21,44,.02) 20%, rgba(6,21,44,.9) 100%),
    linear-gradient(90deg, rgba(6,21,44,.65) 0%, rgba(6,21,44,0) 18%, rgba(6,21,44,0) 82%, rgba(6,21,44,.5) 100%);
}

body.team-page .team-showcase__art{
  width: 100%;
  height: 100%;
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: saturate(1.04) contrast(1.02);
}

body.team-page .team-showcase__frame--primary{
  inset: 0 0 72px 40px;
}

body.team-page .team-showcase__frame--secondary{
  width: min(250px, 38%);
  right: 0;
  bottom: 0;
  aspect-ratio: 4 / 5.2;
  border-radius: 28px;
}

body.team-page .team-showcase__frame--secondary::after{
  background:
    linear-gradient(180deg, rgba(6,21,44,.14) 10%, rgba(6,21,44,.92) 100%),
    linear-gradient(180deg, rgba(255,255,255,.05) 0%, transparent 20%);
}

body.team-page .page-section--team{
  padding-top: 0;
}

body.team-page .team-directory{
  gap: 20px;
}

body.team-page .team-category__head{
  border-bottom-color: rgba(255,255,255,.08);
}

body.team-page .team-member{
  border-color: rgba(255,255,255,.07);
  background: linear-gradient(180deg, rgba(10,33,60,.94) 0%, rgba(7,24,45,.98) 100%);
  box-shadow: 0 22px 44px rgba(0,0,0,.2);
}

body.team-page .team-member__media{
  position: relative;
  background: transparent;
}

body.team-page .team-member__media::after{
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(8,26,49,0) 0%, rgba(8,26,49,.92) 100%);
  pointer-events: none;
}

body.team-page .team-member__photo{
  aspect-ratio: 4 / 3.65;
  filter: saturate(.98) contrast(1.02);
}

body.team-page .team-member__body{
  background: transparent;
  margin-top: -16px;
  position: relative;
  z-index: 1;
}

body.team-page .team-member__name{
  color: #f6fbff;
}

body.team-page .team-member__role{
  color: rgba(242,216,146,.88);
}

body.team-page .team-member__summary{
  color: rgba(227,238,251,.76);
}

body.team-page .team-member__social{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
  color: #e8f1fb;
  box-shadow: none;
}

body.team-page .team-member__social:hover,
body.team-page .team-member__social:focus-visible{
  border-color: rgba(242,216,146,.28);
  box-shadow: 0 12px 24px rgba(0,0,0,.16);
}

body.team-page .team-member__trigger{
  background: linear-gradient(180deg, #133b68 0%, #0b2545 100%);
  border-color: rgba(255,255,255,.08);
}

body.team-page .team-emptyCard{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
  color: rgba(227,238,251,.76);
}

body.team-page .team-emptyCard strong,
body.team-page .team-emptyCard span{
  color: #f6fbff;
}

body.team-page .team-modal__dialog{
  background: linear-gradient(180deg, #0d2a4d 0%, #081c35 100%);
  border-color: rgba(255,255,255,.08);
}

body.team-page .team-modal__close{
  background: rgba(255,255,255,.08);
  color: #f6fbff;
}

body.team-page .team-modal__photoWrap{
  border-color: rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}

body.team-page .team-modal__meta h2,
body.team-page .team-modal__section h3{
  color: #f6fbff;
}

body.team-page .team-modal__role{
  color: rgba(242,216,146,.88);
}

body.team-page .team-modal__resume,
body.team-page .team-modal__section p,
body.team-page .team-modal__list{
  color: rgba(227,238,251,.76);
}

body.team-page .team-modal__section{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
}

body.team-page .team-modal__chip{
  background: rgba(255,255,255,.08);
  color: #f6fbff;
}

body.team-page .ft{
  background: transparent;
}

body.team-page .ft-partners{
  background: transparent;
}

body.team-page .ft-copy{
  background: transparent;
}

@media (max-width: 1080px){
  body.team-page .team-showcase__grid{
    grid-template-columns: 1fr;
  }

  body.team-page .team-showcase__visual{
    min-height: 520px;
  }

  body.team-page .team-showcase__frame--primary{
    inset: 0 28px 56px 0;
  }
}

@media (max-width: 760px){
  body.team-page .team-showcase{
    padding-bottom: 36px;
  }

  body.team-page .team-showcase__visual{
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  body.team-page .team-showcase__frame{
    position: relative;
  }

  body.team-page .team-showcase__frame--primary{
    inset: auto;
    min-height: 320px;
  }

  body.team-page .team-showcase__frame--secondary{
    width: min(84%, 340px);
    justify-self: end;
    margin-top: -64px;
  }

  body.team-page .team-showcase__copy{
    gap: 16px;
  }

  body.team-page .team-showcase__copy h2{
    font-size: clamp(1.55rem, 8vw, 2rem);
  }
}

/* =========================================================
 * Equipe MFV - refinamento clean do tema escuro
 * ========================================================= */
body.team-page .team-hero{
  position: relative;
  padding: 18px 0 34px;
}

body.team-page .team-hero::after{
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(8,26,49,0) 0%, rgba(8,26,49,.96) 100%);
  pointer-events: none;
}

body.team-page .team-hero__wrap{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: clamp(18px, 3vw, 28px);
  align-items: end;
}

body.team-page .team-hero__copy{
  display: grid;
  gap: 14px;
  max-width: 520px;
}

body.team-page .team-hero__copy h1{
  margin: 0;
  color: #f6fbff;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.04;
}

body.team-page .team-hero__copy p{
  margin: 0;
  color: rgba(227,238,251,.76);
  line-height: 1.74;
  font-size: 1rem;
}

body.team-page .team-hero__highlights{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.team-page .team-hero__highlights span{
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: #dbe8f9;
  font-size: .86rem;
  font-weight: 700;
}

body.team-page .team-hero__carousel{
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 54px rgba(0,0,0,.22);
  background: rgba(255,255,255,.03);
}

body.team-page .team-hero__slides{
  position: relative;
  min-height: 420px;
}

body.team-page .team-hero__slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .55s ease;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

body.team-page .team-hero__slide::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,24,45,.16) 0%, rgba(7,24,45,.86) 100%),
    linear-gradient(90deg, rgba(7,24,45,.84) 0%, rgba(7,24,45,.15) 45%, rgba(7,24,45,.6) 100%);
}

body.team-page .team-hero__slide.is-active{
  opacity: 1;
}

body.team-page .team-hero__caption{
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  display: grid;
  gap: 8px;
  max-width: 420px;
}

body.team-page .team-hero__caption strong{
  color: #f6fbff;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.15;
}

body.team-page .team-hero__caption span{
  color: rgba(227,238,251,.8);
  line-height: 1.66;
  font-size: .95rem;
}

body.team-page .team-hero__controls{
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

body.team-page .team-hero__nav{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(7,24,45,.54);
  color: #f6fbff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

body.team-page .team-hero__dots{
  display: flex;
  align-items: center;
  gap: 8px;
}

body.team-page .team-hero__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.24);
  cursor: pointer;
  padding: 0;
}

body.team-page .team-hero__dot.is-current{
  background: #f2d892;
}

body.team-page .team-directory__head{
  margin-bottom: 22px;
}

body.team-page .team-directory__head h2{
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
}

body.team-page .team-category{
  gap: 14px;
  padding: 18px 18px 20px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.015) 100%);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}

body.team-page .team-category__head{
  padding-bottom: 12px;
  margin-bottom: 2px;
}

body.team-page .team-category__head h3{
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
}

body.team-page .team-category__head p{
  font-size: .94rem;
}

body.team-page .team-category__grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.team-page .team-member{
  border-radius: 22px;
}

body.team-page .team-member__photo{
  aspect-ratio: 4 / 3.3;
}

body.team-page .team-member__body{
  gap: 12px;
  padding: 18px;
  margin-top: -10px;
}

body.team-page .team-member__name{
  font-size: 1.08rem;
}

body.team-page .team-member__role{
  font-size: .72rem;
}

body.team-page .team-member__summary{
  font-size: .91rem;
  line-height: 1.68;
}

body.team-page .team-member__social{
  min-height: 40px;
  padding: 0 12px;
  font-size: .82rem;
}

body.team-page .team-member__trigger{
  min-height: 44px;
  border-radius: 14px;
  font-size: .92rem;
}

body.team-page .team-editSquare{
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  border: 1px dashed rgba(255,255,255,.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.02) 100%);
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 18px;
  color: rgba(227,238,251,.76);
}

body.team-page .team-editSquare__label{
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  width: fit-content;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #f2d892;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body.team-page .team-editSquare strong{
  color: #f6fbff;
  font-size: 1.02rem;
}

body.team-page .team-editSquare p{
  margin: 0;
  line-height: 1.66;
  font-size: .9rem;
}

@media (max-width: 1080px){
  body.team-page .team-hero__wrap{
    grid-template-columns: 1fr;
  }

  body.team-page .team-category__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px){
  body.team-page .team-hero{
    padding-top: 10px;
  }

  body.team-page .team-hero__copy h1{
    font-size: clamp(1.55rem, 8vw, 2rem);
  }

  body.team-page .team-hero__carousel,
  body.team-page .team-hero__slides{
    min-height: 340px;
  }

  body.team-page .team-hero__caption{
    left: 18px;
    right: 18px;
    bottom: 54px;
  }

  body.team-page .team-hero__controls{
    justify-content: space-between;
  }

  body.team-page .team-category__grid{
    grid-template-columns: 1fr;
  }

  body.team-page .team-editSquare{
    aspect-ratio: auto;
    min-height: 210px;
  }
}

/* =========================================================
 * Equipe MFV - ajuste final solicitado
 * ========================================================= */
body.team-page .team-hero{
  padding: 14px 0 30px;
}

body.team-page .team-hero__wrap{
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 22px;
  align-items: center;
}

body.team-page .team-hero__copy{
  max-width: 480px;
  gap: 12px;
}

body.team-page .team-hero__copy h1{
  font-size: clamp(1.72rem, 2.8vw, 2.4rem);
  line-height: 1.06;
}

body.team-page .team-hero__copy p{
  font-size: .96rem;
  line-height: 1.7;
}

body.team-page .team-hero__highlights span{
  min-height: 34px;
  padding: 0 12px;
  font-size: .8rem;
}

body.team-page .team-hero__visual{
  position: relative;
  min-height: 420px;
}

body.team-page .team-hero__glow{
  position: absolute;
  border-radius: 50%;
  filter: blur(16px);
  pointer-events: none;
}

body.team-page .team-hero__glow--one{
  width: 220px;
  height: 220px;
  right: 18px;
  top: 12px;
  background: radial-gradient(circle, rgba(212,175,55,.18) 0%, transparent 72%);
}

body.team-page .team-hero__glow--two{
  width: 260px;
  height: 260px;
  left: 24px;
  bottom: 10px;
  background: radial-gradient(circle, rgba(34,105,173,.18) 0%, transparent 72%);
}

body.team-page .team-hero__frame{
  position: absolute;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  box-shadow: 0 22px 44px rgba(0,0,0,.22);
}

body.team-page .team-hero__frame::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,26,49,.08) 0%, rgba(8,26,49,.88) 100%),
    linear-gradient(90deg, rgba(8,26,49,.46) 0%, rgba(8,26,49,0) 28%, rgba(8,26,49,0) 78%, rgba(8,26,49,.32) 100%);
  pointer-events: none;
}

body.team-page .team-hero__frame--primary{
  inset: 0 46px 66px 0;
}

body.team-page .team-hero__frame--secondary{
  width: min(260px, 38%);
  right: 0;
  bottom: 0;
  aspect-ratio: 1 / 1.08;
}

body.team-page .team-hero__art{
  width: 100%;
  height: 100%;
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

body.team-page .team-category__grid{
  gap: 16px;
}

body.team-page .team-member{
  min-height: 100%;
}

body.team-page .team-member__photo{
  aspect-ratio: 4 / 3.15;
}

body.team-page .team-member__body{
  padding: 16px;
}

body.team-page .team-member__summary{
  font-size: .88rem;
}

body.team-page .team-member--placeholder{
  border-style: solid;
}

body.team-page .team-member__photo--placeholder{
  background:
    linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 100%);
  display: grid;
  place-items: center;
  padding: 18px;
}

body.team-page .team-member__photo--placeholder span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(160px, 80%);
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  border: 1px dashed rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: #f2d892;
  text-align: center;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.4;
  padding: 14px;
}

@media (max-width: 1080px){
  body.team-page .team-hero__wrap{
    grid-template-columns: 1fr;
  }

  body.team-page .team-hero__visual{
    min-height: 400px;
  }

  body.team-page .team-hero__frame--primary{
    inset: 0 28px 56px 0;
  }
}

@media (max-width: 760px){
  body.team-page .team-hero__copy{
    max-width: none;
  }

  body.team-page .team-hero__copy h1{
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  body.team-page .team-hero__visual{
    min-height: 340px;
    width: min(100%, 340px);
    margin-inline: auto;
  }

  body.team-page .team-hero__frame--primary{
    inset: 0 18px 48px 0;
  }

body.team-page .team-hero__frame--secondary{
  width: min(58%, 220px);
}
}

body.team-page .team-modal__photo--placeholder{
  background:
    linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 100%);
  display: grid;
  place-items: center;
  padding: 18px;
}

body.team-page .team-modal__photo--placeholder span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(180px, 82%);
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  border: 1px dashed rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: #f2d892;
  text-align: center;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.45;
  padding: 16px;
}

@media (max-width: 760px){
  body.team-page .team-category{
    padding: 16px 14px 16px;
    border-radius: 22px;
  }
}

/* =========================================================
 * Equipe MFV - modal responsivo e acima do header
 * ========================================================= */
body.team-page .team-modal{
  z-index: 2600;
  padding: 20px;
}

body.team-page .team-modal__dialog{
  width: min(840px, calc(100vw - 40px));
  max-height: min(760px, calc(100vh - 40px));
  border-radius: 24px;
}

body.team-page .team-modal__close{
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
  width: 40px;
  height: 40px;
  z-index: 4;
}

body.team-page .team-modal__content{
  padding: 20px 20px 20px;
}

body.team-page .team-modal__hero{
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

body.team-page .team-modal__photoWrap{
  border-radius: 18px;
}

body.team-page .team-modal__photo{
  aspect-ratio: 4 / 4.6;
}

body.team-page .team-modal__meta{
  gap: 10px;
  padding-right: 44px;
}

body.team-page .team-modal__meta h2{
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

body.team-page .team-modal__role{
  font-size: .74rem;
}

body.team-page .team-modal__resume{
  font-size: .94rem;
  line-height: 1.68;
}

body.team-page .team-modal__contact{
  gap: 8px;
}

body.team-page .team-modal__grid{
  gap: 14px;
  margin-top: 18px;
}

body.team-page .team-modal__section{
  padding: 16px 18px;
  border-radius: 18px;
}

body.team-page .team-modal__section h3{
  margin-bottom: 10px;
  font-size: .96rem;
}

body.team-page .team-modal__section p,
body.team-page .team-modal__list{
  font-size: .9rem;
  line-height: 1.62;
}

body.team-page .team-modal__list{
  gap: 8px;
}

body.team-page .team-modal__chip{
  min-height: 34px;
  padding: 0 12px;
  font-size: .8rem;
}

@media (max-width: 760px){
  body.team-page .team-modal{
    padding: 10px;
  }

  body.team-page .team-modal__dialog{
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 20px;
  }

  body.team-page .team-modal__content{
    padding: 16px 14px 14px;
  }

  body.team-page .team-modal__hero{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.team-page .team-modal__meta{
    padding-right: 40px;
  }

  body.team-page .team-modal__photoWrap{
    max-width: 240px;
  }

  body.team-page .team-modal__photo{
    aspect-ratio: 4 / 3.5;
    max-height: none;
  }

  body.team-page .team-modal__contact{
    flex-direction: column;
  }

  body.team-page .team-modal__contact .team-member__social{
    width: 100%;
    justify-content: center;
  }

  body.team-page .team-modal__section{
    padding: 14px 14px;
  }
}

/* =========================================================
 * Equipe MFV - refinamento visual final
 * ========================================================= */
body.team-page .team-hero{
  padding-bottom: 12px;
}

body.team-page .team-hero::after{
  display: none;
}

body.team-page .page-section--team{
  padding-top: 2px;
}

body.team-page .content-kicker{
  display: inline-block;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #f2d892;
  letter-spacing: .12em;
}

body.team-page .team-directory{
  gap: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

body.team-page .team-category{
  gap: 14px;
  padding: 24px 0 26px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.team-page .team-category:first-child{
  padding-top: 16px;
}

body.team-page .team-category + .team-category{
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.team-page .team-category__head{
  padding-bottom: 10px;
  margin-bottom: 0;
}

body.team-page .team-category__head h3{
  margin-bottom: 6px;
}

body.team-page .team-category__head p{
  max-width: 780px;
}

body.team-page .team-category__grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 220px));
  gap: 16px;
  align-items: stretch;
  justify-content: flex-start;
}

body.team-page .team-member{
  min-height: auto !important;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: auto;
  max-width: none;
  background: linear-gradient(180deg, rgba(20, 48, 83, 0.82) 0%, rgba(12, 32, 58, 0.94) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

body.team-page .team-member__media--trigger{
  appearance: none;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: inherit;
}

body.team-page .team-member__media--trigger:focus-visible{
  outline: 2px solid rgba(242, 216, 146, 0.88);
  outline-offset: 4px;
}

body.team-page .team-member__media--trigger:hover .team-member__photo,
body.team-page .team-member__media--trigger:focus-visible .team-member__photo{
  transform: scale(1.02);
}

body.team-page .team-member__photo{
  transition: transform .35s ease;
}

body.team-page .team-member__body{
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  padding: 16px 15px 16px;
}

body.team-page .team-member__trigger{
  width: 156px !important;
  min-width: 156px;
  min-height: 38px;
  padding: 0 16px;
  margin-top: auto;
  align-self: flex-start;
  border-radius: 12px;
  font-size: .84rem;
  box-shadow: none;
}

body.team-page .team-member__photo--placeholder{
  background:
    radial-gradient(circle at top, rgba(242, 216, 146, 0.08) 0%, transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
}

body.team-page .team-member__photo--placeholder span{
  width: min(154px, 78%);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
}

@media (max-width: 760px){
  body.team-page .team-directory{
    padding: 0;
    border-radius: 0;
  }

  body.team-page .team-category{
    padding: 18px 0 20px;
  }

  body.team-page .team-category__grid{
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  body.team-page .team-member{
    width: 100%;
    height: auto;
  }

  body.team-page .team-member__trigger{
    width: 100% !important;
    min-width: 0;
    align-self: stretch;
  }
}

/* =========================================================
 * Equipe MFV - alinhamento e limpeza final
 * ========================================================= */
body.team-page{
  background:
    radial-gradient(circle at 82% 10%, rgba(39, 96, 154, 0.14), transparent 22%),
    linear-gradient(180deg, #07182d 0%, #07182d 100%) !important;
}

body.team-page .page{
  background:
    radial-gradient(circle at 16% 0%, rgba(212, 175, 55, 0.06), transparent 18%),
    linear-gradient(180deg, #0b2545 0%, #0a223f 52%, #0a223f 100%) !important;
}

body.team-page .team-hero__copy .content-kicker{
  padding: 0 !important;
  min-height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.team-page .team-directory{
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body.team-page .team-category{
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  border-left: 0 !important;
  border-right: 0 !important;
  box-shadow: none !important;
}

body.team-page .team-category__head,
body.team-page .team-category__grid{
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.team-page .team-member__identity{
  gap: 5px;
}

body.team-page .team-member__name{
  font-size: 1.02rem;
  line-height: 1.18;
}

body.team-page .team-member__role{
  font-size: .73rem;
  letter-spacing: .06em;
}

body.team-page .team-member__summary{
  margin: 0;
  color: rgba(227, 238, 251, 0.88);
  line-height: 1.65;
  font-size: .88rem;
}

body.team-page .team-member__actions{
  display: none !important;
}

/* =========================================================
 * Rodape publico - override final
 * Mantem a versao nova acima de regras legadas do arquivo
 * ========================================================= */
footer.ft .ft-partners__wrap{
  width: min(1200px, 92%) !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 10px !important;
}

footer.ft .ft-copy p{
  width: min(1200px, 92%) !important;
  margin: 0 auto !important;
  display: grid !important;
  justify-items: center !important;
  align-items: center !important;
  gap: 4px !important;
  text-align: center !important;
}

footer.ft .ft-copy p > *{
  width: auto !important;
}

@media (max-width: 780px){
  footer.ft .ft-copy p{
    justify-items: center !important;
    align-items: center !important;
    text-align: center !important;
    row-gap: 4px !important;
  }

  footer.ft .ft-copy p > *{
    width: auto !important;
  }
}

/* =========================================================
 * MFV Cast - refinamento do admin e carousel publico
 * ========================================================= */
.admin-castOverview{
  background:
    linear-gradient(135deg, rgba(8, 28, 52, 0.98) 0%, rgba(11, 37, 69, 0.96) 55%, rgba(18, 140, 126, 0.88) 100%);
  border: 1px solid rgba(255,255,255,.08);
}

.admin-castOverview .admin-postsOverview__copy h2,
.admin-castOverview .admin-postsOverview__copy p{
  color: #f5f8fc;
}

.admin-castOverview .admin-postsOverview__copy p{
  opacity: .82;
}

.admin-cast-layout--lists,
.admin-cast-layout--editors{
  align-items: start;
}

.admin-castPanel,
.admin-castEditor{
  display: grid;
  gap: 20px;
  align-content: start;
}

.admin-castPanel .admin-surface__head,
.admin-castEditor .admin-surface__head{
  align-items: start;
}

.admin-cast-card{
  display: grid;
  gap: 12px;
  height: 100%;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.admin-cast-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(11,37,69,.11);
}

.admin-cast-card__meta{
  justify-content: space-between;
}

.admin-cast-card__actions{
  justify-content: space-between;
}

.admin-cast-card__actions .admin-action-btn{
  position: relative;
  z-index: 1;
}

.cast-carousel{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.cast-carousel.is-static{
  grid-template-columns: 1fr;
}

.cast-carousel.is-static .cast-carousel__nav{
  display: none;
}

.cast-carousel__viewport{
  min-width: 0;
  overflow: hidden;
}

.cast-grid--carousel{
  display: flex !important;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.cast-grid--carousel::-webkit-scrollbar{
  display: none;
}

.cast-grid--carousel .cast-card,
.cast-grid--carousel .cast-empty{
  flex: 0 0 var(--cast-card-width, 100%);
  scroll-snap-align: start;
}

.cast-grid--carousel .cast-empty{
  width: 100%;
}

.cast-carousel__nav{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease, opacity .18s ease;
}

.cast-carousel__nav span{
  font-size: 1.5rem;
  line-height: 1;
}

.cast-carousel__nav:hover:not(:disabled){
  transform: translateY(-1px);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
}

.cast-carousel__nav:disabled{
  opacity: .35;
  cursor: not-allowed;
}

.cast-carousel__dots{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.cast-carousel__dot{
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease;
}

.cast-carousel__dot.is-active{
  background: #15b39a;
  transform: scale(1.08);
}

@media (max-width: 780px){
  .cast-carousel{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cast-carousel__nav{
    display: none;
  }
}

/* =========================================================
 * MFV Cast
 * ========================================================= */
.content-switcher{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.content-switcher--cast{
  margin:0 0 18px;
}

.content-switcher__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid rgba(11,37,69,.14);
  background:rgba(255,255,255,.8);
  color:#0b2545;
  font-weight:700;
  transition:transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease;
}

.content-switcher__link.is-active{
  background:#0b2545;
  border-color:#0b2545;
  color:#fff;
}

@media (hover:hover){
  .content-switcher__link:hover{
    transform:translateY(-1px);
    border-color:#0b2545;
  }
}

.cast-callout{
  display:grid;
  grid-template-columns:minmax(280px, 38%) minmax(0, 1fr);
  gap:0;
  overflow:hidden;
  border-radius:32px;
  background:
    radial-gradient(circle at top left, rgba(18,140,126,.35), transparent 42%),
    linear-gradient(135deg, #07111f 0%, #0b2545 54%, #0f6a68 100%);
  color:#fff;
  box-shadow:0 24px 60px rgba(7,17,31,.18);
}

.cast-callout__image{
  min-height:280px;
}

.cast-callout__image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.cast-callout__copy{
  padding:34px;
  display:grid;
  gap:16px;
  align-content:center;
}

.cast-callout__copy h2{
  margin:0;
  font-size:clamp(1.8rem, 3vw, 2.6rem);
}

.cast-callout__copy p{
  margin:0;
  max-width:54ch;
  line-height:1.7;
  color:rgba(240,245,255,.88);
}

.cast-body{
  background:#06101d;
  color:#eef4ff;
}

.cast-page{
  background:
    linear-gradient(180deg, #06101d 0%, #081423 34%, #0a1728 58%, #eef6f7 100%);
}

.cast-hero{
  position:relative;
  min-height:min(86vh, 780px);
  overflow:hidden;
  background:#02070d;
  border-bottom-left-radius:36px;
  border-bottom-right-radius:36px;
}

.cast-hero__poster,
.cast-hero__poster img,
.cast-hero__veil{
  position:absolute;
  inset:0;
}

.cast-hero__poster img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.cast-hero__veil{
  background:
    linear-gradient(90deg, rgba(3,8,15,.92) 0%, rgba(3,8,15,.72) 40%, rgba(3,8,15,.1) 100%),
    linear-gradient(180deg, rgba(3,8,15,.1) 0%, rgba(3,8,15,.82) 86%);
}

.cast-hero__content{
  position:relative;
  z-index:1;
  min-height:min(86vh, 780px);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding-block:120px 56px;
}

.cast-hero__copy{
  max-width:720px;
  display:grid;
  gap:18px;
}

.cast-hero__copy h1{
  margin:0;
  font-size:clamp(2.8rem, 6vw, 5.7rem);
  line-height:.95;
  letter-spacing:-.04em;
}

.cast-hero__copy p{
  margin:0;
  max-width:60ch;
  color:rgba(234,241,250,.86);
  line-height:1.7;
  font-size:1.02rem;
}

.cast-hero__chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.cast-hero__chips span,
.cast-badge{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  font-size:.92rem;
  font-weight:700;
}

.cast-shell{
  position:relative;
  margin-top:-42px;
  z-index:2;
}

.cast-inline-status{
  margin:0 0 18px;
  padding:14px 16px;
  border-radius:18px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.1);
  color:#fff;
}

.cast-inline-status[data-state="error"]{
  background:rgba(145,32,32,.2);
  border-color:rgba(255,122,122,.28);
}

.cast-intro,
.cast-seasons,
.cast-spotlight,
.cast-episodes{
  border-radius:30px;
  background:#091321;
  color:#fff;
  box-shadow:0 22px 60px rgba(3,8,15,.16);
}

.cast-intro,
.cast-seasons,
.cast-episodes{
  padding:28px;
}

.cast-intro{
  display:grid;
  grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr);
  gap:28px;
  margin-bottom:24px;
}

.cast-intro h2,
.cast-seasons h2,
.cast-sectionHead h2{
  margin:8px 0 0;
  font-size:clamp(1.5rem, 3vw, 2.3rem);
}

.cast-intro p,
.cast-seasons p,
.cast-spotlight p,
.cast-card__body p,
.cast-modal__body p{
  line-height:1.72;
  color:rgba(228,236,248,.82);
}

.cast-seasons{
  display:grid;
  gap:18px;
  margin-bottom:24px;
}

.cast-seasons__head{
  display:grid;
  grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr);
  gap:24px;
}

.cast-season-summary__stats{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.cast-season-summary__stats span{
  padding:9px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
  font-size:.92rem;
}

.cast-season-pills{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.cast-season-pill{
  min-height:46px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-weight:700;
  cursor:pointer;
  transition:background-color .18s ease, transform .18s ease, border-color .18s ease;
}

.cast-season-pill.is-active{
  background:#128c7e;
  border-color:#128c7e;
}

@media (hover:hover){
  .cast-season-pill:hover{
    transform:translateY(-1px);
    border-color:#128c7e;
  }
}

.cast-spotlight{
  display:grid;
  grid-template-columns:minmax(320px, 44%) minmax(0, 1fr);
  overflow:hidden;
  margin-bottom:24px;
}

.cast-spotlight__media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.cast-spotlight__body{
  padding:34px;
  display:grid;
  gap:18px;
  align-content:center;
}

.cast-spotlight__eyebrow,
.cast-card__meta,
.cast-comment__head,
.admin-cast-card__meta,
.admin-cast-card__actions,
.admin-comment-card__head,
.admin-comment-card__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:space-between;
}

.cast-badge--outline{
  background:transparent;
}

.cast-badge--live{
  background:#128c7e;
  border-color:#128c7e;
}

.cast-badge--locked{
  background:rgba(245,158,11,.2);
  border-color:rgba(245,158,11,.32);
  color:#ffe7b0;
}

.cast-spotlight__body h3{
  margin:0;
  font-size:clamp(1.75rem, 3vw, 3rem);
  line-height:1.04;
}

.cast-spotlight__actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
}

.cast-spotlight__meta{
  color:rgba(228,236,248,.7);
  font-size:.94rem;
}

.cast-sectionHead{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:20px;
  margin-bottom:18px;
  align-items:end;
}

.cast-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}

.cast-card{
  display:grid;
  overflow:hidden;
  border-radius:24px;
  background:#0d1a2b;
  border:1px solid rgba(255,255,255,.08);
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.cast-card__media{
  position:relative;
  aspect-ratio:16 / 9;
}

.cast-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.cast-card__overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:18px;
  background:linear-gradient(180deg, rgba(4,10,18,.2) 0%, rgba(4,10,18,.92) 100%);
}

.cast-card__episode,
.cast-card__lock,
.cast-card__play{
  align-self:flex-start;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.15);
  color:#fff;
  font-size:.82rem;
  font-weight:700;
}

.cast-card__lock{
  background:rgba(245,158,11,.18);
  border-color:rgba(245,158,11,.22);
  color:#ffe7b0;
}

.cast-card__play{
  background:#128c7e;
  border-color:#128c7e;
}

.cast-card__body{
  padding:22px;
  display:grid;
  gap:14px;
}

.cast-card__body h3{
  margin:0;
  font-size:1.2rem;
  line-height:1.3;
}

.cast-card__body p{
  margin:0;
  font-size:.94rem;
}

.cast-card__action{
  min-height:46px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-weight:700;
  cursor:pointer;
  transition:background-color .18s ease, border-color .18s ease;
}

.cast-card__action:disabled{
  opacity:.6;
  cursor:not-allowed;
}

.cast-card.is-locked{
  opacity:.84;
}

.cast-card.is-locked img{
  filter:saturate(.55) brightness(.78);
}

@media (hover:hover){
  .cast-card:hover{
    transform:translateY(-4px);
    border-color:rgba(18,140,126,.44);
    box-shadow:0 24px 44px rgba(3,8,15,.26);
  }

  .cast-card__action:not(:disabled):hover{
    background:#128c7e;
    border-color:#128c7e;
  }
}

.cast-empty{
  padding:28px;
  border-radius:24px;
  border:1px dashed rgba(255,255,255,.18);
  color:rgba(228,236,248,.74);
}

.cast-modal{
  position:fixed;
  inset:0;
  z-index:3200;
  display:grid;
  place-items:center;
  padding:20px;
  background:rgba(3,8,15,.82);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}

.cast-modal__dialog{
  position:relative;
  width:min(1120px, 100%);
  max-height:min(92vh, 980px);
  overflow:auto;
  border-radius:30px;
  background:#08111d;
  color:#fff;
  box-shadow:0 32px 80px rgba(0,0,0,.42);
}

.cast-modal__close{
  position:absolute;
  top:18px;
  right:18px;
  z-index:2;
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(3,8,15,.6);
  color:#fff;
  font-size:1.6rem;
  cursor:pointer;
}

.cast-modal__media{
  background:#04070d;
}

.cast-modal__player,
.cast-modal__poster{
  width:100%;
  aspect-ratio:16 / 9;
  border:0;
}

.cast-modal__poster{
  position:relative;
}

.cast-modal__poster img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.cast-modal__posterCopy{
  position:absolute;
  left:24px;
  right:24px;
  bottom:24px;
  display:grid;
  gap:8px;
  padding:18px;
  border-radius:20px;
  background:rgba(3,8,15,.68);
  backdrop-filter:blur(10px);
}

.cast-modal__body{
  padding:30px;
  display:grid;
  grid-template-columns:1fr;
  gap:26px;
}

.cast-modal__copy{
  display:grid;
  gap:14px;
  padding-bottom:8px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.cast-modal__copy h2{
  margin:0;
  font-size:clamp(1.6rem, 3vw, 2.7rem);
}

.cast-modal__meta{
  color:#77e2c8;
  font-size:.92rem;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.cast-comments{
  display:grid;
  gap:18px;
}

.cast-comments__head{
  display:grid;
  gap:8px;
}

.cast-comments__head h3{
  margin:0;
}

.cast-comments__list{
  display:grid;
  gap:12px;
}

.cast-comments__composer{
  display:grid;
  gap:14px;
  padding-top:8px;
  border-top:1px solid rgba(255,255,255,.08);
}

.cast-comments__composerHead{
  display:grid;
  gap:6px;
}

.cast-comments__composerHead h4{
  margin:0;
  font-size:1rem;
  color:#fff;
}

.cast-comments__composerHead p{
  margin:0;
  color:rgba(228,236,248,.74);
}

.cast-commentForm .admin-field > span{
  color:#fff;
}

.cast-comment{
  padding:16px;
  border-radius:18px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.06);
}

.cast-comment p{
  margin:8px 0 0;
}

.cast-comment--empty{
  color:rgba(228,236,248,.74);
}

.cast-commentForm{
  display:grid;
  gap:14px;
  padding:18px;
  border-radius:22px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
}

.cast-commentForm__grid{
  display:grid;
}

.admin-pageHero--cast{
  background:
    radial-gradient(circle at top right, rgba(18,140,126,.26), transparent 36%),
    linear-gradient(135deg, #07111f 0%, #0b2545 54%, #128c7e 100%);
}

.admin-cast-layout{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:24px;
}

.admin-cast-list,
.admin-comments-list{
  display:grid;
  gap:14px;
  margin-bottom:20px;
}

.admin-cast-card,
.admin-comment-card{
  padding:18px;
  border-radius:22px;
  border:1px solid rgba(11,37,69,.08);
  background:linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
  box-shadow:0 14px 32px rgba(11,37,69,.06);
}

.admin-cast-card.is-active{
  border-color:rgba(18,140,126,.36);
  box-shadow:0 18px 40px rgba(18,140,126,.12);
}

.admin-cast-card h3,
.admin-comment-card p{
  margin:0;
}

.admin-cast-card p{
  margin:10px 0 0;
  color:#4b5a6d;
  line-height:1.6;
}

.admin-cast-card__actions,
.admin-comment-card__actions{
  margin-top:16px;
  font-size:.9rem;
  color:#6b7787;
}

.admin-comment-card__head strong{
  display:block;
}

.admin-comment-card__head span{
  color:#6b7787;
  font-size:.88rem;
}

.admin-comment-card p{
  margin-top:12px;
  color:#243244;
  line-height:1.65;
}

@media (max-width: 1100px){
  .cast-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .cast-modal__body,
  .cast-seasons__head,
  .cast-intro,
  .admin-cast-layout{
    grid-template-columns:1fr;
  }
}

@media (max-width: 780px){
  .cast-callout,
  .cast-spotlight{
    grid-template-columns:1fr;
  }

  .cast-callout__copy,
  .cast-spotlight__body,
  .cast-intro,
  .cast-seasons,
  .cast-episodes,
  .cast-modal__body{
    padding:22px;
  }

  .cast-grid{
    grid-template-columns:1fr;
  }

  .cast-hero{
    min-height:680px;
  }

  .cast-hero__content{
    min-height:680px;
    padding-block:106px 32px;
  }

  .cast-sectionHead{
    grid-template-columns:1fr;
  }

  .cast-modal{
    padding:12px;
  }

  .cast-modal__dialog{
    border-radius:24px;
  }
}

/* ===== BLOG SUBMENU + MFV CAST STANDALONE ===== */
.menu-item--has-submenu{
  position:relative;
}

.menu-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.menu-link::after{
  content:"";
  width:8px;
  height:8px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:rotate(45deg) translateY(-1px);
  opacity:.72;
}

.menu-link--current{
  color:var(--mfv-gold);
}

.menu-submenu{
  display:grid;
  gap:6px;
}

.menu-submenu__link{
  display:inline-flex;
  align-items:center;
  min-height:40px;
}

.menu-submenu__link.is-active{
  color:var(--mfv-gold);
}

@media (min-width: 992px){
  .menu-item--has-submenu{
    padding-block:18px;
  }

  .menu-submenu{
    position:absolute;
    top:calc(100% - 6px);
    left:50%;
    z-index:40;
    min-width:190px;
    padding:14px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    background:rgba(8,26,49,.98);
    box-shadow:0 22px 46px rgba(0,0,0,.28);
    backdrop-filter:blur(10px);
    opacity:0;
    visibility:hidden;
    transform:translate(-50%, 8px);
    transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .menu-submenu__link{
    color:#dbe7f6;
    padding:10px 12px;
    border-radius:14px;
  }

  .hdr .menu .menu-submenu a.menu-submenu__link,
  .hdr.scrolled .menu .menu-submenu a.menu-submenu__link{
    color:#dbe7f6;
    opacity:1;
  }

  .hdr .menu .menu-submenu a.menu-submenu__link.is-active,
  .hdr.scrolled .menu .menu-submenu a.menu-submenu__link.is-active{
    color:var(--mfv-gold);
  }

  .menu-item--has-submenu:hover .menu-submenu,
  .menu-item--has-submenu:focus-within .menu-submenu{
    opacity:1;
    visibility:visible;
    transform:translate(-50%, 0);
  }

  .hdr .menu .menu-submenu a.menu-submenu__link:hover,
  .hdr .menu .menu-submenu a.menu-submenu__link:focus-visible,
  .hdr.scrolled .menu .menu-submenu a.menu-submenu__link:hover,
  .hdr.scrolled .menu .menu-submenu a.menu-submenu__link:focus-visible{
    color:#fff;
    opacity:1;
    background:rgba(255,255,255,.08);
  }

  .cast-body--standalone .hdr,
  .cast-body--standalone .hdr.scrolled{
    background:rgba(6,21,42,.88);
    box-shadow:0 14px 32px rgba(3,8,15,.26);
    border-bottom:1px solid rgba(255,255,255,.06);
  }

  .cast-body--standalone .hdr,
  .cast-body--standalone .hdr .menu a,
  .cast-body--standalone .hdr.scrolled,
  .cast-body--standalone .hdr.scrolled .menu a{
    color:#eef4fb;
  }

  .cast-body--standalone .hdr .hamb span,
  .cast-body--standalone .hdr.scrolled .hamb span{
    background:#eef4fb;
  }

  .cast-body--standalone .menu-submenu{
    background:rgba(8,26,49,.98);
    border-color:rgba(255,255,255,.08);
    box-shadow:0 22px 46px rgba(0,0,0,.32);
  }

  .cast-body--standalone .menu-submenu__link{
    color:#dbe7f6;
  }

  .cast-body--standalone .menu-submenu__link:hover,
  .cast-body--standalone .menu-submenu__link:focus-visible{
    color:#fff;
    background:rgba(255,255,255,.08);
  }
}

@media (max-width: 991px){
  .menu-item--has-submenu{
    display:grid;
    gap:10px;
  }

  .menu-link{
    width:100%;
    justify-content:space-between;
  }

  .menu-submenu{
    gap:10px;
    padding-left:16px;
    border-left:1px solid rgba(255,255,255,.18);
  }

  .menu--mob .menu-submenu__link{
    color:#fff !important;
    opacity:.92;
  }

  .cast-body--standalone .hdr,
  .cast-body--standalone .hdr.scrolled{
    background:rgba(6,21,42,.94);
    box-shadow:0 10px 24px rgba(0,0,0,.22);
    border-bottom:1px solid rgba(255,255,255,.06);
  }

  .cast-body--standalone .hdr,
  .cast-body--standalone .hdr .menu a,
  .cast-body--standalone .hdr.scrolled,
  .cast-body--standalone .hdr.scrolled .menu a{
    color:#eef4fb;
  }

  .cast-body--standalone .hdr .hamb span,
  .cast-body--standalone .hdr.scrolled .hamb span{
    background:#eef4fb;
  }
}

.cast-body--standalone{
  background:
    radial-gradient(circle at top, rgba(20,73,140,.28), transparent 30%),
    linear-gradient(180deg, #081a31 0%, #0b1f3c 26%, #081522 100%);
  color:#eef4fb;
}

.cast-page--standalone{
  padding-top:0;
}

.cast-brandHero{
  position:relative;
  min-height:clamp(240px, 42vh, 360px);
  display:grid;
  align-items:center;
  padding:calc(var(--hdr-h) + 20px) 0 28px;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(32,120,214,.18), transparent 26%),
    radial-gradient(circle at 50% 14%, rgba(255,255,255,.08), transparent 22%),
    linear-gradient(180deg, #061a35 0%, #081a31 55%, #081522 100%);
}

.cast-brandHero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(8,26,49,.18) 0%, rgba(8,26,49,0) 26%, rgba(8,26,49,.34) 100%),
    radial-gradient(circle at center, rgba(255,255,255,.08), transparent 48%);
  pointer-events:none;
}

.cast-brandHero__wrap{
  position:relative;
  z-index:1;
  display:grid;
  place-items:center;
}

.cast-brandHero__panel{
  width:min(760px, 100%);
  display:grid;
  justify-items:center;
  gap:0;
  text-align:center;
}

.cast-body--standalone .brand{
  display:inline-flex;
  align-items:center;
  width:clamp(150px, 18vw, 220px);
  min-width:0;
}

.cast-body--standalone .site-logo--cast{
  width:100% !important;
  max-width:100% !important;
  max-height:46px !important;
  height:46px !important;
  object-fit:contain;
  mix-blend-mode:screen;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.22));
}

.cast-brandHero__logo{
  width:min(460px, 82vw);
  max-width:100%;
  height:auto;
  display:block;
  mix-blend-mode:screen;
  filter:drop-shadow(0 22px 48px rgba(0,0,0,.34));
}

.cast-brandHero__lede{
  margin:0;
  max-width:34ch;
  color:rgba(232,240,251,.84);
  font-size:1rem;
  line-height:1.75;
}

.cast-brandHero__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 24px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-weight:700;
  letter-spacing:.02em;
  backdrop-filter:blur(10px);
  transition:transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.cast-brandHero__cta:hover,
.cast-brandHero__cta:focus-visible{
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.28);
  transform:translateY(-1px);
}

.cast-shell--standalone{
  position:relative;
  padding-top:0;
  padding-bottom:82px;
}

.cast-shell--standalone .page-wrap{
  display:grid;
  gap:24px;
}

.cast-inline-status{
  margin:0;
}

.cast-seasonBar{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  padding:16px 0 8px;
}

.cast-seasonBar__title{
  display:grid;
  gap:8px;
}

.cast-body--standalone .content-kicker{
  padding:0;
  min-height:auto;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:#f2d892;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.cast-seasonBar__title h2{
  margin:0;
  color:#fff;
  font-size:clamp(1.4rem, 2.6vw, 2rem);
}

.cast-seasonBar__note{
  margin:0;
  color:rgba(232,240,251,.7);
  font-size:.95rem;
}

.cast-season-summary__stats{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.cast-season-summary__stats span{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:rgba(232,240,251,.76);
  font-size:.88rem;
}

.cast-season-pills--minimal{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}

.cast-season-pill{
  min-height:36px;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:transparent;
  color:#dbe7f6;
  font-size:.92rem;
  font-weight:600;
  cursor:pointer;
  transition:background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.cast-season-pill:hover,
.cast-season-pill:focus-visible{
  border-color:rgba(255,255,255,.22);
  background:rgba(255,255,255,.06);
  color:#fff;
  transform:translateY(-1px);
}

.cast-season-pill.is-active{
  border-color:rgba(208,172,97,.48);
  background:rgba(208,172,97,.14);
  color:#f5d590;
}

.cast-spotlight--minimal,
.cast-episodes--minimal{
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(9,28,52,.9) 0%, rgba(5,18,34,.92) 100%);
  box-shadow:0 20px 54px rgba(0,0,0,.18);
}

.cast-spotlight--minimal{
  display:grid;
  grid-template-columns:minmax(300px, 42%) minmax(0, 1fr);
  overflow:hidden;
}

.cast-spotlight--minimal .cast-spotlight__media{
  min-height:320px;
}

.cast-spotlight--minimal .cast-spotlight__media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.cast-spotlight--minimal .cast-spotlight__body{
  padding:30px;
  display:grid;
  gap:14px;
  align-content:center;
}

.cast-spotlight--minimal .cast-spotlight__eyebrow{
  color:rgba(232,240,251,.64);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.cast-spotlight--minimal h3{
  margin:0;
  color:#fff;
  font-size:clamp(1.8rem, 3vw, 2.7rem);
  line-height:1.04;
}

.cast-spotlight--minimal p{
  margin:0;
  max-width:48ch;
  color:rgba(232,240,251,.78);
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.cast-spotlight__actions{
  display:flex;
  flex-wrap:wrap;
  gap:0;
  align-items:center;
}

.cast-spotlight__meta{
  color:rgba(232,240,251,.64);
  font-size:.92rem;
}

.cast-sectionHead--minimal{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:20px;
}

.cast-sectionHead--minimal h2{
  margin:6px 0 0;
  color:#fff;
}

.cast-sectionHead--minimal p{
  margin:0;
  color:rgba(232,240,251,.72);
}

.cast-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.cast-card{
  display:grid;
  grid-template-rows:auto 1fr;
  overflow:hidden;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
  box-shadow:none;
  transition:transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.cast-card__media{
  position:relative;
  aspect-ratio:16 / 10;
  overflow:hidden;
}

.cast-card__media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.cast-card__lockedMedia{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  gap:14px;
  padding:24px;
  background:
    radial-gradient(circle at 50% 30%, rgba(242,216,146,.12), transparent 28%),
    linear-gradient(180deg, rgba(10,23,42,.96) 0%, rgba(7,18,33,.98) 100%);
  text-align:center;
}

.cast-card__lockIcon{
  width:76px;
  height:76px;
  display:grid;
  place-items:center;
  border-radius:999px;
  border:1px solid rgba(242,216,146,.22);
  background:rgba(242,216,146,.08);
  color:#f2d892;
}

.cast-card__lockIcon svg{
  width:34px;
  height:34px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.cast-card__lockedLabel{
  color:rgba(242,216,146,.82);
  font-size:.86rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.cast-card__media::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(4,10,18,.02) 0%, rgba(4,10,18,.12) 48%, rgba(4,10,18,.72) 100%);
  pointer-events:none;
}

.cast-card__overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-end;
  gap:10px;
  padding:14px;
  background:none !important;
  z-index:1;
}

.cast-card__episode,
.cast-card__play,
.cast-card__lock{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(4,10,18,.7);
  color:#fff;
  font-size:.8rem;
  font-weight:700;
  text-align:center;
  backdrop-filter:blur(8px);
}

.cast-card__lock{
  color:#f5d590;
}

.cast-card__play{
  color:#c8f7e6;
}

.cast-card__body{
  padding:22px 20px 20px;
  display:grid;
  grid-template-rows:auto minmax(0, 1fr) auto;
  gap:12px;
  justify-items:start;
  text-align:left;
  align-content:start;
  min-height:172px;
  height:100%;
}

.cast-card__eyebrow{
  color:#f2d892;
  font-size:.78rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.cast-card__body h3{
  margin:0;
  color:#fff;
  font-size:1.1rem;
  line-height:1.35;
  max-width:none;
  width:100%;
  text-align:left;
}

.cast-card__action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  max-width:100%;
  min-height:40px;
  padding:0 18px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:#fff;
  text-align:center;
  line-height:1.2;
  margin-top:auto;
  align-self:end;
  justify-self:start;
  font-size:.95rem;
  font-weight:700;
  white-space:nowrap;
}

.cast-card__action:not(:disabled):hover,
.cast-card__action:not(:disabled):focus-visible{
  border-color:rgba(255,255,255,.22);
  background:rgba(255,255,255,.08);
}

.cast-card.is-locked{
  background:rgba(255,255,255,.02);
  border-color:rgba(208,172,97,.14);
}

.cast-card.is-locked img{
  filter:saturate(.55) brightness(.72);
}

.cast-card:hover{
  transform:translateY(-2px);
  border-color:rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
}

.cast-empty{
  padding:26px;
  border-radius:22px;
  border:1px dashed rgba(255,255,255,.18);
  color:rgba(232,240,251,.72);
}

.cast-body--standalone .ft{
  background:transparent;
  color:#dbe7f6;
}

.cast-body--standalone .ft::before{
  background:linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.05) 100%);
}

.cast-body--standalone .ft a,
.cast-body--standalone .ft h3{
  color:#fff;
}

.cast-body--standalone .ft-about,
.cast-body--standalone .ft-copy,
.cast-body--standalone .ft-contact a{
  color:rgba(232,240,251,.78);
}

@media (max-width: 1100px){
  .cast-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

/* =========================================================
 * Public Footer Copy Alignment
 * Mantem a faixa inferior consistente em todas as paginas publicas
 * ========================================================= */
footer.ft .ft-copy{
  background:#0a131a !important;
  padding:12px 0 !important;
}

footer.ft .ft-copy p{
  width:min(1200px, 92%) !important;
  margin:0 auto !important;
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px 18px !important;
  text-align:center !important;
  line-height:1.4 !important;
  color:#bcd0de !important;
}

footer.ft .ft-copy p > *{
  width:auto !important;
  margin:0 !important;
  display:inline !important;
  text-align:center !important;
}

footer.ft .ft-copy a,
footer.ft .ft-copy span,
footer.ft .ft-copy strong{
  color:inherit !important;
  text-decoration:none !important;
  border:0 !important;
  background:none !important;
  opacity:1 !important;
  visibility:visible !important;
  -webkit-text-fill-color:currentColor !important;
}

@media (max-width: 780px){
  footer.ft .ft-copy p{
    gap:4px 12px !important;
  }
}

@media (max-width: 840px){
  .cast-seasonBar,
  .cast-sectionHead--minimal{
    flex-direction:column;
    align-items:flex-start;
  }

  .cast-season-pills--minimal{
    justify-content:flex-start;
  }

  .cast-spotlight--minimal{
    grid-template-columns:1fr;
  }

  .cast-spotlight--minimal .cast-spotlight__media{
    min-height:260px;
  }
}

@media (max-width: 640px){
  .cast-body--standalone .brand{
    width:clamp(138px, 40vw, 172px);
  }

  .cast-body--standalone .site-logo--cast{
    max-height:38px !important;
    height:38px !important;
  }

  .cast-brandHero{
    min-height:clamp(200px, 34vh, 280px);
    padding:calc(var(--hdr-h) + 16px) 0 18px;
  }

  .cast-brandHero__logo{
    width:min(320px, 82vw);
  }

  .cast-grid{
    grid-template-columns:1fr;
  }

  .cast-spotlight--minimal .cast-spotlight__body,
  .cast-episodes--minimal,
  .cast-modal__body{
    padding:22px;
  }
}

/* =========================================================
 * Paginas publicas - ajustes pontuais
 * Mantem o visual original com refinamentos leves nos cards
 * ========================================================= */
body:not(.cast-body):not(.admin-app):not(.admin-login-page) .menu-loginItem{
  display:flex;
  align-items:center;
}

body:not(.cast-body):not(.admin-app):not(.admin-login-page) .menu-login{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
  color:#fff;
  transition:transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body:not(.cast-body):not(.admin-app):not(.admin-login-page) .hdr.scrolled .menu-login{
  background:rgba(11,37,69,.04);
  border-color:rgba(11,37,69,.1);
  color:var(--mfv-blue);
}

body:not(.cast-body):not(.admin-app):not(.admin-login-page) .menu-login:hover,
body:not(.cast-body):not(.admin-app):not(.admin-login-page) .menu-login:focus-visible{
  transform:translateY(-1px);
  background:rgba(212,175,55,.12);
  border-color:rgba(212,175,55,.24);
  box-shadow:0 12px 24px rgba(6,21,42,.12);
}

body:not(.cast-body):not(.admin-app):not(.admin-login-page) .menu-login svg{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

body:not(.cast-body):not(.admin-app):not(.admin-login-page) .menu-submenu{
  background:rgba(8,26,49,.98);
}

body:not(.cast-body):not(.admin-app):not(.admin-login-page) .menu-submenu__link,
body:not(.cast-body):not(.admin-app):not(.admin-login-page) .hdr .menu .menu-submenu a.menu-submenu__link,
body:not(.cast-body):not(.admin-app):not(.admin-login-page) .hdr.scrolled .menu .menu-submenu a.menu-submenu__link{
  color:#dbe7f6;
}

body:not(.cast-body):not(.admin-app):not(.admin-login-page) .menu-submenu__link:hover,
body:not(.cast-body):not(.admin-app):not(.admin-login-page) .menu-submenu__link:focus-visible,
body:not(.cast-body):not(.admin-app):not(.admin-login-page) .hdr .menu .menu-submenu a.menu-submenu__link:hover,
body:not(.cast-body):not(.admin-app):not(.admin-login-page) .hdr.scrolled .menu .menu-submenu a.menu-submenu__link:hover{
  color:#fff;
  background:rgba(255,255,255,.08);
}

body:not(.cast-body):not(.admin-app):not(.admin-login-page) .area-card,
body:not(.cast-body):not(.admin-app):not(.admin-login-page) .fc-card,
body:not(.cast-body):not(.admin-app):not(.admin-login-page) .content-card{
  position:relative;
  overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body:not(.cast-body):not(.admin-app):not(.admin-login-page) .area-card::before,
body:not(.cast-body):not(.admin-app):not(.admin-login-page) .fc-card::before,
body:not(.cast-body):not(.admin-app):not(.admin-login-page) .content-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,0) 26%);
}

@media (hover: hover){
  body:not(.cast-body):not(.admin-app):not(.admin-login-page) .area-card:hover,
  body:not(.cast-body):not(.admin-app):not(.admin-login-page) .fc-card:hover,
  body:not(.cast-body):not(.admin-app):not(.admin-login-page) .content-card:hover{
    transform:translateY(-3px);
    box-shadow:0 14px 28px rgba(0,0,0,.08);
  }
}

@media (max-width: 991px){
  body:not(.cast-body):not(.admin-app):not(.admin-login-page) .menu-login{
    width:46px;
    height:46px;
    border-radius:15px;
  }
}

/* =========================================================
 * Equipe MFV - cards 3D minimalistas
 * ========================================================= */
body.team-page .team-category__grid{
  perspective: 1800px;
  gap: 18px;
}

body.team-page .team-member{
  --team-rotate-x: 0deg;
  --team-rotate-y: 0deg;
  --team-glow-x: 50%;
  --team-glow-y: 18%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(15, 42, 74, 0.96) 0%, rgba(8, 24, 44, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 48px rgba(3, 12, 24, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform-style: preserve-3d;
  transform:
    perspective(1800px)
    rotateX(var(--team-rotate-x))
    rotateY(var(--team-rotate-y))
    translateY(0);
  transition:
    transform .35s cubic-bezier(.22, .9, .24, 1),
    box-shadow .35s ease,
    border-color .35s ease,
    background .35s ease;
}

body.team-page .team-member::before{
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--team-glow-x) var(--team-glow-y), rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 26%);
  opacity: .78;
  pointer-events: none;
  z-index: 0;
}

body.team-page .team-member:hover,
body.team-page .team-member:focus-within{
  border-color: rgba(242, 216, 146, 0.2);
  box-shadow:
    0 32px 64px rgba(2, 10, 22, 0.36),
    0 10px 22px rgba(242, 216, 146, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

body.team-page .team-member__media,
body.team-page .team-member__body{
  position: relative;
  z-index: 1;
}

body.team-page .team-member__media{
  transform: translateZ(26px);
}

body.team-page .team-member__media::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 24%),
    linear-gradient(180deg, rgba(8, 26, 49, 0) 48%, rgba(8, 26, 49, 0.86) 100%);
  pointer-events: none;
  z-index: 1;
}

body.team-page .team-member__media::after{
  height: 52%;
  background: linear-gradient(180deg, rgba(8, 26, 49, 0) 0%, rgba(8, 26, 49, 0.9) 100%);
  z-index: 1;
}

body.team-page .team-member__photo{
  aspect-ratio: 4 / 4.15;
  background-position: center top;
  filter: saturate(1.02) contrast(1.03);
  transition: transform .45s ease, filter .35s ease;
}

body.team-page .team-member__media--trigger:hover .team-member__photo,
body.team-page .team-member__media--trigger:focus-visible .team-member__photo,
body.team-page .team-member:hover .team-member__photo{
  transform: scale(1.045);
  filter: saturate(1.06) contrast(1.05);
}

body.team-page .team-member__body{
  gap: 10px;
  padding: 16px;
  transform: translateZ(42px);
}

body.team-page .team-member__identity{
  gap: 6px;
}

body.team-page .team-member__name{
  font-size: 1.04rem;
  line-height: 1.16;
}

body.team-page .team-member__role{
  color: rgba(242, 216, 146, 0.96);
  font-size: .72rem;
  letter-spacing: .09em;
}

body.team-page .team-member__summary{
  min-height: calc(1.58em * 4);
  color: rgba(232, 240, 250, 0.85);
  font-size: .87rem;
  line-height: 1.58;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

body.team-page .team-member__trigger{
  width: auto !important;
  min-width: 132px;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(27, 81, 137, 0.96) 0%, rgba(10, 38, 69, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: .82rem;
  letter-spacing: .01em;
  transform: translateZ(52px);
  transition:
    transform .24s ease,
    border-color .24s ease,
    background .24s ease,
    box-shadow .24s ease;
}

body.team-page .team-member__trigger:hover,
body.team-page .team-member__trigger:focus-visible{
  transform: translateY(-1px) translateZ(52px);
  border-color: rgba(242, 216, 146, 0.26);
  box-shadow:
    0 14px 28px rgba(3, 10, 20, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

body.team-page .team-member__photo--placeholder{
  background:
    radial-gradient(circle at top, rgba(242, 216, 146, 0.08) 0%, transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
}

body.team-page .team-member__photo--placeholder span{
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
}

@media (prefers-reduced-motion: reduce){
  body.team-page .team-member{
    transform: none !important;
  }

  body.team-page .team-member__photo,
  body.team-page .team-member__trigger{
    transition: none !important;
  }
}

@media (max-width: 760px){
  body.team-page .team-category__grid{
    perspective: none;
    gap: 16px;
  }

  body.team-page .team-member{
    transform: none !important;
    border-radius: 22px;
  }

  body.team-page .team-member__photo{
    aspect-ratio: 4 / 3.78;
  }

  body.team-page .team-member__summary{
    min-height: 0;
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  body.team-page .team-member__trigger{
    width: 100% !important;
    min-width: 0;
    align-self: stretch;
  }
}

/* =========================================================
 * MFV Cast - ajustes pontuais de cards e icone de login
 * Baseado em referencias de cards dark/minimal do Uiverse
 * ========================================================= */
.cast-card{
  position: relative;
  border-color: rgba(255,255,255,.09);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.025) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 14px 34px rgba(0,0,0,.14);
}

.cast-card::before{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.035) 0%, rgba(255,255,255,0) 28%);
  pointer-events:none;
}

.cast-card__media img{
  transition:transform .35s ease;
}

.cast-card__body{
  padding:20px 18px 18px;
  gap:10px;
}

.cast-card__action{
  min-height:42px;
  border-radius:14px;
  box-shadow:none;
}

@media (hover: hover){
  .cast-card:hover{
    transform:translateY(-4px);
    border-color:rgba(242,216,146,.18);
    background:
      linear-gradient(180deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.03) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.06),
      0 20px 44px rgba(0,0,0,.18);
  }

  .cast-card:hover .cast-card__media img{
    transform:scale(1.03);
  }
}

.cast-body--standalone .menu-loginItem{
  display:flex;
  align-items:center;
}

.cast-body--standalone .menu-login{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:#eef4fb;
  transition:transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.cast-body--standalone .menu-login:hover,
.cast-body--standalone .menu-login:focus-visible{
  transform:translateY(-2px);
  background:rgba(255,255,255,.12);
  border-color:rgba(242,216,146,.26);
  box-shadow:0 16px 34px rgba(0,0,0,.18);
}

.cast-body--standalone .menu-login svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.85;
  stroke-linecap:round;
  stroke-linejoin:round;
}

@media (max-width: 640px){
  .cast-body--standalone .menu-login{
    width:46px;
    height:46px;
    border-radius:16px;
  }
}

/* =========================================================
 * MFV Cast - paleta preta
 * Mantem a estrutura atual e ajusta apenas as cores
 * ========================================================= */
.cast-body--standalone{
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.045), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(242,216,146,.08), transparent 18%),
    linear-gradient(180deg, #040506 0%, #090b0e 34%, #020304 100%);
  color:#f3f4f6;
}

.cast-page--standalone{
  background:transparent;
}

.cast-shell--standalone{
  background:linear-gradient(180deg, #060709 0%, #030406 100%);
}

.cast-body--standalone .hdr,
.cast-body--standalone .hdr.scrolled{
  background:rgba(5,6,8,.92);
  border-bottom:1px solid rgba(255,255,255,.06);
  box-shadow:0 14px 32px rgba(0,0,0,.28);
}

.cast-body--standalone .menuMob{
  background:rgba(5,6,8,.97);
}

.cast-body--standalone .menu-submenu{
  background:#0d1015;
  border-color:rgba(255,255,255,.07);
  box-shadow:0 22px 46px rgba(0,0,0,.38);
}

.cast-body--standalone .menu-submenu__link{
  color:#e5e7eb;
}

.cast-body--standalone .menu-submenu__link:hover,
.cast-body--standalone .menu-submenu__link:focus-visible{
  background:rgba(255,255,255,.06);
  color:#fff;
}

.cast-brandHero{
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.06), transparent 22%),
    radial-gradient(circle at 50% 12%, rgba(242,216,146,.08), transparent 18%),
    linear-gradient(180deg, #050608 0%, #08090c 56%, #040506 100%);
}

.cast-brandHero::before{
  background:
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,.34) 100%),
    radial-gradient(circle at center, rgba(255,255,255,.05), transparent 46%);
}

.cast-season-summary__stats span{
  background:rgba(255,255,255,.045);
  color:rgba(229,231,235,.78);
}

.cast-season-pill{
  border-color:rgba(255,255,255,.1);
  background:rgba(255,255,255,.02);
  color:#e5e7eb;
}

.cast-season-pill:hover,
.cast-season-pill:focus-visible{
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:#fff;
}

.cast-season-pill.is-active{
  border-color:rgba(242,216,146,.34);
  background:rgba(242,216,146,.12);
  color:#f3d991;
}

.cast-spotlight--minimal,
.cast-episodes--minimal{
  border-color:rgba(255,255,255,.07);
  background:linear-gradient(180deg, #0d1015 0%, #07090c 100%);
  box-shadow:0 22px 58px rgba(0,0,0,.26);
}

.cast-spotlight--minimal .cast-spotlight__eyebrow,
.cast-spotlight__meta{
  color:rgba(229,231,235,.62);
}

.cast-spotlight--minimal p,
.cast-seasonBar__note,
.cast-sectionHead--minimal p,
.cast-empty,
.cast-comment--empty,
.cast-comments__composerHead p{
  color:rgba(229,231,235,.74);
}

.cast-spotlight__actions .btn-cta--wa,
.cast-commentForm .btn-cta--wa{
  background:linear-gradient(180deg, #171b20 0%, #0d1015 100%);
  border-color:rgba(255,255,255,.12);
  color:#fff;
  box-shadow:none;
}

.cast-spotlight__actions .btn-cta--wa:hover,
.cast-spotlight__actions .btn-cta--wa:focus-visible,
.cast-commentForm .btn-cta--wa:hover,
.cast-commentForm .btn-cta--wa:focus-visible{
  background:linear-gradient(180deg, #1d2228 0%, #12161b 100%);
  border-color:rgba(242,216,146,.26);
}

.cast-card{
  border-color:rgba(255,255,255,.07);
  background:linear-gradient(180deg, rgba(255,255,255,.035) 0%, rgba(255,255,255,.02) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 16px 36px rgba(0,0,0,.18);
}

.cast-card::before{
  background:linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,0) 28%);
}

.cast-card__lockedMedia{
  background:
    radial-gradient(circle at 50% 30%, rgba(242,216,146,.1), transparent 28%),
    linear-gradient(180deg, #0b0d10 0%, #050608 100%);
}

.cast-card__episode,
.cast-card__play,
.cast-card__lock{
  background:rgba(0,0,0,.5);
}

.cast-card__play{
  color:#f3f4f6;
}

.cast-card__action{
  border-color:rgba(255,255,255,.12);
  background:#11151b;
  color:#fff;
}

.cast-card__action:not(:disabled):hover,
.cast-card__action:not(:disabled):focus-visible{
  border-color:rgba(242,216,146,.22);
  background:#181d23;
}

.cast-card:hover{
  border-color:rgba(242,216,146,.14);
  background:linear-gradient(180deg, rgba(255,255,255,.045) 0%, rgba(255,255,255,.025) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 20px 44px rgba(0,0,0,.22);
}

.cast-carousel__nav{
  border-color:rgba(255,255,255,.1);
  background:rgba(255,255,255,.04);
}

.cast-carousel__nav:hover:not(:disabled){
  background:rgba(255,255,255,.08);
  border-color:rgba(242,216,146,.22);
}

.cast-carousel__dot{
  background:rgba(255,255,255,.18);
}

.cast-carousel__dot.is-active{
  background:#f2d892;
}

.cast-modal{
  background:rgba(0,0,0,.84);
}

.cast-modal__dialog{
  background:#080a0d;
  box-shadow:0 32px 80px rgba(0,0,0,.46);
}

.cast-modal__close{
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.12);
}

.cast-modal__media{
  background:#020304;
}

.cast-modal__posterCopy{
  background:rgba(8,10,13,.88);
}

.cast-modal__copy{
  border-bottom-color:rgba(255,255,255,.07);
}

.cast-modal__meta{
  color:#f2d892;
}

.cast-comments__composer{
  border-top-color:rgba(255,255,255,.07);
}

.cast-comment{
  background:rgba(255,255,255,.035);
  border-color:rgba(255,255,255,.06);
}

.cast-commentForm{
  background:rgba(255,255,255,.025);
  border-color:rgba(255,255,255,.06);
}

.cast-commentForm .admin-field input,
.cast-commentForm .admin-field textarea{
  background:#0f1217;
  border-color:rgba(255,255,255,.08);
  color:#fff;
}

.cast-commentForm .admin-field input::placeholder,
.cast-commentForm .admin-field textarea::placeholder{
  color:rgba(229,231,235,.44);
}

.cast-body--standalone .ft{
  color:#d1d5db;
}

.cast-body--standalone .ft::before{
  background:linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.03) 100%);
}

.cast-body--standalone .ft-about,
.cast-body--standalone .ft-copy,
.cast-body--standalone .ft-contact a{
  color:rgba(229,231,235,.72);
}

.cast-body--standalone .ft-copy{
  background:#060709 !important;
}

/* =========================================================
 * Equipe MFV - cards minimalistas e modal retangular
 * ========================================================= */
body.team-page .team-hero{
  padding:44px 0 30px;
}

body.team-page .team-hero__copy{
  gap:14px;
  max-width:620px;
}

body.team-page .team-hero__copy h1{
  max-width:13ch;
  font-size:clamp(2rem, 3.3vw, 3.3rem);
  line-height:1.06;
}

body.team-page .team-hero__copy p{
  max-width:52ch;
  font-size:1rem;
  line-height:1.7;
  color:rgba(232,240,250,.82);
}

body.team-page .team-hero__highlights{
  display:none !important;
}

body.team-page .page-section--team{
  padding-top:20px;
}

body.team-page .team-directory{
  display:grid;
  gap:28px;
}

body.team-page .team-category{
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

body.team-page .team-category + .team-category{
  margin-top:0;
  border-top:0 !important;
  padding-top:0 !important;
}

body.team-page .team-category__head{
  margin-bottom:18px;
  padding:0 !important;
  border:0 !important;
}

body.team-page .team-category__head h3{
  margin:0 0 6px;
  font-size:clamp(1.45rem, 2.4vw, 1.9rem);
  line-height:1.1;
  color:#fff;
}

body.team-page .team-category__head p{
  margin:0;
  max-width:58ch;
  font-size:.96rem;
  line-height:1.65;
  color:rgba(232,240,250,.72);
}

body.team-page .team-category__grid{
  gap:18px;
  grid-template-columns:repeat(auto-fit, minmax(210px, 280px));
  justify-content:start;
  border:0 !important;
}

body.team-page .team-member{
  --team-rotate-x:0deg;
  --team-rotate-y:0deg;
  --team-glow-x:50%;
  --team-glow-y:24%;
  position:relative;
  overflow:visible;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  transform:none !important;
  transform-style:flat;
  transition:none;
}

body.team-page .team-member::before{
  content:none !important;
}

body.team-page .team-member:hover,
body.team-page .team-member:focus-within{
  border-color:transparent;
  box-shadow:none;
}

body.team-page .team-member__surface{
  position:relative;
  display:block;
  width:100%;
  min-height:auto;
  padding:0;
  border:0;
  background:none;
  color:inherit;
  text-align:left;
  cursor:pointer;
  isolation:isolate;
  overflow:visible;
}

body.team-page .team-member__surface:focus-visible{
  outline:0;
}

body.team-page .team-member__surface:focus-visible .team-member__card{
  outline:2px solid rgba(242,216,146,.42);
  outline-offset:3px;
}

body.team-page .team-member__trackerGrid{
  position:absolute;
  inset:0;
  z-index:4;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  grid-template-rows:repeat(3, 1fr);
}

body.team-page .team-member__tracker{
  display:block;
}

body.team-page .team-member__card{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-rows:minmax(0, 1fr) auto;
  min-height:316px;
  overflow:hidden;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(10,19,35,.98) 0%, rgba(7,14,26,.99) 100%);
  box-shadow:0 16px 34px rgba(0,0,0,.22);
  transform:perspective(1100px) rotateX(0deg) rotateY(0deg);
  transform-style:preserve-3d;
  transition:transform .16s ease, border-color .2s ease, box-shadow .2s ease, background-color .2s ease, filter .2s ease;
}

body.team-page .team-member__surface:hover .team-member__card,
body.team-page .team-member__surface:focus-visible .team-member__card{
  border-color:rgba(242,216,146,.18);
  box-shadow:0 20px 40px rgba(0,0,0,.28);
}

body.team-page .team-member__tracker--1:hover ~ .team-member__card{
  transform:perspective(1100px) rotateX(8deg) rotateY(-8deg);
}

body.team-page .team-member__tracker--2:hover ~ .team-member__card{
  transform:perspective(1100px) rotateX(8deg) rotateY(0deg);
}

body.team-page .team-member__tracker--3:hover ~ .team-member__card{
  transform:perspective(1100px) rotateX(8deg) rotateY(8deg);
}

body.team-page .team-member__tracker--4:hover ~ .team-member__card{
  transform:perspective(1100px) rotateX(0deg) rotateY(-8deg);
}

body.team-page .team-member__tracker--5:hover ~ .team-member__card{
  transform:perspective(1100px) rotateX(0deg) rotateY(0deg) scale(1.01);
}

body.team-page .team-member__tracker--6:hover ~ .team-member__card{
  transform:perspective(1100px) rotateX(0deg) rotateY(8deg);
}

body.team-page .team-member__tracker--7:hover ~ .team-member__card{
  transform:perspective(1100px) rotateX(-8deg) rotateY(-8deg);
}

body.team-page .team-member__tracker--8:hover ~ .team-member__card{
  transform:perspective(1100px) rotateX(-8deg) rotateY(0deg);
}

body.team-page .team-member__tracker--9:hover ~ .team-member__card{
  transform:perspective(1100px) rotateX(-8deg) rotateY(8deg);
}

body.team-page .team-member__ambient{
  position:absolute;
  inset:-10%;
  background:
    radial-gradient(circle at var(--team-glow-x) var(--team-glow-y), rgba(242,216,146,.12), transparent 28%),
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.08), transparent 34%);
  opacity:.9;
  pointer-events:none;
}

body.team-page .team-member__glare{
  position:absolute;
  inset:0;
  background:linear-gradient(125deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.04) 45%, rgba(255,255,255,.12) 50%, rgba(255,255,255,.04) 55%, rgba(255,255,255,0) 100%);
  opacity:0;
  transition:opacity .2s ease;
  pointer-events:none;
}

body.team-page .team-member__scan{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, transparent 0%, rgba(242,216,146,.09) 50%, transparent 100%);
  opacity:0;
  transform:translateY(-120%);
  transition:opacity .22s ease;
  pointer-events:none;
}

body.team-page .team-member__cyberLines{
  position:absolute;
  inset:0;
  pointer-events:none;
}

body.team-page .team-member__cyberLines span{
  position:absolute;
  left:0;
  width:100%;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(242,216,146,.22), transparent);
  transform:scaleX(0);
  opacity:0;
}

body.team-page .team-member__cyberLines span:nth-child(1){
  top:22%;
}

body.team-page .team-member__cyberLines span:nth-child(2){
  top:42%;
}

body.team-page .team-member__cyberLines span:nth-child(3){
  top:64%;
}

body.team-page .team-member__cyberLines span:nth-child(4){
  top:82%;
}

body.team-page .team-member__surface:hover .team-member__scan,
body.team-page .team-member__surface:focus-visible .team-member__scan{
  opacity:1;
  animation:teamCardSweep 1.15s ease;
}

body.team-page .team-member__surface:hover .team-member__glare,
body.team-page .team-member__surface:focus-visible .team-member__glare{
  opacity:1;
}

body.team-page .team-member__surface:hover .team-member__cyberLines span,
body.team-page .team-member__surface:focus-visible .team-member__cyberLines span{
  animation:teamLineGrow 2.2s linear infinite;
}

body.team-page .team-member__surface:hover .team-member__cyberLines span:nth-child(2),
body.team-page .team-member__surface:focus-visible .team-member__cyberLines span:nth-child(2){
  animation-delay:.35s;
}

body.team-page .team-member__surface:hover .team-member__cyberLines span:nth-child(3),
body.team-page .team-member__surface:focus-visible .team-member__cyberLines span:nth-child(3){
  animation-delay:.7s;
}

body.team-page .team-member__surface:hover .team-member__cyberLines span:nth-child(4),
body.team-page .team-member__surface:focus-visible .team-member__cyberLines span:nth-child(4){
  animation-delay:1.05s;
}

body.team-page .team-member__corners{
  position:absolute;
  inset:10px;
  pointer-events:none;
}

body.team-page .team-member__corners span{
  position:absolute;
  width:14px;
  height:14px;
  border-color:rgba(242,216,146,.18);
  border-style:solid;
}

body.team-page .team-member__corners span:nth-child(1){
  top:0;
  left:0;
  border-width:1px 0 0 1px;
}

body.team-page .team-member__corners span:nth-child(2){
  top:0;
  right:0;
  border-width:1px 1px 0 0;
}

body.team-page .team-member__corners span:nth-child(3){
  right:0;
  bottom:0;
  border-width:0 1px 1px 0;
}

body.team-page .team-member__corners span:nth-child(4){
  left:0;
  bottom:0;
  border-width:0 0 1px 1px;
}

body.team-page .team-member__media{
  position:relative;
  overflow:hidden;
  min-height:0;
}

body.team-page .team-member__media::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,0) 20%),
    linear-gradient(180deg, rgba(5,11,21,0) 50%, rgba(5,11,21,.92) 100%);
  z-index:1;
  pointer-events:none;
}

body.team-page .team-member__photo{
  aspect-ratio:4 / 4.25;
  background-position:center top;
  background-size:cover;
  transition:transform .32s ease, filter .32s ease;
}

body.team-page .team-member__surface:hover .team-member__photo,
body.team-page .team-member__surface:focus-visible .team-member__photo{
  transform:scale(1.03);
  filter:saturate(1.03);
}

body.team-page .team-member__body{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:2;
  padding:14px 14px 15px;
  display:grid;
  gap:6px;
  align-content:end;
  background:linear-gradient(180deg, rgba(6,12,22,0) 0%, rgba(6,12,22,.9) 38%, rgba(6,12,22,.98) 100%);
}

body.team-page .team-member__identity{
  gap:6px;
}

body.team-page .team-member__name{
  margin:0;
  font-size:1rem;
  line-height:1.16;
  color:#fff;
}

body.team-page .team-member__role{
  margin:0;
  font-size:.7rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#f2d892;
}

body.team-page .team-member__summary,
body.team-page .team-member__trigger,
body.team-page .team-member__actions,
body.team-page .team-member__social{
  display:none !important;
}

body.team-page .team-modal{
  padding:24px;
  background:rgba(4,8,14,.82);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

body.team-page .team-modal__backdrop{
  background:transparent;
}

body.team-page .team-modal__dialog{
  width:min(1040px, 100%);
  max-height:min(90vh, 920px);
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, #0d182a 0%, #09111d 100%);
  box-shadow:0 28px 68px rgba(0,0,0,.36);
  overflow:auto;
}

body.team-page .team-modal__close{
  top:18px;
  right:18px;
  width:42px;
  height:42px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:#fff;
}

body.team-page .team-modal__content{
  padding:28px;
  display:grid;
  gap:24px;
}

body.team-page .team-modal__hero{
  display:grid;
  grid-template-columns:minmax(240px, 300px) minmax(0, 1fr);
  gap:24px;
  align-items:stretch;
}

body.team-page .team-modal__photoWrap{
  border-radius:10px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}

body.team-page .team-modal__photo{
  width:100%;
  min-height:360px;
  background-position:center top;
  background-size:cover;
}

body.team-page .team-modal__meta{
  display:grid;
  align-content:start;
  gap:10px;
  padding:6px 0 0;
}

body.team-page .team-modal__meta h2{
  margin:0;
  font-size:clamp(2rem, 3vw, 2.8rem);
  line-height:1.02;
}

body.team-page .team-modal__role{
  margin:0;
  font-size:.86rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#f2d892;
}

body.team-page .team-modal__resume{
  margin:4px 0 0;
  max-width:58ch;
  line-height:1.75;
  color:rgba(232,240,250,.82);
}

body.team-page .team-modal__grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
}

body.team-page .team-modal__section{
  padding:20px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
  box-shadow:none;
}

body.team-page .team-modal__section--contact{
  grid-column:1 / -1;
}

body.team-page .team-modal__section h3{
  margin:0 0 12px;
  font-size:1rem;
  color:#fff;
}

body.team-page .team-modal__section p,
body.team-page .team-modal__list{
  margin:0;
  color:rgba(232,240,250,.8);
  line-height:1.7;
}

body.team-page .team-modal__list{
  padding-left:18px;
  display:grid;
  gap:8px;
}

body.team-page .team-modal__chips{
  display:none !important;
}

body.team-page .team-modal__contact{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:12px;
}

body.team-page .team-modal__contactLink{
  display:grid;
  grid-template-columns:22px 1fr;
  gap:12px;
  align-items:start;
  padding:14px 15px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.025);
  color:#fff;
  text-decoration:none;
  transition:border-color .18s ease, background-color .18s ease, transform .18s ease;
}

body.team-page .team-modal__contactLink:hover,
body.team-page .team-modal__contactLink:focus-visible{
  transform:translateY(-1px);
  border-color:rgba(242,216,146,.2);
  background:rgba(255,255,255,.05);
}

body.team-page .team-modal__contactLink svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

body.team-page .team-modal__contactLink strong{
  display:block;
  margin:0 0 4px;
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#f2d892;
}

body.team-page .team-modal__contactLink span{
  display:block;
  color:rgba(232,240,250,.82);
  line-height:1.55;
  word-break:break-word;
}

@keyframes teamCardSweep{
  0%{
    transform:translateY(-120%);
  }
  100%{
    transform:translateY(120%);
  }
}

@keyframes teamLineGrow{
  0%{
    transform:scaleX(0);
    opacity:0;
  }
  35%{
    transform:scaleX(1);
    opacity:1;
  }
  100%{
    transform:scaleX(0);
    opacity:0;
  }
}

@media (prefers-reduced-motion: reduce){
  body.team-page .team-member__card,
  body.team-page .team-member__photo,
  body.team-page .team-member__scan,
  body.team-page .team-member__cyberLines span{
    transition:none !important;
    animation:none !important;
    transform:none !important;
  }
}

@media (max-width: 900px){
  body.team-page .team-modal__hero,
  body.team-page .team-modal__grid{
    grid-template-columns:1fr;
  }

  body.team-page .team-modal__photo{
    min-height:320px;
  }
}

@media (max-width: 760px){
  body.team-page .team-category__grid{
    grid-template-columns:repeat(2, minmax(0, 240px));
    justify-content:start;
  }
}

@media (max-width: 620px){
  body.team-page .team-hero{
    padding:34px 0 22px;
  }

  body.team-page .team-category__grid{
    grid-template-columns:1fr;
  }

  body.team-page .team-member__surface{
    min-height:300px;
  }

  body.team-page .team-member__card{
    min-height:300px;
  }

  body.team-page .team-modal{
    padding:12px;
  }

  body.team-page .team-modal__content{
    padding:20px;
  }

  body.team-page .team-modal__photo{
    min-height:280px;
  }
}

body.team-page .team-hero__frame,
body.team-page .team-hero__art{
  border-radius:12px;
}

/* =========================================================
 * Blog MFV - editorial premium
 * ========================================================= */
.content-card__metaRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px 16px;
  flex-wrap:wrap;
}

.content-card__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#6b7788;
}

.content-card__footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:auto;
  padding-top:8px;
}

.content-card__author{
  margin:0;
  color:#4b5a6d;
  font-size:.92rem;
  font-weight:700;
}

.content-card__cta{
  white-space:nowrap;
}

.content-card__cta::after{
  content:"\2192";
  margin-left:8px;
  font-size:1rem;
}

body.blog-archive-page,
body.blog-post-page{
  background:
    linear-gradient(180deg, #f6f7fa 0%, #ffffff 14%, #f8fafc 100%);
}

body.blog-archive-page .page-hero--blog{
  padding:clamp(40px, 5vw, 72px) 0 clamp(22px, 3vw, 34px);
}

body.blog-archive-page .blog-hero{
  grid-template-columns:minmax(0, 1.12fr) minmax(340px, .88fr);
  gap:clamp(24px, 3vw, 34px);
  align-items:stretch;
}

body.blog-archive-page .blog-hero__copy{
  align-content:start;
  gap:18px;
}

body.blog-archive-page .blog-hero__copy h1{
  margin:0;
  max-width:13ch;
  color:#0b2545;
  font-size:clamp(2.5rem, 5vw, 4.2rem);
  line-height:1.02;
  letter-spacing:-.03em;
}

body.blog-archive-page .blog-hero__copy p{
  max-width:60ch;
  color:#4d5968;
  font-size:1.04rem;
  line-height:1.82;
}

body.blog-archive-page .blog-hero__highlights{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

body.blog-archive-page .blog-hero__highlights span{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 16px;
  border-radius:14px;
  border:1px solid rgba(11,37,69,.1);
  background:rgba(255,255,255,.86);
  color:#1f3551;
  font-weight:700;
  box-shadow:0 12px 24px rgba(11,37,69,.04);
}

body.blog-archive-page .blog-searchPanel{
  display:grid;
  align-content:start;
  gap:14px;
  padding:clamp(22px, 3vw, 30px);
  border:1px solid rgba(11,37,69,.08);
  border-radius:30px;
  background:rgba(255,255,255,.94);
  box-shadow:0 28px 48px rgba(11,37,69,.06);
}

body.blog-archive-page .blog-searchPanel__eyebrow{
  margin:0;
  color:#7a8695;
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

body.blog-archive-page .blog-searchPanel h2{
  margin:0;
  color:#0b2545;
  font-size:clamp(1.45rem, 2.2vw, 1.85rem);
  line-height:1.18;
}

body.blog-archive-page .blog-searchPanel p{
  margin:0;
  color:#546273;
  line-height:1.72;
}

body.blog-archive-page .blog-search{
  display:grid;
  gap:12px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

body.blog-archive-page .blog-search__field input{
  min-height:58px;
  border-radius:18px;
  border:1px solid rgba(11,37,69,.12);
  background:#fdfefe;
  padding:0 18px;
  font-size:1rem;
}

body.blog-archive-page .blog-search__actions{
  justify-content:flex-start;
}

body.blog-archive-page .blog-search__submit{
  width:56px;
  min-width:56px;
  height:56px;
  border-radius:18px;
}

body.blog-archive-page .blog-search__clear{
  min-height:56px;
  padding:0 18px;
  border:1px solid rgba(11,37,69,.12);
  border-radius:18px;
  background:#fff;
  color:#0b2545;
  font:inherit;
  font-weight:700;
  cursor:pointer;
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.blog-archive-page .blog-search__clear:hover{
  transform:translateY(-1px);
  border-color:rgba(11,37,69,.24);
  box-shadow:0 14px 28px rgba(11,37,69,.08);
}

body.blog-archive-page .page-section--tight{
  padding-top:0;
}

body.blog-archive-page .blog-featured__head,
body.blog-archive-page .blog-results__head{
  margin-bottom:22px;
}

body.blog-archive-page .blog-featured__head h2,
body.blog-archive-page .blog-results__head h2{
  margin-top:10px;
  font-size:clamp(1.55rem, 2.6vw, 2.2rem);
}

body.blog-archive-page .blog-featured__head p,
body.blog-archive-page .blog-results__count{
  color:#5a6777;
}

body.blog-archive-page .blog-featured__navBtn{
  width:48px;
  height:48px;
  border:1px solid rgba(11,37,69,.12);
  border-radius:16px;
  background:#fff;
  color:#0b2545;
  font-size:1.15rem;
  cursor:pointer;
  box-shadow:0 12px 24px rgba(11,37,69,.06);
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.blog-archive-page .blog-featured__navBtn:hover:not(:disabled){
  transform:translateY(-1px);
  border-color:rgba(11,37,69,.22);
  box-shadow:0 18px 30px rgba(11,37,69,.09);
}

body.blog-archive-page .blog-featured__navBtn:disabled{
  opacity:.42;
  cursor:default;
  box-shadow:none;
}

body.blog-archive-page .blog-featured__layout{
  display:grid;
  grid-template-columns:minmax(0, 1.35fr) minmax(260px, .65fr);
  gap:22px;
  align-items:start;
}

body.blog-archive-page .blog-featured__stage{
  min-width:0;
}

body.blog-archive-page .blog-featured__track{
  gap:0;
  padding:0;
  scroll-snap-type:x mandatory;
  border-radius:34px;
}

body.blog-archive-page .blog-featured__track .content-card{
  flex:0 0 100%;
  min-width:100%;
  border:0;
  border-radius:34px;
  overflow:hidden;
  background:#0c1b2e;
  box-shadow:0 32px 56px rgba(11,37,69,.16);
}

body.blog-archive-page .content-card--featured{
  opacity:1;
  transform:none;
  animation:none;
}

body.blog-archive-page .content-card--featured .content-card__link{
  position:relative;
  min-height:clamp(380px, 42vw, 560px);
  overflow:hidden;
}

body.blog-archive-page .content-card--featured .content-card__media{
  position:absolute;
  inset:0;
  aspect-ratio:auto;
}

body.blog-archive-page .content-card--featured .content-card__media::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(8,17,31,.82) 0%, rgba(8,17,31,.58) 40%, rgba(8,17,31,.1) 78%),
    linear-gradient(180deg, rgba(8,17,31,.06) 0%, rgba(8,17,31,.54) 100%);
}

body.blog-archive-page .content-card--featured .content-card__img{
  width:100%;
  height:100%;
  object-fit:cover;
}

body.blog-archive-page .content-card--featured .content-card__body{
  position:relative;
  z-index:1;
  display:grid;
  align-content:end;
  min-height:clamp(380px, 42vw, 560px);
  padding:clamp(26px, 3.4vw, 42px);
  background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(7,16,27,.24) 40%, rgba(7,16,27,.82) 100%);
}

body.blog-archive-page .content-card--featured .content-card__eyebrow,
body.blog-archive-page .content-card--featured .content-card__meta,
body.blog-archive-page .content-card--featured .content-card__author,
body.blog-archive-page .content-card--featured .content-card__cta{
  color:rgba(255,255,255,.88);
}

body.blog-archive-page .content-card--featured .content-card__title{
  max-width:15ch;
  color:#fff;
  font-size:clamp(2rem, 4vw, 3.35rem);
  line-height:1.03;
  letter-spacing:-.03em;
}

body.blog-archive-page .content-card--featured .content-card__summary{
  max-width:58ch;
  color:rgba(255,255,255,.78);
  font-size:1rem;
  line-height:1.8;
  -webkit-line-clamp:3;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

body.blog-archive-page .content-card--featured .content-card__footer{
  justify-content:flex-start;
  gap:18px;
}

body.blog-archive-page .content-card--featured.is-current{
  transform:none;
  box-shadow:0 32px 56px rgba(11,37,69,.16);
}

body.blog-archive-page .blog-featured__rail{
  display:grid;
  gap:14px;
}

body.blog-archive-page .blog-railCard{
  appearance:none;
  width:100%;
  padding:18px 18px 20px;
  border:1px solid rgba(11,37,69,.08);
  border-radius:24px;
  background:rgba(255,255,255,.95);
  text-align:left;
  display:grid;
  gap:8px;
  cursor:pointer;
  box-shadow:0 18px 34px rgba(11,37,69,.05);
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.blog-archive-page .blog-railCard:hover{
  transform:translateY(-2px);
  border-color:rgba(11,37,69,.16);
  box-shadow:0 24px 40px rgba(11,37,69,.08);
}

body.blog-archive-page .blog-railCard.is-current{
  border-color:rgba(11,37,69,.24);
  background:linear-gradient(180deg, rgba(11,37,69,.06), rgba(255,255,255,.95));
}

body.blog-archive-page .blog-railCard__eyebrow,
body.blog-archive-page .blog-sidebar__eyebrow,
body.blog-archive-page .blog-brief__eyebrow{
  color:#7f8792;
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

body.blog-archive-page .blog-railCard__title,
body.blog-archive-page .blog-sidebar__title,
body.blog-archive-page .blog-brief__title{
  color:#0b2545;
  font-size:1rem;
  line-height:1.35;
}

body.blog-archive-page .blog-railCard__meta,
body.blog-archive-page .blog-sidebar__meta,
body.blog-archive-page .blog-brief__meta{
  color:#667487;
  font-size:.9rem;
}

body.blog-archive-page .blog-featured__briefs{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:16px;
  margin-top:18px;
}

body.blog-archive-page .blog-brief{
  display:grid;
  grid-template-columns:92px minmax(0, 1fr);
  gap:14px;
  align-items:center;
  padding:12px;
  border:1px solid rgba(11,37,69,.08);
  border-radius:22px;
  background:rgba(255,255,255,.94);
  text-decoration:none;
  color:inherit;
  box-shadow:0 16px 30px rgba(11,37,69,.05);
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.blog-archive-page .blog-brief:hover{
  transform:translateY(-2px);
  border-color:rgba(11,37,69,.18);
  box-shadow:0 20px 34px rgba(11,37,69,.08);
}

body.blog-archive-page .blog-brief__media{
  aspect-ratio:1 / 1;
  border-radius:16px;
  overflow:hidden;
  background:#dfe5ec;
}

body.blog-archive-page .blog-brief__img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

body.blog-archive-page .blog-brief__body{
  display:grid;
  gap:6px;
}

body.blog-archive-page .blog-resultsLayout{
  display:grid;
  grid-template-columns:minmax(0, 1.42fr) minmax(290px, .58fr);
  gap:28px;
  align-items:start;
}

body.blog-archive-page .blog-resultsMain{
  min-width:0;
}

body.blog-archive-page .content-grid{
  gap:22px;
}

body.blog-archive-page .content-card{
  border:1px solid rgba(11,37,69,.08);
  border-radius:28px;
  background:rgba(255,255,255,.96);
  box-shadow:0 18px 34px rgba(11,37,69,.06);
}

body.blog-archive-page .content-card__link{
  min-height:100%;
}

body.blog-archive-page .content-card__media{
  background:#dbe3eb;
}

body.blog-archive-page .content-card__body{
  gap:10px;
  padding:20px 20px 22px;
}

body.blog-archive-page .content-card__title{
  font-size:1.18rem;
  line-height:1.26;
}

body.blog-archive-page .content-card__summary{
  color:#435160;
  line-height:1.72;
  -webkit-line-clamp:4;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

body.blog-archive-page .blog-sidebar{
  position:sticky;
  top:108px;
  display:grid;
  gap:18px;
}

body.blog-archive-page .blog-sidebar__panel{
  padding:22px;
  border:1px solid rgba(11,37,69,.08);
  border-radius:28px;
  background:rgba(255,255,255,.96);
  box-shadow:0 18px 34px rgba(11,37,69,.05);
}

body.blog-archive-page .blog-sidebar__panel--note{
  background:linear-gradient(180deg, rgba(11,37,69,.05), rgba(255,255,255,.96));
}

body.blog-archive-page .blog-sidebar__heading{
  display:grid;
  gap:10px;
  margin-bottom:8px;
}

body.blog-archive-page .blog-sidebar__heading h3,
body.blog-post-page .content-sidebar__panel h2{
  margin:0;
  color:#0b2545;
  font-size:1.2rem;
}

body.blog-archive-page .blog-sidebar__panel p{
  margin:12px 0 0;
  color:#556476;
  line-height:1.72;
}

body.blog-archive-page .blog-sidebar__list,
body.blog-post-page .content-sidebar__links{
  display:grid;
}

body.blog-archive-page .blog-sidebar__link,
body.blog-post-page .content-sidebar__link{
  display:grid;
  gap:6px;
  text-decoration:none;
  color:inherit;
  padding:14px 0;
  border-top:1px solid rgba(11,37,69,.08);
}

body.blog-archive-page .blog-sidebar__list .blog-sidebar__link:first-child,
body.blog-post-page .content-sidebar__links .content-sidebar__link:first-child{
  padding-top:6px;
  border-top:0;
}

body.blog-archive-page .blog-sidebar__link strong,
body.blog-post-page .content-sidebar__link strong{
  color:#10294b;
  line-height:1.45;
}

body.blog-archive-page .content-pagination{
  margin-top:34px;
}

body.blog-post-page .page-section{
  padding:clamp(32px, 5vw, 64px) 0;
}

body.blog-post-page .content-article{
  max-width:min(1260px, 92vw);
}

body.blog-post-page .content-breadcrumb{
  margin-bottom:18px;
}

body.blog-post-page .content-head{
  display:grid;
  grid-template-columns:minmax(0, 1.06fr) minmax(320px, .94fr);
  align-items:stretch;
  border-radius:34px;
  border:1px solid rgba(11,37,69,.08);
  background:#fff;
  overflow:hidden;
  box-shadow:0 22px 42px rgba(11,37,69,.07);
}

body.blog-post-page .content-cover{
  min-height:100%;
  background:#dbe3eb;
}

body.blog-post-page .content-cover__img{
  width:100%;
  height:100%;
  min-height:clamp(320px, 40vw, 520px);
  aspect-ratio:auto;
  object-fit:cover;
}

body.blog-post-page .content-head__body{
  display:grid;
  align-content:center;
  gap:14px;
  padding:clamp(24px, 3vw, 38px);
}

body.blog-post-page .content-head__meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 16px;
  align-items:center;
}

body.blog-post-page .content-head__meta .content-date,
body.blog-post-page .content-head__meta .content-author{
  margin:0;
  color:#5a6777;
  font-weight:700;
  font-size:.96rem;
}

body.blog-post-page .content-title{
  margin:0;
  font-size:clamp(2rem, 4vw, 3.2rem);
  line-height:1.04;
  letter-spacing:-.03em;
}

body.blog-post-page .content-subtitle,
body.blog-post-page .content-summary{
  margin:0;
  color:#536272;
  line-height:1.78;
}

body.blog-post-page .content-postLayout{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 300px;
  gap:24px;
  align-items:start;
  margin-top:22px;
}

body.blog-post-page .content-body{
  margin-top:0;
  border-radius:30px;
  border:1px solid rgba(11,37,69,.08);
  padding:clamp(22px, 3vw, 34px);
  box-shadow:0 18px 34px rgba(11,37,69,.05);
}

body.blog-post-page .content-body h2,
body.blog-post-page .content-body h3{
  margin-top:24px;
  margin-bottom:12px;
}

body.blog-post-page .content-body p,
body.blog-post-page .content-body li{
  color:#2f3a48;
  line-height:1.9;
}

body.blog-post-page .content-sidebar{
  position:sticky;
  top:108px;
  display:grid;
  gap:18px;
}

body.blog-post-page .content-sidebar__panel{
  padding:22px;
  border:1px solid rgba(11,37,69,.08);
  border-radius:28px;
  background:rgba(255,255,255,.96);
  box-shadow:0 18px 34px rgba(11,37,69,.05);
}

body.blog-post-page .content-facts{
  list-style:none;
  padding:0;
  margin:18px 0 0;
  display:grid;
  gap:14px;
}

body.blog-post-page .content-facts li{
  display:grid;
  gap:4px;
}

body.blog-post-page .content-facts strong{
  color:#0b2545;
  font-size:.85rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}

body.blog-post-page .content-facts span,
body.blog-post-page .content-sidebar__meta{
  color:#607083;
}

body.blog-post-page .content-sidebar__back{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:18px;
  color:#0b2545;
  font-weight:800;
  text-decoration:none;
}

body.blog-post-page .content-sidebar__back::after{
  content:"\2192";
}

@media (max-width: 1180px){
  body.blog-archive-page .blog-featured__briefs{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  body.blog-archive-page .blog-resultsLayout{
    grid-template-columns:1fr;
  }

  body.blog-archive-page .blog-sidebar{
    position:static;
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }

  body.blog-post-page .content-postLayout{
    grid-template-columns:1fr;
  }

  body.blog-post-page .content-sidebar{
    position:static;
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px){
  body.blog-archive-page .blog-hero,
  body.blog-archive-page .blog-featured__layout,
  body.blog-post-page .content-head{
    grid-template-columns:1fr;
  }

  body.blog-archive-page .content-card--featured .content-card__link,
  body.blog-archive-page .content-card--featured .content-card__body{
    min-height:420px;
  }
}

@media (max-width: 760px){
  body.blog-archive-page .blog-featured__actions{
    width:100%;
    justify-content:space-between;
  }

  body.blog-archive-page .blog-featured__briefs,
  body.blog-archive-page .blog-sidebar,
  body.blog-post-page .content-sidebar{
    grid-template-columns:1fr;
  }

  body.blog-archive-page .blog-brief{
    grid-template-columns:76px minmax(0, 1fr);
  }

  body.blog-archive-page .content-card--featured .content-card__body{
    padding:24px 22px;
  }

  body.blog-archive-page .content-card--featured .content-card__title{
    max-width:11ch;
    font-size:clamp(1.7rem, 8vw, 2.45rem);
  }

  body.blog-archive-page .blog-search__actions{
    width:100%;
  }

  body.blog-archive-page .blog-search__submit,
  body.blog-archive-page .blog-search__clear{
    width:100%;
    justify-content:center;
  }
}

/* =========================================================
 * Blog MFV - premium motion refinement (GSAP + Lenis)
 * ========================================================= */
html.lenis,
html.lenis body{
  height:auto;
}

.lenis.lenis-smooth{
  scroll-behavior:auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent]{
  overscroll-behavior:contain;
}

.lenis.lenis-stopped{
  overflow:hidden;
}

body.blog-archive-page,
body.blog-post-page{
  --blog-ink:#081d35;
  --blog-ink-soft:#173554;
  --blog-paper:#f4f2ed;
  --blog-line:rgba(8,29,53,.12);
  --blog-gold:#c6a04a;
  background:#f8f9fa;
}

.blog-scroll-progress{
  position:fixed;
  z-index:2001;
  top:64px;
  left:0;
  width:100%;
  height:3px;
  pointer-events:none;
  transform:scaleX(0);
  transform-origin:left center;
  background:linear-gradient(90deg, #a97f29, #e5cb78);
}

body.blog-archive-page .page-wrap,
body.blog-post-page .page-wrap{
  width:min(1220px, 92%);
}

body.blog-archive-page .content-kicker,
body.blog-post-page .content-kicker{
  display:inline-flex;
  width:max-content;
  min-height:0;
  padding:0 0 9px;
  border:0;
  border-bottom:2px solid var(--blog-gold);
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:var(--blog-ink);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}

body.blog-archive-page .page-hero--blog{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:clamp(58px, 7vw, 92px) 0 clamp(62px, 7vw, 96px);
  border-bottom:1px solid rgba(8,29,53,.08);
  background:
    radial-gradient(circle at 82% 12%, rgba(198,160,74,.13), transparent 28%),
    linear-gradient(135deg, #f7f5ef 0%, #fbfcfd 52%, #edf2f5 100%);
}

body.blog-archive-page .page-hero--blog::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  opacity:.36;
  background-image:
    linear-gradient(rgba(8,29,53,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,29,53,.035) 1px, transparent 1px);
  background-size:58px 58px;
  mask-image:linear-gradient(90deg, transparent, #000 46%, #000 100%);
}

body.blog-archive-page .blog-hero{
  grid-template-columns:minmax(0, 1.12fr) minmax(360px, .78fr);
  gap:clamp(42px, 6vw, 82px);
  align-items:center;
}

body.blog-archive-page .blog-hero__copy{
  gap:20px;
}

body.blog-archive-page .blog-hero__copy h1{
  max-width:15ch;
  color:var(--blog-ink);
  font-size:clamp(2.7rem, 4.7vw, 3.85rem);
  font-weight:760;
  line-height:1.02;
  letter-spacing:-.045em;
  text-wrap:balance;
}

body.blog-archive-page .blog-hero__copy p{
  max-width:58ch;
  color:#465567;
  font-size:1.02rem;
  line-height:1.8;
}

body.blog-archive-page .blog-hero__highlights{
  gap:10px 0;
  margin-top:4px;
}

body.blog-archive-page .blog-hero__highlights span{
  position:relative;
  min-height:0;
  padding:0 18px 0 13px;
  border:0;
  border-right:1px solid rgba(8,29,53,.15);
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:#29415d;
  font-size:.82rem;
  font-weight:750;
}

body.blog-archive-page .blog-hero__highlights span::before{
  content:"";
  position:absolute;
  top:50%;
  left:0;
  width:5px;
  height:5px;
  transform:translateY(-50%);
  border-radius:50%;
  background:var(--blog-gold);
}

body.blog-archive-page .blog-hero__highlights span:last-child{
  border-right:0;
}

body.blog-archive-page .blog-searchPanel{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  gap:15px;
  padding:clamp(28px, 3.4vw, 40px);
  border:1px solid rgba(255,255,255,.09);
  border-radius:16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(198,160,74,.18), transparent 34%),
    linear-gradient(145deg, #0b2747 0%, #071a30 100%);
  box-shadow:0 32px 70px rgba(8,29,53,.2);
}

body.blog-archive-page .blog-searchPanel::after{
  content:"MFV";
  position:absolute;
  z-index:-1;
  right:-12px;
  bottom:-30px;
  color:rgba(255,255,255,.035);
  font-size:8rem;
  font-weight:900;
  letter-spacing:-.08em;
  line-height:1;
}

body.blog-archive-page .blog-searchPanel__eyebrow{
  color:#e1c66f;
  font-size:.72rem;
  letter-spacing:.16em;
}

body.blog-archive-page .blog-searchPanel h2{
  max-width:17ch;
  color:#fff;
  font-size:clamp(1.55rem, 2.2vw, 2rem);
  line-height:1.16;
  letter-spacing:-.025em;
}

body.blog-archive-page .blog-searchPanel > p:not(.blog-searchPanel__eyebrow){
  color:rgba(255,255,255,.68);
  line-height:1.7;
}

body.blog-archive-page .blog-search{
  margin-top:5px;
}

body.blog-archive-page .blog-search__field input{
  min-height:56px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:10px;
  outline:0;
  background:rgba(255,255,255,.98);
  color:var(--blog-ink);
  box-shadow:0 14px 30px rgba(0,0,0,.12);
  transition:border-color .2s ease, box-shadow .2s ease;
}

body.blog-archive-page .blog-search__field input:focus{
  border-color:#dfc36f;
  box-shadow:0 0 0 4px rgba(223,195,111,.15), 0 16px 32px rgba(0,0,0,.16);
}

body.blog-archive-page .blog-search__actions{
  display:flex;
  align-items:center;
  gap:10px;
}

body.blog-archive-page .blog-search__submit{
  width:52px;
  min-width:52px;
  height:48px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:8px;
  background:var(--blog-gold);
  color:#081d35;
  box-shadow:none;
}

body.blog-archive-page .blog-search__submit:hover{
  background:#dfc36f;
  transform:translateY(-1px);
}

body.blog-archive-page .blog-search__clear{
  min-height:48px;
  padding:0 16px;
  border-color:rgba(255,255,255,.18);
  border-radius:8px;
  background:transparent;
  color:#fff;
  box-shadow:none;
}

body.blog-archive-page .blog-search__clear:hover{
  border-color:rgba(255,255,255,.42);
  box-shadow:none;
}

body.blog-archive-page .page-section--tight{
  padding:clamp(58px, 7vw, 88px) 0;
  background:#fff;
}

body.blog-archive-page .blog-featured__head,
body.blog-archive-page .blog-results__head{
  align-items:end;
  margin-bottom:28px;
  padding-bottom:20px;
  border-bottom:1px solid var(--blog-line);
}

body.blog-archive-page .blog-featured__head h2,
body.blog-archive-page .blog-results__head h2{
  margin-top:12px;
  color:var(--blog-ink);
  font-size:clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing:-.035em;
}

body.blog-archive-page .blog-featured__head p{
  max-width:64ch;
  line-height:1.7;
}

body.blog-archive-page .blog-featured__navBtn{
  width:44px;
  height:44px;
  border-color:var(--blog-line);
  border-radius:8px;
  box-shadow:none;
}

body.blog-archive-page .blog-featured__navBtn:hover:not(:disabled){
  border-color:var(--blog-ink);
  background:var(--blog-ink);
  color:#fff;
  box-shadow:none;
}

body.blog-archive-page .blog-featured__layout{
  grid-template-columns:minmax(0, 1.5fr) minmax(260px, .5fr);
  gap:18px;
}

body.blog-archive-page .blog-featured__track,
body.blog-archive-page .blog-featured__track .content-card{
  border-radius:16px;
}

body.blog-archive-page .blog-featured__track .content-card{
  box-shadow:0 24px 54px rgba(8,29,53,.15);
}

body.blog-archive-page .content-card--featured .content-card__link,
body.blog-archive-page .content-card--featured .content-card__body{
  min-height:clamp(400px, 40vw, 510px);
}

body.blog-archive-page .content-card--featured .content-card__body{
  padding:clamp(28px, 4vw, 44px);
}

body.blog-archive-page .content-card--featured .content-card__media::after{
  background:
    linear-gradient(90deg, rgba(4,16,29,.86) 0%, rgba(4,16,29,.56) 52%, rgba(4,16,29,.12) 100%),
    linear-gradient(180deg, rgba(4,16,29,.02) 10%, rgba(4,16,29,.72) 100%);
}

body.blog-archive-page .content-card--featured .content-card__title{
  max-width:17ch;
  font-size:clamp(2rem, 3.5vw, 3rem);
}

body.blog-archive-page .content-card--featured .content-card__footer{
  padding-top:14px;
}

body.blog-archive-page .blog-featured__rail{
  gap:10px;
}

body.blog-archive-page .blog-railCard{
  position:relative;
  gap:7px;
  min-height:112px;
  padding:17px 18px 17px 21px;
  border-color:var(--blog-line);
  border-radius:10px;
  background:#fbfcfd;
  box-shadow:none;
  overflow:hidden;
}

body.blog-archive-page .blog-railCard::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:3px;
  transform:scaleY(0);
  transform-origin:center bottom;
  background:var(--blog-gold);
  transition:transform .28s ease;
}

body.blog-archive-page .blog-railCard:hover,
body.blog-archive-page .blog-railCard.is-current{
  transform:none;
  border-color:rgba(8,29,53,.2);
  background:#fff;
  box-shadow:0 14px 30px rgba(8,29,53,.07);
}

body.blog-archive-page .blog-railCard.is-current::before{
  transform:scaleY(1);
}

body.blog-archive-page .blog-featured__briefs{
  gap:12px;
  margin-top:18px;
}

body.blog-archive-page .blog-brief{
  grid-template-columns:78px minmax(0, 1fr);
  gap:12px;
  padding:10px;
  border-color:var(--blog-line);
  border-radius:10px;
  box-shadow:none;
  transform-style:preserve-3d;
}

body.blog-archive-page .blog-brief:hover{
  border-color:rgba(8,29,53,.22);
  box-shadow:0 16px 32px rgba(8,29,53,.08);
}

body.blog-archive-page .blog-brief__media{
  border-radius:7px;
}

body.blog-archive-page main.page > .page-section:last-child{
  padding:clamp(62px, 7vw, 92px) 0;
  border-top:1px solid rgba(8,29,53,.08);
  background:var(--blog-paper);
}

body.blog-archive-page .blog-resultsLayout{
  grid-template-columns:minmax(0, 1.48fr) minmax(290px, .52fr);
  gap:38px;
}

body.blog-archive-page .content-grid{
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:20px;
}

body.blog-archive-page .content-card{
  overflow:hidden;
  border-color:var(--blog-line);
  border-radius:12px;
  background:#fff;
  box-shadow:none;
  transform-style:preserve-3d;
  transition:border-color .25s ease, box-shadow .25s ease;
}

body.blog-archive-page .content-card:hover{
  border-color:rgba(8,29,53,.23);
  box-shadow:0 20px 42px rgba(8,29,53,.09);
}

body.blog-archive-page .content-card__media{
  aspect-ratio:16 / 9;
  overflow:hidden;
}

body.blog-archive-page .content-card__img{
  will-change:transform;
}

body.blog-archive-page .content-card__body{
  gap:12px;
  padding:20px 20px 22px;
}

body.blog-archive-page .content-card__title{
  color:var(--blog-ink);
  font-size:1.16rem;
  letter-spacing:-.018em;
}

body.blog-archive-page .content-card__summary{
  color:#4a5868;
  font-size:.94rem;
  line-height:1.68;
}

body.blog-archive-page .content-card__footer{
  margin-top:auto;
  padding-top:9px;
  border-top:1px solid rgba(8,29,53,.08);
}

body.blog-archive-page .content-card__cta{
  color:var(--blog-ink);
  font-size:.84rem;
  letter-spacing:.02em;
  text-transform:uppercase;
}

body.blog-archive-page .blog-sidebar{
  top:104px;
  gap:14px;
}

body.blog-archive-page .blog-sidebar__panel{
  padding:21px;
  border-color:var(--blog-line);
  border-radius:12px;
  background:rgba(255,255,255,.84);
  box-shadow:none;
}

body.blog-archive-page .blog-sidebar__panel--note{
  border-color:transparent;
  background:linear-gradient(145deg, #0b2747, #071a30);
}

body.blog-archive-page .blog-sidebar__panel--note .content-kicker{
  border-bottom-color:#dfc36f;
  color:#dfc36f;
}

body.blog-archive-page .blog-sidebar__panel--note h3{
  color:#fff;
}

body.blog-archive-page .blog-sidebar__panel--note p{
  color:rgba(255,255,255,.68);
}

body.blog-archive-page .content-pagination__btn{
  min-width:42px;
  min-height:42px;
  border-radius:7px;
  box-shadow:none;
}

body.blog-post-page{
  background:
    linear-gradient(180deg, #f4f2ed 0%, #f9fafb 28%, #f6f7f8 100%);
}

body.blog-post-page .page-section{
  padding:clamp(54px, 7vw, 86px) 0;
}

body.blog-post-page .content-breadcrumb a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 0 5px;
  border-bottom:1px solid rgba(8,29,53,.32);
  color:var(--blog-ink);
  font-size:.9rem;
  font-weight:750;
}

body.blog-post-page .content-head{
  border-color:var(--blog-line);
  border-radius:16px;
  box-shadow:0 24px 54px rgba(8,29,53,.08);
}

body.blog-post-page .content-head__body{
  padding:clamp(28px, 4vw, 46px);
}

body.blog-post-page .content-title{
  color:var(--blog-ink);
  font-size:clamp(2.1rem, 4vw, 3.35rem);
  text-wrap:balance;
}

body.blog-post-page .content-postLayout{
  gap:28px;
  margin-top:28px;
}

body.blog-post-page .content-body,
body.blog-post-page .content-sidebar__panel{
  border-color:var(--blog-line);
  border-radius:12px;
  background:#fff;
  box-shadow:none;
}

body.blog-post-page .content-body{
  padding:clamp(26px, 4vw, 46px);
}

body.blog-post-page .content-body p,
body.blog-post-page .content-body li{
  color:#324152;
  font-size:1.02rem;
  line-height:1.92;
}

body.blog-post-page .content-sidebar__panel{
  padding:21px;
}

.blog-motion-ready [data-blog-motion-bound="true"]{
  will-change:transform, opacity;
}

@media (max-width: 1180px){
  body.blog-archive-page .blog-resultsLayout{
    gap:28px;
  }

  body.blog-archive-page .blog-sidebar{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px){
  body.blog-archive-page .blog-hero{
    grid-template-columns:1fr;
    gap:34px;
  }

  body.blog-archive-page .blog-hero__copy h1{
    max-width:17ch;
  }

  body.blog-archive-page .blog-searchPanel{
    width:min(680px, 100%);
  }

  body.blog-archive-page .blog-featured__layout,
  body.blog-archive-page .blog-resultsLayout,
  body.blog-post-page .content-head{
    grid-template-columns:1fr;
  }

  body.blog-archive-page .blog-sidebar{
    position:static;
  }

  body.blog-post-page .content-cover__img{
    min-height:360px;
    max-height:520px;
  }
}

@media (max-width: 760px){
  .blog-scroll-progress{
    top:64px;
    height:2px;
  }

  body.blog-archive-page .page-wrap,
  body.blog-post-page .page-wrap{
    width:min(100% - 34px, 1220px);
  }

  body.blog-archive-page .page-hero--blog{
    padding:46px 0 54px;
  }

  body.blog-archive-page .page-hero--blog::before{
    background-size:42px 42px;
  }

  body.blog-archive-page .blog-hero__copy{
    gap:16px;
  }

  body.blog-archive-page .blog-hero__copy h1{
    max-width:15ch;
    font-size:clamp(2.25rem, 11vw, 3.05rem);
    line-height:1.04;
  }

  body.blog-archive-page .blog-hero__copy p{
    font-size:.96rem;
    line-height:1.72;
  }

  body.blog-archive-page .blog-hero__highlights{
    display:grid;
    gap:8px;
  }

  body.blog-archive-page .blog-hero__highlights span{
    padding:0 0 0 13px;
    border-right:0;
  }

  body.blog-archive-page .blog-searchPanel{
    padding:24px 20px;
    border-radius:12px;
  }

  body.blog-archive-page .blog-searchPanel::after{
    font-size:6rem;
  }

  body.blog-archive-page .blog-search__actions{
    width:auto;
  }

  body.blog-archive-page .blog-search__submit{
    width:50px;
    min-width:50px;
  }

  body.blog-archive-page .blog-search__clear{
    width:auto;
  }

  body.blog-archive-page .page-section--tight,
  body.blog-archive-page main.page > .page-section:last-child{
    padding:48px 0;
  }

  body.blog-archive-page .blog-featured__head,
  body.blog-archive-page .blog-results__head{
    align-items:flex-start;
    gap:18px;
  }

  body.blog-archive-page .blog-featured__head p{
    font-size:.94rem;
  }

  body.blog-archive-page .blog-featured__actions{
    width:auto;
  }

  body.blog-archive-page .blog-featured__track,
  body.blog-archive-page .blog-featured__track .content-card{
    border-radius:12px;
  }

  body.blog-archive-page .content-card--featured .content-card__link,
  body.blog-archive-page .content-card--featured .content-card__body{
    min-height:410px;
  }

  body.blog-archive-page .content-card--featured .content-card__body{
    padding:24px 20px;
  }

  body.blog-archive-page .content-card--featured .content-card__title{
    max-width:15ch;
    font-size:clamp(1.75rem, 8.5vw, 2.4rem);
  }

  body.blog-archive-page .content-card--featured .content-card__summary{
    -webkit-line-clamp:2;
    line-height:1.6;
  }

  body.blog-archive-page .blog-featured__rail{
    display:flex;
    gap:10px;
    overflow-x:auto;
    padding:2px 1px 10px;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }

  body.blog-archive-page .blog-featured__rail::-webkit-scrollbar{
    display:none;
  }

  body.blog-archive-page .blog-railCard{
    flex:0 0 82%;
    min-height:106px;
    scroll-snap-align:start;
  }

  body.blog-archive-page .blog-featured__briefs,
  body.blog-archive-page .content-grid,
  body.blog-archive-page .blog-sidebar,
  body.blog-post-page .content-sidebar{
    grid-template-columns:1fr;
  }

  body.blog-archive-page .blog-featured__briefs{
    margin-top:12px;
  }

  body.blog-archive-page .blog-brief{
    grid-template-columns:74px minmax(0, 1fr);
  }

  body.blog-archive-page .blog-resultsLayout{
    gap:32px;
  }

  body.blog-post-page .page-section{
    padding:46px 0;
  }

  body.blog-post-page .content-head{
    border-radius:12px;
  }

  body.blog-post-page .content-cover__img{
    min-height:240px;
    max-height:340px;
  }

  body.blog-post-page .content-head__body{
    padding:24px 20px 28px;
  }

  body.blog-post-page .content-title{
    font-size:clamp(1.9rem, 9.5vw, 2.65rem);
  }

  body.blog-post-page .content-body{
    padding:24px 20px;
  }

  body.blog-post-page .content-body p,
  body.blog-post-page .content-body li{
    font-size:.98rem;
    line-height:1.82;
  }
}

@media (prefers-reduced-motion: reduce){
  .blog-scroll-progress{
    display:none;
  }

  body.blog-archive-page .content-card,
  body.blog-archive-page .blog-brief,
  body.blog-archive-page .blog-railCard{
    transform:none !important;
    transition:none !important;
  }
}

/*
 * Blog MFV - darker editorial entrance
 * Keeps the approved archive structure while making the first viewport quieter.
 */
body.blog-archive-page .page-hero--blog{
  min-height:min(690px, calc(100vh - 78px));
  display:flex;
  align-items:center;
  padding:clamp(84px, 9vw, 128px) 0 clamp(72px, 8vw, 104px);
  border-bottom:0;
  border-radius:0;
  border-bottom-left-radius:0;
  border-bottom-right-radius:0;
  background:
    linear-gradient(90deg, rgba(4, 15, 28, .96) 0%, rgba(5, 20, 37, .88) 38%, rgba(5, 20, 37, .48) 68%, rgba(5, 20, 37, .7) 100%),
    linear-gradient(180deg, rgba(4, 15, 28, .12) 0%, rgba(4, 15, 28, .82) 100%),
    url("../imagens/DSC_equipe.jpg") center 42% / cover no-repeat;
  color:#fff;
}

body.blog-archive-page .page-hero--blog::before{
  opacity:1;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:linear-gradient(90deg, #000 0%, rgba(0,0,0,.68) 54%, transparent 100%);
}

body.blog-archive-page .blog-hero{
  grid-template-columns:minmax(0, .92fr) minmax(320px, 420px);
  gap:clamp(32px, 6vw, 76px);
  align-items:end;
}

body.blog-archive-page .blog-hero__copy{
  gap:16px;
}

body.blog-archive-page .blog-hero__copy h1{
  max-width:13.2ch;
  color:#fff;
  font-size:clamp(2.55rem, 5vw, 4.4rem);
  letter-spacing:-.035em;
  text-shadow:0 20px 54px rgba(0,0,0,.42);
}

body.blog-archive-page .blog-hero__copy p{
  max-width:46ch;
  color:rgba(255,255,255,.78);
  font-size:1rem;
  line-height:1.72;
}

body.blog-archive-page .page-hero--blog .content-kicker{
  color:#e8cc7b;
}

body.blog-archive-page .blog-hero__highlights{
  display:none;
}

body.blog-archive-page .blog-searchPanel{
  gap:14px;
  align-self:end;
  padding:24px;
  border-color:rgba(255,255,255,.14);
  border-radius:12px;
  background:rgba(6, 24, 43, .76);
  box-shadow:0 28px 68px rgba(0,0,0,.34);
  backdrop-filter:blur(14px);
}

body.blog-archive-page .blog-searchPanel::after{
  display:none;
}

body.blog-archive-page .blog-searchPanel__eyebrow,
body.blog-archive-page .blog-searchPanel > p:not(.blog-searchPanel__eyebrow){
  display:none;
}

body.blog-archive-page .blog-searchPanel h2{
  max-width:24ch;
  color:#fff;
  font-size:clamp(1.15rem, 1.7vw, 1.45rem);
  line-height:1.28;
  letter-spacing:-.015em;
}

body.blog-archive-page .blog-search{
  margin-top:2px;
}

body.blog-archive-page .blog-search__field input{
  min-height:54px;
  border-color:rgba(255,255,255,.2);
  background:rgba(255,255,255,.96);
}

@media (max-width: 900px){
  body.blog-archive-page .page-hero--blog{
    min-height:auto;
    padding:76px 0 64px;
    background:
      linear-gradient(180deg, rgba(4, 15, 28, .94) 0%, rgba(5, 20, 37, .78) 54%, rgba(5, 20, 37, .96) 100%),
      url("../imagens/DSC_equipe.jpg") 58% 34% / cover no-repeat;
  }

  body.blog-archive-page .page-hero--blog::before{
    mask-image:linear-gradient(180deg, #000 0%, rgba(0,0,0,.32) 64%, transparent 100%);
  }

  body.blog-archive-page .blog-hero{
    grid-template-columns:1fr;
    align-items:start;
    gap:28px;
  }

  body.blog-archive-page .blog-hero__copy h1{
    max-width:11.8ch;
    font-size:clamp(2.35rem, 11vw, 3.2rem);
  }

  body.blog-archive-page .blog-hero__copy p{
    max-width:34rem;
    font-size:.98rem;
  }

  body.blog-archive-page .blog-searchPanel{
    width:100%;
    max-width:480px;
    padding:20px;
  }
}

@media (max-width: 560px){
  body.blog-archive-page .page-hero--blog{
    padding:62px 0 52px;
    background-position:60% 24%;
  }

  body.blog-archive-page .blog-hero__copy{
    gap:12px;
  }

  body.blog-archive-page .blog-hero__copy h1{
    max-width:12.5ch;
    font-size:2.45rem;
    line-height:1.04;
  }

  body.blog-archive-page .blog-hero__copy p{
    display:-webkit-box;
    overflow:hidden;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
  }

  body.blog-archive-page .blog-searchPanel{
    border-radius:10px;
    padding:18px;
  }
}

/* Equipe MFV - proporcoes mais compactas no mobile */
body.team-page .team-category__hint{
  display:none;
}

@media (max-width: 620px){
  body.team-page .team-hero{
    padding:24px 0 20px;
  }

  body.team-page .team-hero__wrap{
    gap:24px;
  }

  body.team-page .team-hero__copy{
    gap:10px;
  }

  body.team-page .team-hero__copy h1{
    max-width:100%;
    font-size:1.8rem;
    line-height:1.08;
    letter-spacing:-.02em;
  }

  body.team-page .team-hero__copy p{
    max-width:38ch;
    font-size:.92rem;
    line-height:1.58;
  }

  body.team-page .team-hero__visual{
    width:min(100%, 280px);
    min-height:280px;
  }

  body.team-page .team-hero__frame--primary{
    inset:0 16px 40px 0;
  }

  body.team-page .team-hero__frame--secondary{
    width:min(54%, 170px);
  }

  body.team-page .page-section--team{
    padding-top:14px;
  }

  body.team-page .team-directory{
    gap:34px;
  }

  body.team-page .team-category__head{
    margin-bottom:14px;
    display:grid;
    gap:9px;
  }

  body.team-page .team-category__head h3{
    font-size:1.3rem;
  }

  body.team-page .team-category__head p{
    max-width:36ch;
    font-size:.88rem;
    line-height:1.55;
  }

  body.team-page .team-category__hint{
    display:inline-flex;
    align-items:center;
    width:max-content;
    color:rgba(242,216,146,.82);
    font-size:.7rem;
    font-weight:700;
    letter-spacing:.06em;
    text-transform:uppercase;
  }

  body.team-page .team-category__grid{
    display:grid;
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:clamp(238px, 72vw, 276px);
    justify-content:start;
    justify-items:stretch;
    gap:14px;
    width:calc(100% + 16px);
    margin-right:-16px;
    padding:2px 16px 12px 0;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scroll-padding-inline:0 16px;
    overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    touch-action:pan-x pan-y;
  }

  body.team-page .team-category__grid::-webkit-scrollbar{
    display:none;
  }

  body.team-page .team-member{
    width:100%;
    scroll-snap-align:start;
    scroll-snap-stop:always;
  }

  body.team-page .team-member__surface,
  body.team-page .team-member__card{
    min-height:0;
  }

  body.team-page .team-member__body{
    padding:12px 13px 13px;
  }

  body.team-page .team-member__name{
    font-size:.94rem;
  }

  body.team-page .team-member__role{
    font-size:.64rem;
    line-height:1.35;
  }

  body.team-page .team-modal{
    padding:10px;
  }

  body.team-page .team-modal__dialog{
    max-height:calc(100svh - 20px);
  }

  body.team-page .team-modal__content{
    gap:18px;
    padding:16px;
  }

  body.team-page .team-modal__hero{
    gap:16px;
  }

  body.team-page .team-modal__photo{
    min-height:230px;
    max-height:300px;
  }

  body.team-page .team-modal__meta h2{
    font-size:1.75rem;
  }
}

/* Menu publico - alinhamento consistente no mobile */
@media (max-width: 991px){
  body:not(.admin-app):not(.admin-login-page) .menuMob{
    justify-content:flex-start;
    text-align:left;
  }

  body:not(.admin-app):not(.admin-login-page) .menu--mob{
    align-items:stretch;
    justify-content:flex-start;
  }

  body:not(.admin-app):not(.admin-login-page) .menu--mob > li{
    width:100%;
    margin:0;
    text-align:left;
  }

  body:not(.admin-app):not(.admin-login-page) .menu--mob > li > a:not(.btn-cta):not(.menu-login){
    display:flex;
    align-items:center;
    justify-content:flex-start;
    width:100%;
    text-align:left;
  }

  body:not(.admin-app):not(.admin-login-page) .menu--mob .menu-link{
    justify-content:flex-start;
    gap:9px;
  }

  body:not(.admin-app):not(.admin-login-page) .menu--mob .menu-link::after{
    flex:0 0 auto;
    margin-left:2px;
  }

  body:not(.admin-app):not(.admin-login-page) .menu--mob .menu-submenu{
    justify-items:start;
    width:100%;
    margin-top:2px;
    padding-left:16px;
  }

  body:not(.admin-app):not(.admin-login-page) .menu--mob .menu-submenu__link{
    justify-content:flex-start;
    width:100%;
    text-align:left;
  }

  body:not(.admin-app):not(.admin-login-page) .menu--mob .menu-loginItem{
    justify-content:flex-start;
  }

  body:not(.admin-app):not(.admin-login-page) .menu--mob .btn-cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:max-content;
  }
}

/* Isolamento final do login em relação aos estilos administrativos legados. */
body.admin-login-page{
  padding:0;
  display:grid;
  place-items:stretch;
  overflow-x:hidden;
  background:#fcfcfc;
}

@media (min-width:901px){
  .mfv-auth{
    width:100%;
    height:100svh;
    min-height:100svh;
    padding:0;
    gap:0;
    grid-template-columns:minmax(440px,48%) minmax(430px,52%);
    overflow:hidden;
    border:0;
    border-radius:0;
    box-shadow:none;
  }

  .mfv-auth__brand,
  .mfv-auth__access{
    height:100svh;
    min-height:0;
  }

  .mfv-auth__brand{
    border-radius:0;
  }

  .mfv-auth__access{
    padding:clamp(28px,5vh,56px) clamp(38px,6vw,76px);
    display:flex;
    align-items:center;
    justify-content:flex-start;
    overflow-y:auto;
  }

  .mfv-auth__formWrap{
    flex:0 0 auto;
    margin-block:auto;
  }

  .mfv-auth__brand::after{
    inset:18px;
  }
}

body.admin-login-page .mfv-auth__form{
  gap:18px;
}

body.admin-login-page .mfv-auth__field{
  gap:8px;
}

body.admin-login-page .mfv-auth__field > span:not(.admin-passwordField){
  color:#2a3440;
  font-size:.75rem;
  font-weight:650;
}

body.admin-login-page .mfv-auth__field input{
  min-height:50px;
  padding:0 15px;
  border:1px solid transparent;
  border-radius:8px;
  background:#f0f2f3;
  color:var(--auth-ink);
  font-size:.86rem;
}

body.admin-login-page .mfv-auth__field input:hover{
  background:#eceff1;
}

body.admin-login-page .mfv-auth__field input:focus{
  border-color:#8291a0;
  background:#fff;
  box-shadow:0 0 0 3px rgba(10,32,57,.08);
}

body.admin-login-page .mfv-auth .admin-loginSubmit{
  min-height:50px;
  padding:0 20px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:8px;
  background:linear-gradient(135deg,#15181c,#050607);
  color:#fff;
  font-size:.82rem;
  box-shadow:0 10px 20px rgba(7,9,12,.18);
}

body.admin-login-page .mfv-auth .admin-loginSubmit:hover,
body.admin-login-page .mfv-auth .admin-loginSubmit:focus-visible{
  background:linear-gradient(135deg,#15181c,#050607);
  box-shadow:0 13px 24px rgba(7,9,12,.22);
}

body.admin-login-page .mfv-auth .admin-inline-status{
  min-height:20px;
  margin:12px 0 0;
  font-size:.77rem;
  line-height:1.45;
  text-align:center;
}

@media (max-width:900px){
  body.admin-login-page{
    padding:0;
    place-items:stretch;
    background:#fcfcfc;
  }

  .mfv-auth{
    width:100%;
    border:0;
    border-radius:0;
    box-shadow:none;
  }
}

@media (max-width:520px){
  body.admin-login-page{
    padding:0;
    place-items:stretch;
    background:#fcfcfc;
  }
}
