/* Exclusivo da biblioteca Antes do Sim. Nenhuma regra global alterada. */
.antes-index{background:#fffdf9;color:#173b4a}
.antes-index .ref-hero{max-width:1400px;margin:0 auto;min-height:540px;display:grid;grid-template-columns:49% 51%;align-items:stretch;background:#fffdf9;overflow:hidden}
.antes-index .ref-hero-image{position:relative;display:flex;align-items:center;justify-content:center;padding:54px 7% 54px 7%;background:linear-gradient(115deg,#fffdf9 0%,#f7f0e7 100%)}
.antes-index .ref-hero-image::after{content:'';position:absolute;inset:0 0 0 auto;width:20%;pointer-events:none;background:linear-gradient(90deg,transparent,#fffdf9)}
.antes-index .ref-hero-image img{width:100%;max-width:640px;aspect-ratio:521 / 291;height:auto;object-fit:contain;box-shadow:0 18px 38px rgba(63,42,19,.12)}
.antes-index .ref-hero-copy{padding:69px clamp(30px,5vw,86px) 54px 4%;align-self:center;min-width:0}
.antes-index .ref-eyebrow{font:11px/1.5 Arial,Helvetica,sans-serif;letter-spacing:.2em;color:#a56831;text-transform:uppercase;font-weight:500}
.antes-index .ref-dash{display:inline-block;width:27px;border-bottom:1px solid #cba77c;margin:0 9px 3px}
.antes-index .ref-hero h1{font:normal clamp(40px,4.8vw,66px)/1.05 Georgia,'Times New Roman',serif;letter-spacing:-.035em;color:#093c4a;margin:23px 0 16px}
.antes-index .ref-rule{display:flex;align-items:center;gap:12px;margin:18px 0 24px;color:#b7793a}
.antes-index .ref-rule span{width:59px;height:1px;background:#c79259}
.antes-index .ref-rule i{height:14px;width:24px;position:relative}
.antes-index .ref-rule i:before,.antes-index .ref-rule i:after{content:'';position:absolute;border:1.5px solid #b87938;border-radius:50%;width:13px;height:13px;top:0}
.antes-index .ref-rule i:before{left:1px}.antes-index .ref-rule i:after{left:9px}
.antes-index .ref-subtitle{font:italic 22px/1.35 Georgia,'Times New Roman',serif;color:#0b4450;margin:0 0 15px}
.antes-index .ref-description{font:17px/1.6 Georgia,'Times New Roman',serif;color:#35495a;max-width:515px;margin:0}
.antes-index .ref-back{display:inline-flex;align-items:center;gap:11px;color:#074256;font:12px/1.6 Arial,Helvetica,sans-serif;text-transform:uppercase;letter-spacing:.065em;padding:0 0 7px;border-bottom:1px solid #be8b55;margin-top:30px}
.antes-index .ref-back:hover{color:#a66a32}
.antes-index .ref-topics{background:#fffdf9;padding:46px 28px 82px;border-top:1px solid #efe9df}
.antes-index .ref-section-top{text-align:center;max-width:850px;margin:0 auto 33px}
.antes-index .ref-line{display:block;width:76px;height:1px;background:#b9834b;margin:0 auto 13px}
.antes-index .ref-topics h2{font:normal clamp(34px,3.5vw,48px)/1.14 Georgia,serif;color:#093d49;margin:12px 0}
.antes-index .ref-section-top p{font:17px/1.52 Georgia,serif;color:#51616d;margin:12px auto 0;max-width:750px}
.antes-index .ref-topics-grid{max-width:1330px;margin:auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}
.antes-index .ref-topic{background:#fffdfb;border:1px solid #ead9c4;min-width:0;padding:24px 14px 20px;min-height:284px;text-align:center;display:flex;align-items:center;flex-direction:column;transition:box-shadow .2s,border-color .2s,transform .2s}
.antes-index .ref-topic:hover{border-color:#c39a72;box-shadow:0 7px 22px #573b1c18;transform:translateY(-2px)}
.antes-index .ref-topic-icon{width:69px;height:69px;border-radius:50%;background:#f9e7d0;color:#986329;display:grid;place-items:center;margin-bottom:13px;flex-shrink:0}
.antes-index .ref-topic-icon svg{width:33px;height:33px}
.antes-index .ref-topic h3{font:normal 25px/1.12 Georgia,serif;color:#0c4050;margin:1px 0 11px}
.antes-index .ref-topic p{font:15px/1.36 Georgia,serif;color:#465b68;margin:0 auto 20px;max-width:216px;flex:1}
.antes-index .ref-topic-arrow{font:10px/1.5 Arial,Helvetica,sans-serif;letter-spacing:.07em;text-transform:uppercase;color:#9f682f;white-space:nowrap}
.antes-index .ref-topic-arrow span{font-size:16px;margin-left:5px;vertical-align:-1px}
.antes-index .ref-ending{text-align:center;padding:58px 26px 71px;background:linear-gradient(120deg,#f9f5ee,#eee6da,#f9f5ee)}
.antes-index .ref-ending h2{font:italic normal clamp(30px,3.2vw,43px)/1.25 Georgia,serif;color:#0c424d;margin:16px auto 15px;max-width:800px}
.antes-index .ref-ending p{font:17px/1.5 Georgia,serif;color:#56616a;max-width:700px;margin:0 auto}
.antes-index .ref-flourish{color:#b07a3d;letter-spacing:-.35em;font-size:25px;margin:20px 0 0;transform:translateX(-4px)}
@media(max-width:1050px){.antes-index .ref-hero{min-height:450px}.antes-index .ref-hero-image{padding:35px 5%}.antes-index .ref-hero-copy{padding:52px 35px 45px 15px}.antes-index .ref-topics-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.antes-index .ref-topic{min-height:260px}}
@media(max-width:680px){.antes-index .ref-hero{grid-template-columns:1fr;min-height:0}.antes-index .ref-hero-image{padding:27px 22px 10px}.antes-index .ref-hero-image::after{display:none}.antes-index .ref-hero-image img{box-shadow:0 10px 26px #6f49201a;max-width:500px}.antes-index .ref-hero-copy{padding:30px 25px 43px}.antes-index .ref-hero h1{font-size:clamp(41px,10vw,58px);margin-top:16px}.antes-index .ref-hero h1 br{display:none}.antes-index .ref-description{font-size:16px}.antes-index .ref-subtitle{font-size:20px}.antes-index .ref-topics{padding:40px 18px 56px}.antes-index .ref-topics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.antes-index .ref-topic{padding:20px 12px 18px;min-height:260px}.antes-index .ref-topic-icon{width:58px;height:58px}.antes-index .ref-topic-icon svg{width:28px;height:28px}.antes-index .ref-topic h3{font-size:21px}.antes-index .ref-topic p{font-size:14px}.antes-index .ref-topic-arrow{font-size:9px;white-space:normal}.antes-index .ref-topic:last-child{grid-column:1 / -1;min-height:210px}.antes-index .ref-topic:last-child p{max-width:310px}.antes-index .ref-ending{padding:43px 24px 55px}}
@media(max-width:375px){.antes-index .ref-topics-grid{grid-template-columns:1fr}.antes-index .ref-topic{min-height:210px}.antes-index .ref-topic:last-child{grid-column:auto}.antes-index .ref-hero-copy{padding:30px 21px 45px}}
