/* 1.1.212 — cores, dimensões e espaçamentos exclusivos do hero. */
.ebdi .ebdi-home-editorial .ebd-hero-root{--ebd-hero-green:#1b4d3e;--ebd-hero-gold:#c9a24b;--ebd-hero-paper:#f5f3ee;--ebd-hero-ink:#46584e;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:32px;width:100%;max-width:1200px;margin-inline:auto;padding:32px 20px;border:1px solid #dfdfd3;border-radius:24px;background:radial-gradient(ellipse at 0 0,#e8eadc70,transparent 55%),var(--ebd-hero-paper);color:var(--ebd-hero-green);font-family:inherit;isolation:isolate}
.ebdi .ebd-hero-root,.ebdi .ebd-hero-root *{box-sizing:border-box}
.ebdi .ebd-hero-copy,.ebdi .ebd-hero-card{min-width:0}
/* Etiqueta, título e texto de apoio. */
.ebdi .ebd-hero-badge{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:8px 12px;border:1px solid #c9a24b99;border-radius:999px;background:transparent;color:#45543c;font-size:10px;font-weight:600;line-height:1.6;letter-spacing:.1em}
.ebdi .ebd-hero-badge::before{content:"";width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:var(--ebd-hero-gold)}
.ebdi .ebdi-home-editorial .ebd-hero-title{max-width:15ch;margin:24px 0 0;color:var(--ebd-hero-green);font-family:inherit;font-size:clamp(2rem,4.5vw,3.5rem);font-weight:750;letter-spacing:-.045em;line-height:1.12;text-wrap:balance}
.ebdi .ebd-hero-highlight{color:var(--ebd-hero-green);background:linear-gradient(transparent calc(100% - 2px),var(--ebd-hero-gold) 0);padding-bottom:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.ebdi .ebd-hero-subtitle{max-width:46ch;margin:24px 0 0;color:var(--ebd-hero-ink);font-size:clamp(16px,1.4vw,18px);line-height:1.7}
/* CTAs: alvos de toque e estados de foco. */
.ebdi .ebd-hero-actions{display:flex;flex-direction:column;gap:12px;margin:24px 0 0}
.ebdi .ebdi-home-editorial .ebd-hero-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:48px;margin:0;padding:14px 20px;border:1px solid var(--ebd-hero-green);border-radius:11px;font-size:15px;line-height:1.5;font-weight:650;text-decoration:none;white-space:normal;text-align:center;transition:transform .18s,background-color .18s,box-shadow .18s}
.ebdi .ebdi-home-editorial .ebd-hero-primary{background:var(--ebd-hero-green);color:#fff;box-shadow:0 4px 12px #1b4d3e14}
.ebdi .ebdi-home-editorial .ebd-hero-secondary{background:transparent;color:var(--ebd-hero-green);border-color:#8d9e91}
.ebdi .ebd-hero-support{display:flex;align-items:flex-start;gap:8px;margin:16px 0 0;max-width:48ch;color:#526256;font-size:12px;line-height:1.65}
.ebdi .ebd-hero-support svg{flex:0 0 16px;width:16px;height:16px;margin-top:2px;fill:none;stroke:#275d43;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* Trimestre dinâmico: capa inteira e espaço reservado. */
.ebdi .ebd-hero-card{width:100%;max-width:480px;justify-self:center;margin:0;padding:24px;border:1px solid var(--ebd-hero-gold);border-radius:20px;background:linear-gradient(145deg,#245743,#143d31);color:#fff;box-shadow:0 16px 32px #123d311c,0 3px 8px #123d3110;transition:transform .2s,box-shadow .2s}
.ebdi .ebd-hero-card-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;padding-bottom:16px;border-bottom:1px solid #ffffff33}
.ebdi .ebd-hero-card-label{color:#f0d9a3;font-size:10px;font-weight:650;letter-spacing:.12em;line-height:1.5}
.ebdi .ebd-hero-term{padding:6px 8px;border:1px solid #c9a24b80;border-radius:6px;background:#0a2b2355;color:#f5dfac;font-size:10px;font-weight:600;letter-spacing:.04em;line-height:1.5}
.ebdi .ebd-hero-cover-stage{display:grid;place-items:center;padding:24px 8px}
.ebdi .ebd-hero-cover{display:block;width:clamp(140px,17vw,180px);height:auto;aspect-ratio:5/7;object-fit:contain;border-radius:3px;filter:drop-shadow(4px 12px 10px #00000038);transform:rotate(-2deg);transition:transform .24s}
.ebdi .ebdi-home-editorial .ebd-hero-card-title{margin:0 0 12px;color:#fff;font-family:inherit;font-size:clamp(21px,2vw,24px);font-weight:650;line-height:1.35;letter-spacing:-.02em;text-wrap:balance}
.ebdi .ebd-hero-card-description{margin:0;color:#e0e9df;font-size:14px;line-height:1.65}
.ebdi .ebdi-home-editorial .ebd-hero-card-link{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;margin:24px 0 0;padding:12px 16px;border:1px solid #f5f3ee;border-radius:10px;background:#f5f3ee;color:#153f33;font-size:14px;font-weight:650;line-height:1.5;text-decoration:none;transition:background-color .18s}
.ebdi .ebd-hero-arrow{display:inline-block;transition:transform .18s}
.ebdi .ebdi-home-editorial .ebd-hero-root a:focus-visible{outline:3px solid #906b1d;outline-offset:4px}
.ebdi .ebdi-home-editorial .ebd-hero-card a:focus-visible{outline-color:#f5da9e}
@media(hover:hover) and (pointer:fine){
.ebdi .ebdi-home-editorial .ebd-hero-primary:hover{background:#28634b;color:#fff;transform:translateY(-2px);box-shadow:0 8px 18px #1b4d3e26}
.ebdi .ebdi-home-editorial .ebd-hero-secondary:hover{background:#e6ecdf;color:#1b4d3e;transform:translateY(-2px)}
.ebdi .ebd-hero-root a:hover .ebd-hero-arrow{transform:translateX(4px)}
.ebdi .ebd-hero-card:hover{transform:translateY(-4px);box-shadow:0 22px 40px #123d3129}
.ebdi .ebd-hero-card:hover .ebd-hero-cover{transform:rotate(0)}
.ebdi .ebdi-home-editorial .ebd-hero-card-link:hover{background:#e4eada;color:#153f33}
}
/* Espaçamentos e ordem de leitura preservados em todas as larguras. */
@media(min-width:480px){.ebdi .ebdi-home-editorial .ebd-hero-root{padding:40px 24px}.ebdi .ebd-hero-badge{font-size:11px}.ebdi .ebd-hero-card{padding:24px}}
@media(min-width:641px){.ebdi .ebd-hero-actions{flex-direction:row;flex-wrap:wrap}.ebdi .ebdi-home-editorial .ebd-hero-button{width:auto}}
@media(min-width:960px){.ebdi .ebdi-home-editorial .ebd-hero-root{grid-template-columns:minmax(0,11fr) minmax(0,9fr);gap:32px;padding:48px 32px}}
@media(min-width:1280px){.ebdi .ebdi-home-editorial .ebd-hero-root{padding:56px 40px;gap:40px}}
/* Entrada discreta. Sem JavaScript ou fontes externas. */
@media(prefers-reduced-motion:no-preference){
.ebdi .ebd-hero-badge{animation:ebd-hero-enter .6s both}
.ebdi .ebd-hero-title{animation:ebd-hero-enter .6s .08s both}
.ebdi .ebd-hero-subtitle{animation:ebd-hero-enter .6s .16s both}
.ebdi .ebd-hero-actions{animation:ebd-hero-enter .6s .24s both}
.ebdi .ebd-hero-support{animation:ebd-hero-enter .6s .32s both}
/* Anima a faixa interna sem interferir na elevação do card. */
.ebdi .ebd-hero-card-top{animation:ebd-hero-enter .6s .16s both}
@keyframes ebd-hero-enter{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
}
@media(prefers-reduced-motion:reduce){.ebdi .ebd-hero-root *{animation:none;transition:none}.ebdi .ebd-hero-card:hover,.ebdi .ebd-hero-root a:hover,.ebdi .ebd-hero-root a:hover .ebd-hero-arrow{transform:none}.ebdi .ebd-hero-cover{transform:none}}

/* Ajuste fino: abertura compacta no celular e estados de clique. */
.ebdi .ebd-hero-root{--ebd-hero-radius:24px;--ebd-hero-space:24px}
.ebdi .ebdi-home-editorial .ebd-hero-root{border-radius:var(--ebd-hero-radius)}
.ebdi .ebdi-home-editorial .ebd-hero-button:active{transform:translateY(1px);box-shadow:none}
.ebdi .ebdi-home-editorial .ebd-hero-card-link:active{background:#dce5d6}
@media(max-width:640px){.ebdi .ebdi-home-editorial .ebd-hero-root{padding:24px 20px;gap:24px}.ebdi .ebdi-home-editorial .ebd-hero-title{font-size:clamp(32px,6vw,42px);margin-top:20px}.ebdi .ebd-hero-subtitle{margin-top:16px;line-height:1.6}.ebdi .ebd-hero-actions{margin-top:20px}.ebdi .ebd-hero-support{margin-top:12px}}
