@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Libre+Caslon+Display&display=swap');
:root{--green:#65342e;--deep:#41231f;--cream:#f7f5ef;--gold:#d6b777;--ink:#3d2924;--muted:#705d53;--line:#e5d5c8}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--cream);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;font-size:15px;line-height:1.7}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{font:inherit}button,a,summary{touch-action:manipulation}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #b38a41;outline-offset:5px}.skip{position:fixed;top:-70px;left:20px;z-index:10;background:white;padding:12px}.skip:focus{top:10px}.topbar{background:var(--green);color:#e5d8d5;padding:9px 6%;font-size:11px;letter-spacing:.35px;display:flex;justify-content:space-between}.topbar a{color:#edddba}.topbar a span{margin-left:10px}.header{height:103px;padding:0 6%;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);background:var(--cream)}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand span{display:flex;flex-direction:column}.brand small{font-size:9px;letter-spacing:2.6px;font-weight:600}.brand strong{font:32px/1.15 'Libre Caslon Display',Georgia,serif}.header nav{display:flex;align-items:center;gap:32px;font-size:12px}.header nav a:hover{color:#9a783b}.nav-contact{border:1px solid #d1bab3;border-radius:4px;padding:11px 17px}.nav-contact span{padding-left:14px}.menu-toggle{display:none}.hero{min-height:590px;position:relative;background:linear-gradient(90deg,rgba(15,38,28,.96) 0%,rgba(15,38,28,.88) 34%,rgba(15,38,28,.2) 100%),url('assets/mata.jpg') center 55%/cover;color:#fffdf3;display:flex;align-items:center;padding:65px 8%;overflow:hidden}.hero-content{position:relative;z-index:1}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2px;line-height:1.8}.hero .eyebrow{color:#d8c392;display:flex;gap:10px;align-items:center}.eyebrow>span{width:5px;height:5px;background:#d8c392;border-radius:50%}h1,h2,h3,p{margin:0}h1,h2{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;letter-spacing:-1.4px;line-height:1.06}h1{font-size:78px;margin:20px 0 22px}h1 em{font-weight:400;color:#ddc488}h2{font-size:52px}h3{font-weight:500;font-size:20px}.hero p{font-size:14px;line-height:1.9;color:#e3d5d1}.hero-actions{display:flex;gap:28px;align-items:center;margin-top:29px}.button{border:0;border-radius:3px;display:inline-flex;justify-content:center;align-items:center;gap:27px;padding:14px 21px;font-size:12px;font-weight:600;cursor:pointer;transition:transform .2s,background .2s}.button:hover{transform:translateY(-2px)}.gold{background:var(--gold);color:#3a2320}.gold:hover{background:#e3c98e}.text-link{font-size:12px;display:inline-flex;align-items:center;gap:21px;padding:9px 0;border-bottom:1px solid #ffffff50}.hero-signature{display:flex;align-items:center;gap:12px;margin-top:40px;font-size:10px;line-height:1.6;color:#ceb5ae}.hero-signature strong{font-weight:450;color:#e7dcd9}.mini-sun{font-size:35px;color:#baa577}.hero-mark{position:absolute;right:8%;top:35%;width:220px;height:220px;border:1px solid #e8dfbc40;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#3f27241f;backdrop-filter:blur(2px)}.hero-mark img{width:135px;opacity:.8}.hero-mark>span{font-size:8px;letter-spacing:2px;color:#dfd7b4}.photo-note{position:absolute;right:5%;bottom:26px;font-size:9px;letter-spacing:1px;color:#e8e7ce}.values-strip{padding:24px 7%;display:flex;justify-content:space-between;gap:22px;background:#ede4e1;border-bottom:1px solid #e2d4d1;font-size:11px}.values-strip span{color:#a78a50;display:flex;gap:12px;align-items:center}.values-strip b{font-weight:450;color:#653e39}.section{padding:86px 8%}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:35px}.green{color:#945b53;margin-bottom:13px}.section-heading p,.faq-section>div>p{color:var(--muted);font-size:12px;line-height:1.9;padding-bottom:3px}.topic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:19px}.topic{color:var(--ink);background:#fbfaf6;border:1px solid var(--line);border-radius:5px;padding:22px;text-align:left;cursor:pointer;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}.topic:hover{transform:translateY(-5px);box-shadow:0 12px 28px #3f27240c}.topic-art{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;font-family:Georgia,serif;font-size:42px;margin-bottom:26px}.earth{background:#e9e4d3;color:#a48a49}.clay{background:#eee1d7;color:#a27557}.sage{background:#e7dcd9;color:#87534c}.sand{background:#e9e6dc;color:#9c8a60}.topic-type{font-size:8px;letter-spacing:1.2px;color:#985d55;font-weight:600}.topic-title{font:30px/1.3 'Libre Caslon Display',Georgia,serif;margin:8px 0}.topic-copy{font-size:12px;line-height:1.9;color:var(--muted);flex:1}.topic-bottom{display:flex;justify-content:space-between;gap:8px;font-size:10px;margin-top:26px;padding-top:16px;border-top:1px solid var(--line);font-weight:550}.topic-bottom>span{font-size:16px;line-height:1}.study-note{text-align:center;color:#a3645c;font-size:10px;margin-top:23px}.study-note>span{margin-right:5px}.house-section{display:grid;grid-template-columns:.9fr 1.1fr;background:#efe7e4;padding:70px 8%;gap:8%;align-items:center}.house-visual{background:#e3d5d1;min-height:440px;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px;overflow:hidden}.house-visual:before,.house-visual:after{content:'❧';position:absolute;font-size:270px;color:#6f443f20;line-height:1}.house-visual:before{bottom:-15px;left:-65px;transform:rotate(25deg)}.house-visual:after{top:-20px;right:-50px;transform:rotate(210deg)}.arch{border:1px solid #b17b74;outline:1px solid #b17b7460;outline-offset:9px;border-radius:160px 160px 3px 3px;width:245px;padding:28px 17px 30px;display:flex;flex-direction:column;align-items:center;text-align:center;z-index:1}.arch img{width:92px;height:92px;margin-bottom:15px}.arch>span{font-size:8px;letter-spacing:2.5px}.arch>strong{font:39px 'Libre Caslon Display',Georgia,serif}.ornament{color:#998448;margin:13px 0}.arch p{font-size:11px;color:#86524c;line-height:1.8}.visual-caption{font-size:8px;letter-spacing:2px;margin-top:30px;color:#86524c}.house-content h2{font-size:48px;margin-bottom:25px}.house-content>p{font-size:13px;color:#85524b;line-height:1.9;margin-bottom:16px}.house-content p strong{font-weight:600;color:#5a3733}.house-quote{border-left:2px solid #b5a56f;padding:2px 0 2px 20px;margin:25px 0;font:23px/1.35 'Libre Caslon Display',Georgia,serif}.house-quote span{font:9px 'DM Sans',Arial,sans-serif;color:#985d55;display:block;margin-top:10px}.dark{border-color:#c7a09b;font-weight:600}.visit{padding-bottom:70px}.visit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:45px;margin:45px 0}.step{font:34px 'Libre Caslon Display',Georgia,serif;color:#aaa17e}.visit-grid h3{font-size:18px;margin:10px 0}.visit-grid p{font-size:12px;color:var(--muted);line-height:1.9}.schedule{display:flex;align-items:center;gap:22px;background:#ece3e1;padding:26px 30px;border:1px solid #e4d6d2;border-radius:4px}.calendar{font-size:40px;color:#a4655d}.schedule h3{font-size:16px;margin-bottom:3px}.schedule p{font-size:11px;color:var(--muted)}.outline{margin-left:auto;border:1px solid #bf948e;color:#53332e;flex-shrink:0}.faq-section{border-top:1px solid var(--line);display:grid;grid-template-columns:.8fr 1.2fr;gap:7%;padding-top:70px}.faq-section h2{font-size:46px}.faq-section>div>p{margin-top:23px}.faq details{border-bottom:1px solid #e0d0cc}.faq summary{padding:20px 25px 20px 0;font-size:13px;cursor:pointer;list-style:none;position:relative}.faq summary::-webkit-details-marker{display:none}.faq summary:after{content:'+';position:absolute;right:0;font-size:20px;top:14px;color:#a1635a}.faq details[open] summary:after{content:'−'}.faq details p{font-size:12px;color:var(--muted);padding:0 20px 20px 0}.faq p a{text-decoration:underline}.contact-section{position:relative;overflow:hidden;background:var(--green);text-align:center;padding:65px 20px;color:#f4f1e4}.contact-section .eyebrow{color:#caa6a2}.contact-section h2{font-size:58px;margin:14px 0}.contact-section p{color:#d2bcb6;font-size:13px;line-height:1.9;margin-bottom:25px}.contact-section .button{position:relative;z-index:1}.contact-flower{position:absolute;right:5%;top:-70px;font-size:350px;color:#e5d9b110;pointer-events:none}footer{padding:35px 8% 20px;background:#f0f0e8}.footer-main{display:flex;align-items:center;justify-content:space-between;gap:30px}.footer-main>p{font-size:10px;color:#9a5e56}.footer-main>a:last-child{font-size:10px}.footer-bottom{border-top:1px solid #e0d0cc;margin-top:30px;padding-top:18px;display:flex;justify-content:space-between;font-size:9px;color:#a2635b}dialog{max-width:700px;width:calc(100% - 32px);border:1px solid #d6c2bd;border-radius:8px;padding:45px;background:var(--cream);color:var(--ink);max-height:85dvh;overflow:auto;box-shadow:0 30px 100px #0003}dialog::backdrop{background:#24100dba;backdrop-filter:blur(5px)}dialog h2{font-size:47px;margin:15px 0 25px}#article-body p{font-size:14px;color:#84514b;margin:16px 0}#article-body h3{font-size:18px;margin-top:25px}.close-dialog{position:absolute;right:15px;top:10px;background:transparent;border:0;font-size:30px;cursor:pointer;color:var(--green)}.solid{background:var(--green);color:#fff;margin-top:20px}body.modal-open{overflow:hidden}@media(min-width:1500px){.hero{min-height:670px}.section,.house-section{padding-left:max(8%,calc((100% - 1260px)/2));padding-right:max(8%,calc((100% - 1260px)/2))}}@media(max-width:1000px){.header{padding:0 4%}.header nav{gap:18px}.hero{padding:60px 6%}.hero-mark{right:5%;width:160px;height:160px;top:40%}.hero-mark img{width:100px}.hero-mark>span{font-size:6px;letter-spacing:1px}.section{padding:65px 6%}.topic-grid{gap:12px}.topic{padding:17px}.topic-title{font-size:26px}.topic-type{font-size:7px}.house-section{padding:60px 6%;gap:5%}.house-content h2{font-size:40px}.schedule{padding:23px 20px;gap:15px}.schedule .button{font-size:10px;padding:12px}.values-strip{padding:22px 4%;gap:10px;font-size:10px}h1{font-size:70px}h2{font-size:46px}}@media(max-width:760px){html{scroll-padding-top:20px}.topbar{padding:8px 5%;justify-content:center;font-size:9px}.topbar>a{display:none}.header{height:84px;padding:0 5%;position:relative;z-index:3}.brand strong{font-size:29px}.brand img{width:43px;height:43px}.brand small{font-size:8px;letter-spacing:2px}.menu-toggle{display:block;background:transparent;border:1px solid #d5c0ba;color:var(--green);font-size:22px;line-height:1;padding:9px 11px;border-radius:3px}.header nav{display:none;position:absolute;top:84px;left:0;right:0;background:var(--cream);padding:20px 6%;box-shadow:0 15px 20px #0001;flex-direction:column;align-items:stretch;gap:6px;font-size:14px}.header nav.open{display:flex}.header nav a{padding:10px 0}.header nav .nav-contact{padding:10px 15px;margin-top:5px}.hero{min-height:575px;padding:45px 6% 52px;background-image:linear-gradient(90deg,#2a1310ed,#2a1310a1),url('assets/mata.jpg')}.hero .eyebrow{font-size:8px;letter-spacing:1.4px}h1{font-size:61px;letter-spacing:-1.3px;margin-top:23px}.hero p{font-size:13px}.hero-mark{display:none}.hero-actions{gap:20px;flex-wrap:wrap}.button{padding:14px 17px;font-size:11px;gap:20px}.text-link{font-size:11px;gap:12px}.hero-signature{margin-top:32px}.photo-note{font-size:8px;right:6%;bottom:16px}.values-strip{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:22px 6%;font-size:9px}.values-strip span{gap:8px}.section{padding:55px 6%}.section-heading{display:block;margin-bottom:26px}h2{font-size:41px}.section-heading p{margin-top:20px;font-size:12px}.topic-grid{grid-template-columns:1fr 1fr;gap:12px}.topic{padding:17px 15px}.topic-art{width:48px;height:48px;font-size:34px;margin-bottom:20px}.topic-title{font-size:26px}.topic-copy{font-size:11px}.topic-bottom{font-size:9px;gap:6px;margin-top:18px}.topic-type{font-size:6.5px;letter-spacing:.8px}.study-note{font-size:9px;text-align:left;line-height:1.8}.house-section{grid-template-columns:1fr;gap:40px;padding:45px 6%}.house-visual{min-height:390px;max-width:470px;width:100%;margin:auto}.house-content h2{font-size:42px}.house-content>p{font-size:13px}.visit-grid{grid-template-columns:1fr;gap:25px;margin:30px 0}.visit-grid article{position:relative;padding-left:55px}.step{position:absolute;left:0;top:3px;font-size:31px}.visit-grid h3{margin:0 0 8px}.schedule{align-items:flex-start;flex-wrap:wrap;gap:12px;padding:22px}.calendar{font-size:32px;line-height:1.2}.schedule>div{flex:1}.schedule p{font-size:11px}.schedule .button{margin:9px 0 0;width:100%;font-size:11px}.faq-section{grid-template-columns:1fr;gap:20px}.faq-section h2{font-size:40px}.faq-section>div>p{margin-top:16px}.faq summary{font-size:12px;padding:20px 25px 20px 0}.contact-section{padding:50px 6%}.contact-section h2{font-size:47px}.contact-section p{font-size:12px}.contact-flower{right:-100px;font-size:300px}.footer-main{flex-wrap:wrap;gap:22px}.footer-main>p{width:100%;order:3;font-size:11px}.footer-main>a:last-child{margin-left:auto}.footer-bottom{gap:20px;font-size:8px}footer{padding:30px 6% 20px}dialog{padding:35px 24px}dialog h2{font-size:39px}.desktop{display:none}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

/* Identidade oficial do Centro de Irradiação. */
.brand img{border-radius:50%;width:61px;height:61px;object-fit:contain;background:#fff}
.brand strong{font-size:27px;line-height:1.05;margin-top:4px}
.brand small{font-size:8px;letter-spacing:2px}
.hero-mark{width:230px;height:230px;background:#f7f5efed;border-color:#d6b77780;gap:14px}
.hero-mark>span{color:#7b4b45;font-size:7px;letter-spacing:1.5px}
.hero-mark img{width:150px;height:150px;opacity:1;border-radius:50%}
.arch{width:285px}
.arch img{width:150px;height:150px;object-fit:contain;border-radius:50%;background:white}
.arch>strong{font-size:30px;line-height:1.12;margin-top:8px}
.house-visual{min-height:490px}
@media(max-width:1000px) and (min-width:761px){.header nav{gap:13px;font-size:11px}.brand strong{font-size:24px}.brand img{width:50px;height:50px}.hero-mark{width:185px;height:185px}.hero-mark img{width:120px;height:120px}.hero-mark>span{font-size:6px}}
@media(max-width:760px){.header{height:98px}.header nav{top:98px}.brand{gap:9px}.brand strong{font-size:24px}.brand small{font-size:6.5px;letter-spacing:1.4px}.brand img{width:47px;height:47px}.hero p{max-width:320px}.house-visual{min-height:490px}.arch{max-width:100%}.arch>strong{font-size:29px}.footer-main .brand strong{font-size:24px}}
@media(max-width:360px){.brand strong{font-size:21px}.brand img{width:40px;height:40px}.menu-toggle{padding:7px 9px}.header{gap:10px}}

/* Símbolo inteiro ocupando o círculo, sem moldura interna. */
.hero-mark{padding:0;overflow:hidden;background:white;gap:0}
.hero-mark>span{display:none}
.hero-mark img{display:block;width:100%;height:100%;object-fit:contain;border-radius:50%;flex:none}
.more-studies{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px 23px;margin-top:25px;padding:21px 0;border-bottom:1px solid var(--line);font-size:12px}
.more-studies>span{font-weight:600}.more-studies button{border:0;border-bottom:1px solid #c9a39e;background:transparent;padding:5px 0;color:var(--green);cursor:pointer;font-size:12px}.more-studies button:hover{color:#927135}.more-studies button span{margin-left:7px}
@media(max-width:760px){.more-studies{justify-content:flex-start;gap:10px 20px}.more-studies>span{width:100%}.topic-title{overflow-wrap:normal}}

.library{background:#f0e9e7;border-top:1px solid var(--line)}.library-nav{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:35px}.library-nav a{border:1px solid #cbb1a9;border-radius:3px;padding:10px 19px;font-size:12px}.library-nav a:hover{background:var(--green);color:white}.study-chapter{padding:38px 0;border-top:1px solid #dccbc7}.chapter-title{font:39px/1.15 'Libre Caslon Display',Georgia,serif;margin-bottom:19px}.study-chapter>p{font-size:13px;color:#7e4d47;max-width:850px;line-height:1.9}.study-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:25px 0}.study-entry{padding:23px;background:#fafaf5;border:1px solid #e2d3cf;border-radius:4px}.study-entry>span{display:block;font-size:9px;letter-spacing:1px;color:#83504a;text-transform:uppercase}.study-entry h3{font-size:21px;margin:8px 0 11px}.study-entry p{font-size:12px;color:#84514b;line-height:1.9}.study-care{border-left:3px solid #b69b5f;padding:13px 19px;background:#e9ddda}.study-source{font-size:10px!important;margin-top:20px!important}.study-source a{text-decoration:underline}#article-body .study-grid{grid-template-columns:1fr 1fr}#article-body .study-entry p{font-size:12px;margin:0}#article-body .study-entry h3{margin:8px 0 11px}@media(max-width:760px){.study-grid{grid-template-columns:1fr 1fr;gap:10px}.study-entry{padding:17px}.study-entry h3{font-size:19px}.study-entry p{font-size:11px}.chapter-title{font-size:34px}.library-nav{gap:8px}.library-nav a{font-size:11px;padding:9px 12px}#article-body .study-grid{grid-template-columns:1fr}}@media(max-width:440px){.study-grid{grid-template-columns:1fr}}

.library-gallery-link{display:block;margin-top:25px;border:1px solid #d6c2bc;background:#fafaf4;border-radius:6px;overflow:hidden}.library-preview-images{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.library-preview-images img{width:100%;height:auto;aspect-ratio:1;object-fit:cover}.library-gallery-link>span{display:block;padding:18px 22px;font-size:13px;font-weight:600}.library-gallery-link:hover>span{text-decoration:underline}@media(max-width:760px){.library-preview-images{gap:3px}.library-gallery-link>span{padding:15px;font-size:11px}}

.collection-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:23px}.collection-links a{padding:7px 17px;border:1px solid #caa5a0;border-radius:4px;font-size:12px}.collection-links a:hover{background:var(--green);color:white}.header nav{gap:23px}@media(max-width:1000px) and (min-width:761px){.header nav{gap:12px;font-size:10px}.nav-contact{padding:10px 12px}}

.home-search{margin-top:22px;max-width:470px}.home-search label{font-size:12px;display:block;margin-bottom:7px}.home-search>div{display:flex;gap:8px}.home-search input{min-width:0;flex:1;border:1px solid #ddd9c9;border-radius:4px;padding:10px;font:inherit}.home-search p{margin-top:12px}.home-search a,#lista-busca a{text-decoration:underline}.home-reading{padding-top:52px;padding-bottom:38px}.home-reading a:hover{border-color:#a5675e}#resultados-inicio{background:#f0e9e7}#status-busca{margin-top:15px}#lista-busca li{margin:7px 0}

.caveirinha{position:fixed;right:18px;bottom:18px;z-index:5}
.caveirinha summary{display:flex;align-items:center;gap:8px;cursor:pointer;border-radius:36px;background:#3e2623;color:#fff9e8;padding:5px 15px 5px 5px;font-weight:700;box-shadow:0 5px 19px #28181638}
.caveirinha summary::marker,.caveirinha summary::-webkit-details-marker{display:none}
.caveirinha img{object-fit:contain}
.caveirinha nav{position:absolute;right:0;bottom:calc(100% + 8px);width:min(240px,calc(100vw - 36px));padding:9px;border-radius:12px;background:#fffdf8;border:1px solid #d6c2bc;box-shadow:0 7px 20px #28181625}
.caveirinha nav a{display:block;padding:9px 12px;border-radius:6px}
.caveirinha nav a:hover,.caveirinha nav a:focus-visible{background:#eadedb}
@media print{.caveirinha{display:none}}
.reaper{position:fixed;left:0;top:0;z-index:7;width:64px;height:73px;padding:0;border:0;background:transparent;cursor:pointer;transition:transform 2.5s linear}
.reaper img{height:100%;width:100%;object-fit:contain;filter:drop-shadow(1px 3px 2px #0005)}
.reaper[data-action="walk"] img{animation:reaper-step .32s ease-in-out 8 alternate}
.reaper[data-action="run"]{transition-duration:.65s}
.reaper[data-action="run"] img{animation:reaper-step .18s ease-in-out 5 alternate}
.reaper[data-action="strike"] img{animation:reaper-strike .65s ease-in-out}
.reaper[data-action="draw"] img{animation:reaper-strike .55s ease-in-out 3}
@keyframes reaper-step{to{transform:translateY(-3px) rotate(5deg)}}
@keyframes reaper-strike{30%{transform:rotate(-28deg) translateY(-8px)}65%{transform:rotate(19deg) translateY(3px)}}
.reaper-effects{position:fixed;left:0;top:0;z-index:6;width:52px;height:85px;pointer-events:none}
.reaper-effects i{display:none;position:absolute;bottom:20px;width:24px;height:44px;border-radius:55% 55% 39% 40%;background:#171520;box-shadow:0 0 8px #17152099}
.reaper-effects i:nth-child(2){left:32px;bottom:26px;height:52px}
.reaper-effects i:nth-child(3){left:-10px;bottom:43px}
.reaper-effects[data-action="shadows"] i{display:block;animation:reaper-shadow 1s ease-out both}
@keyframes reaper-shadow{from{opacity:0;transform:translateY(14px) scale(.5)}to{opacity:.84;transform:translateY(-6px)}}
.reaper-mark{display:none;position:absolute;top:35px;left:-12px;width:68px;height:30px;border:2px solid #e7bc72;border-radius:50%;font-size:30px;line-height:23px;text-align:center;color:#fff6da;text-shadow:0 0 7px #a45813;box-shadow:0 0 7px #dcab58}
.reaper-effects[data-action="mark"] .reaper-mark{display:block;animation:reaper-draw 2.7s ease-out both}
@keyframes reaper-draw{0%{clip-path:inset(0 100% 0 0)}40%,85%{clip-path:inset(0);opacity:1}100%{opacity:.25}}
.reaper-chat{position:fixed;right:14px;bottom:14px;z-index:8;width:min(320px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;padding:18px;border:1px solid #c9cabb;border-radius:12px;background:#fffdf7;color:#65342e;box-shadow:0 8px 30px #1b26294d}
.reaper-chat[hidden],.reaper-chat [hidden]{display:none}
.reaper-chat p{margin:10px 0;font-size:14px}
.reaper-chat label{font-size:12px}
.reaper-chat form div{display:flex;gap:6px}
.reaper-chat input{min-width:0;flex:1;padding:7px;border:1px solid #c59e99;border-radius:5px;font:inherit}
.reaper-chat button{cursor:pointer;padding:6px 9px;border:1px solid #cba8a3;border-radius:5px;background:#ebe1de;color:#65342e;font:inherit}
.reaper-chat .reaper-close{float:right;padding:0 7px;font-size:20px;line-height:1.3}
.reaper-link,.reaper-pause{display:inline-block;margin-top:10px;font-size:12px}
.reaper-link{margin-right:8px;text-decoration:underline}
@media(prefers-reduced-motion:reduce){.reaper{transition:none}.reaper img,.reaper-effects i,.reaper-mark{animation:none!important}}
@media print{.reaper,.reaper-effects,.reaper-chat{display:none!important}}
.reaper-effects{transition:transform 1.35s ease-in}
.reaper-effects[data-action="shadows"],.reaper-effects[data-action="mark"]{transition:none}
.reaper-effects[data-action="chase"] i,.reaper-effects[data-action="mark"] i,.reaper-effects[data-action="banish"] i{display:block;opacity:.84}
.reaper-effects[data-action="mark"] .reaper-mark{animation-duration:6.2s}
.reaper-effects[data-action="banish"] .reaper-mark{display:block;animation:reaper-dissolve 2s ease-out both}
.reaper-effects[data-action="banish"] i{animation:reaper-dissolve 1.5s ease-out both}
@keyframes reaper-dissolve{to{opacity:0;transform:translateY(-20px) scale(1.3)}}
.reaper,.reaper-effects{top:auto;bottom:12px}
.reaper{transition-duration:2.65s;--facing:1}
.reaper img{transform:scaleX(var(--facing));transform-origin:center bottom}
.reaper[data-action="walk"] img,.reaper[data-action="run"] img,.reaper[data-action="pursue"] img{animation:patrol-bob .28s ease-in-out alternate infinite}
.reaper[data-action="run"],.reaper[data-action="pursue"]{transition-duration:.68s}
.reaper[data-action="startle"] img{animation:patrol-startle .65s ease-out}
.reaper[data-action="think"]::after{content:"!";position:absolute;top:-18px;right:9px;color:#a86a16;background:#fff3c9;border-radius:50%;width:19px;font-weight:800}
.reaper[data-action="grow"] img,.reaper[data-action="pursue"] img{scale:1.25}
.reaper[data-action="grow"] img{animation:patrol-grow .65s ease-out}
@keyframes patrol-bob{from{transform:translateY(-1px) rotate(-4deg) scaleX(var(--facing))}to{transform:translateY(-5px) rotate(4deg) scaleX(var(--facing))}}
@keyframes patrol-startle{35%{transform:translateY(-14px) rotate(-12deg) scaleX(var(--facing))}}
@keyframes patrol-grow{from{scale:1}to{scale:1.25}}
.reaper-effects i::before,.reaper-effects i::after{content:"";position:absolute;top:12px;width:3px;height:3px;border-radius:50%;background:#ffd99a}
.reaper-effects i::before{left:7px}.reaper-effects i::after{left:14px}
.reaper-effects .reaper-mark{top:auto;bottom:0;left:var(--mark-offset,0px);width:67px;height:24px}
.reaper-mark em{position:absolute;inset:3px 14px;border:1px solid #e7bc72;border-radius:50%;transform:rotate(-12deg)}
.reaper-effects[data-action="mark"] .reaper-mark{animation-duration:3.8s}
.reaper-effects[data-action="banish"] i{animation-delay:.25s;animation-fill-mode:both}
.reaper-chat strong{display:flex;align-items:center;gap:10px;min-height:48px}
.reaper-portrait{width:47px;height:47px;object-fit:contain;background:#ede2df;border:1px solid #ddccc8;border-radius:50%}
@media(prefers-reduced-motion:reduce){.reaper img{animation:none!important}}
.reaper-pose{position:absolute;inset:0;display:block;transform:scaleX(var(--facing));transform-origin:50% 94%}
.reaper-pose img{position:absolute;inset:0;transform:none;pointer-events:none}
.reaper-leg{position:absolute;z-index:1;top:78%;left:44%;height:17%;width:7%;background:#232025;border-radius:3px;transform-origin:50% 10%;display:none}
.reaper-leg:nth-child(2){left:55%}
.reaper-leg::after{content:"";position:absolute;bottom:0;left:0;width:150%;height:38%;background:#201c22;border-radius:3px}
.reaper:is([data-action="walk"],[data-action="run"],[data-action="pursue"]) .reaper-leg{display:block;animation:reaper-stride .46s ease-in-out infinite}
.reaper:is([data-action="run"],[data-action="pursue"]) .reaper-leg{animation-duration:.24s;--stride:49deg}
.reaper .reaper-leg:nth-child(2){animation-direction:reverse}
@keyframes reaper-stride{0%,100%{transform:rotate(var(--stride,28deg))}50%{transform:rotate(calc(-1 * var(--stride,28deg)))}}
.reaper:is([data-action="walk"],[data-action="run"],[data-action="pursue"]) .reaper-pose img{animation:reaper-body-step .23s alternate infinite ease-in-out}
.reaper:is([data-action="run"],[data-action="pursue"]) .reaper-pose img{animation-duration:.12s}
@keyframes reaper-body-step{from{transform:translateY(-2px) rotate(0)}to{transform:translateY(-5px) rotate(7deg)}}
.reaper[data-action="startle"] .reaper-pose img{animation:reaper-flinch .65s ease-out}
@keyframes reaper-flinch{40%{transform:translateY(-12px) rotate(-16deg)}}
.reaper[data-action="draw"] .reaper-pose img{animation:reaper-crouch 1.95s both}
@keyframes reaper-crouch{20%,75%{transform:translate(4px,4px) rotate(24deg) scaleY(.78)}}
.reaper-hand{display:none;position:absolute;z-index:2;top:66%;left:64%;width:22%;height:32%;border-radius:6px;background:#29242c;transform-origin:top left}
.reaper-hand::after{content:"";position:absolute;bottom:-1px;right:-2px;width:7px;height:5px;border-radius:4px;background:#f5e6cb}
.reaper[data-action="draw"] .reaper-hand{display:block;animation:reaper-reach 1.95s both}
@keyframes reaper-reach{0%,100%{opacity:0;transform:rotate(-60deg)}20%,75%{opacity:1;transform:rotate(-24deg) translate(6px,2px)}}
.reaper-effects:is([data-action="approach"],[data-action="scatter"]) i{display:block;opacity:.84}
.reaper-effects:is([data-action="approach"],[data-action="mark"],[data-action="scatter"],[data-action="banish"]) i{translate:var(--shadow-drift,0px) 0;transition:translate 1.65s ease-out}
.reaper-effects[data-action="scatter"] i{translate:calc(var(--shadow-drift,0px) + 160px) -8px;transition-duration:.75s}
.reaper-effects[data-action="mark"] .reaper-mark{animation-delay:.24s;animation-fill-mode:both}
.reaper-effects[data-action="scatter"] .reaper-mark{display:block;opacity:.65}
.reaper[data-action="land"] .reaper-pose img{animation:reaper-stop .38s ease-out}
@keyframes reaper-stop{30%{transform:rotate(10deg) scaleY(.9)}}
@media(prefers-reduced-motion:reduce){.reaper-leg,.reaper-hand{animation:none!important}}
.reaper .reaper-leg:nth-child(2){animation-direction:normal;animation-delay:-.23s}
.reaper:is([data-action="run"],[data-action="pursue"]) .reaper-leg:nth-child(2){animation-delay:-.12s}
.reaper[data-action="run"]{transition-timing-function:cubic-bezier(.35,.08,.28,1)}
.reaper[data-action="pursue"]{transition-timing-function:cubic-bezier(.3,.05,.32,1)}
/* The floating mascot and its transformation at the bottom edge. */
.reaper:is([data-action="walk"],[data-action="run"]) .reaper-pose img{animation:reaper-hover .64s ease-in-out infinite alternate}
.reaper[data-action="run"] .reaper-pose img{animation-duration:.35s}
@keyframes reaper-hover{from{transform:translateY(-3px)}to{transform:translateY(-9px)}}
.reaper[data-action="draw"] .reaper-pose img{animation:reaper-hover .7s ease-in-out infinite alternate}
.reaper-goat{display:none;position:absolute;left:-10px;bottom:0;width:76px;height:65px}
.reaper:is([data-action="transform"],[data-action="pursue"],[data-action="vanish"]) .reaper-pose > img{opacity:0}
.reaper:is([data-action="transform"],[data-action="pursue"],[data-action="vanish"]) .reaper-goat{display:block}
.reaper[data-action="transform"] .reaper-goat{animation:goat-appear .65s ease-out both}
@keyframes goat-appear{from{opacity:0;scale:.62;filter:drop-shadow(0 0 13px #e9bb69)}to{opacity:1;scale:1.1}}
.reaper[data-action="pursue"] .reaper-goat{animation:goat-gallop .19s ease-in-out infinite alternate}
@keyframes goat-gallop{to{translate:0 -7px;rotate:-6deg}}
.reaper[data-action="vanish"] .reaper-goat{animation:goat-vanish .65s ease-in both}
@keyframes goat-vanish{to{opacity:0;translate:24px 0;filter:blur(3px)}}
.reaper-effects[data-action="scatter"] i{translate:calc(100vw - 55px - var(--shadow-origin,0px)) -8px;transition-duration:.7s}

.reaper .reaper-goat img{object-fit:contain;filter:drop-shadow(0 2px 2px #0006)}
.reaper-goat{height:auto;aspect-ratio:3/2;bottom:4px}
.reaper .goat-layer{display:none}
.reaper[data-action="pursue"] .reaper-goat > img:not(.goat-layer){visibility:hidden}
.reaper[data-action="pursue"] .goat-layer{display:block}
.goat-body{z-index:2;clip-path:polygon(0 0,100% 0,100% 55%,68% 56%,66% 60%,59% 62%,54% 69%,44% 75%,35% 70%,27% 64%,18% 62%,11% 54%,0 54%)}
.goat-front-near{z-index:3;clip-path:polygon(50% 49%,61% 52%,62% 61%,69% 63%,72% 72%,76% 81%,83% 94%,70% 96%,65% 86%,62% 76%,52% 73%);transform-origin:56% 57%;--lag:0s}
.goat-front-far{clip-path:polygon(64% 60%,72% 54%,81% 62%,91% 80%,84% 84%,77% 76%,74% 69%,69% 71%);transform-origin:67% 63%;--lag:-.16s}
.goat-back-near{z-index:1;clip-path:polygon(30% 56%,43% 63%,40% 73%,33% 80%,27% 81%,24% 90%,16% 100%,13% 94%,15% 85%,19% 80%,20% 74%,27% 70%);transform-origin:34% 63%;--lag:-.19s}
.goat-back-far{clip-path:polygon(25% 50%,36% 56%,32% 66%,25% 69%,20% 67%,16% 78%,6% 84%,4% 78%,7% 71%,13% 67%,16% 56%);transform-origin:25% 58%;--lag:-.03s}
.reaper[data-action="pursue"] .goat-layer:not(.goat-body){animation:goat-hoof .32s ease-in-out var(--lag) infinite}
@keyframes goat-hoof{0%,100%{rotate:-13deg}45%{rotate:18deg}68%{rotate:9deg;translate:0 -1px}}
.reaper[data-action="pursue"]{transition-duration:.94s}
.reaper-effects[data-action="scatter"] i{transition-duration:.92s}
.reaper-effects[data-action="banish"] i{translate:calc(100vw - 55px - var(--shadow-origin,0px)) -8px;transition:none}

.reaper[data-action="walk"]{transition:transform 12s linear}
.reaper-results a{display:flex;align-items:center;gap:9px;margin-top:8px;padding:7px;background:#f0e9e7;border-radius:6px}.reaper-results img{width:42px;height:42px;object-fit:cover;border-radius:5px}

.agenda-home{border-bottom:1px solid var(--line);background:var(--agenda-wash,#f0e9e7);padding-block:36px}
.agenda-banner,.agenda-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}
.agenda-banner img{border-radius:12px;object-fit:cover}
.agenda-banner p{margin:8px 0}.agenda-controls{margin:18px 0 10px}
.agenda-controls button{border:1px solid var(--line);background:#fffdf8;border-radius:6px;padding:5px 13px;cursor:pointer;color:var(--ink)}
.agenda-legend{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:13px}.agenda-home li{margin-bottom:8px}
.agenda-home a{text-decoration:underline}.agenda-home #agenda-status{margin:10px 0}
body[data-agenda-theme] .topbar{background:var(--agenda-accent)}
.herb-photo-missing{display:grid;place-content:center;justify-items:center;min-height:95px;background:#f1e9e7;border:1px solid #e0d1cd;border-radius:8px;color:#6a413c;font-size:13px;padding:8px}
.herb-photo-missing b{font-size:30px}
@media(min-width:761px){.header nav{gap:clamp(7px,1vw,17px)}}

.agenda-home .agenda-banner,.agenda-home .agenda-layout,.agenda-home .agenda-controls,.agenda-home .agenda-legend{max-width:1100px;margin-inline:auto}
.agenda-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:20px;margin-block:20px}
.agenda-sheet,.agenda-details{background:#fffdf8;border:1px solid var(--line);border-radius:14px;padding:clamp(12px,2vw,24px)}
.agenda-week,#agenda-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;text-align:center}
.agenda-week{font-size:.72rem;font-weight:700;margin-bottom:8px}.agenda-week span{min-width:0}
#agenda-grid>span{display:grid;place-items:center;min-height:37px;border-radius:6px;background:#f1f0e9}
#agenda-grid>span:empty{background:transparent}
#agenda-grid a{width:100%;height:100%;display:grid;place-items:center;background:#482c28;color:#fff;border-radius:6px;text-decoration:none;font-weight:700}
.agenda-details ul{padding-left:19px}.agenda-details li:target{background:#ede2df;outline:2px solid #7d4d46}
@media(max-width:760px){.agenda-layout{grid-template-columns:1fr}#inicio.hero{background-size:cover,cover,auto 78%,auto 78%;background-position:center,center,36% top,72% bottom;background-image:linear-gradient(90deg,#251210e8,#2512109a),linear-gradient(0deg,#251210ca,transparent),url('assets/orixas/iansa-original.png'),url('assets/orixas/xango-original.png')}}

#inicio.hero {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.94fr);
  gap:clamp(20px,4vw,62px); align-items:center;
  background:#48201c url('assets/hero-tempestade.png') center / 100% 100% no-repeat;
  padding:clamp(32px,5vw,70px) clamp(18px,6vw,95px);
}
#inicio .hero-content { min-width:0; }
#inicio h1 { font-size:clamp(42px,5.6vw,86px); }
.hero-art { position:relative; padding-bottom:53px; }
.hero-portraits { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.hero-portraits img {
  display:block; width:100%; aspect-ratio:3/4;
  object-fit:cover; object-position:center 20%;
  border-radius:12px; border:1px solid #e7cc915c;
}
.hero-seal {
  position:absolute; bottom:0; left:50%; transform:translateX(-50%);
  width:100px; height:100px; object-fit:cover; border-radius:50%;
  border:3px solid #e6ca91; box-shadow:0 5px 18px #0008;
}
.topic-art img {
  display:block;
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;
  object-position:center 22%;
}
#casa .house-visual {
  background:#48201c url('assets/hero-tempestade.png') center / cover no-repeat;
  color:#fff5e3;
}
#casa .house-visual::before,
#casa .house-visual::after { content:none; }
.house-orixas {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  width:min(100%,285px);
}
.house-orixas img {
  display:block;
  width:100%;
  aspect-ratio:1;
  object-fit:cover;
  object-position:center 18%;
  border:1px solid #dcb780;
  border-radius:12px;
}
#casa .arch {
  margin-top:-32px;
  background:#301613ed;
  border-color:#dcb780;
  outline:none;
  padding-top:18px;
}
#casa .arch img { width:110px; height:110px; }
#casa .arch p, #casa .visual-caption { color:#f9e1bb; }
#casa .visual-caption {
  background:#301613;
  border-radius:4px;
  padding:5px 8px;
  text-align:center;
}
@media(max-width:760px) {
  #inicio.hero {
    grid-template-columns:1fr;
    background-image:linear-gradient(180deg,#241210e8 0%,#241210bc 48%,transparent 76%),url('assets/hero-tempestade.png');
    background-position:center,right center;
    background-size:cover;
  }
  .hero-art { width:min(100%,460px); margin-inline:auto; }
  .hero-portraits img { aspect-ratio:1; }
}
body .topbar, body[data-agenda-theme] .topbar {
  background:linear-gradient(105deg,#87583e,#8b4439);
  color:#fff8ea;
}
.agenda-home [data-kind="aberta"] { --status-color:#643832; --status-wash:#eee1de; }
.agenda-home [data-kind="fechada"], .agenda-home [data-kind="cancelada"] { --status-color:#943e37; --status-wash:#f8e2de; }
.agenda-home [data-kind="pendente"] { --status-color:#5e625c; --status-wash:#efe8e6; }
.agenda-home [data-kind="festa"] { --status-color:#785711; --status-wash:#f8edcc; }
.agenda-home [data-kind="cultural"] { --status-color:#415e81; --status-wash:#e4edf8; }
.agenda-legend [data-kind], #agenda-grid a[data-kind] {
  background:var(--status-wash);
  color:var(--status-color);
}
.agenda-legend [data-kind] { padding:3px 8px; border-radius:5px; }
#agenda-list { list-style:none; padding:0; }
#agenda-list li {
  display:grid;
  grid-template-columns:7.1rem minmax(0,1fr);
  gap:8px;
  align-items:baseline;
  padding:7px 8px;
  border-left:3px solid var(--status-color);
  background:var(--status-wash);
}
#agenda-list time { font-variant-numeric:tabular-nums; font-weight:600; }
.hero-emblem { flex-shrink:0; }
#contato {
  background:#48201c url('assets/hero-tempestade.png') center / 100% 100% no-repeat;
  background-image:linear-gradient(180deg,#24121055,transparent 70%),url('assets/hero-tempestade.png');
}
#contato .eyebrow { color:#edce95; }
#contato p { color:#fff1dc; }
.contact-portraits { width:min(100%,460px); margin:28px auto 0; }
.contact-portraits img { aspect-ratio:4/3; }
@media(max-width:380px) {
  #agenda-list li { grid-template-columns:6.1rem minmax(0,1fr); font-size:.85rem; }
}
.site-icon {
  display:inline-block; width:1.1em; height:1.1em; vertical-align:-.16em;
  fill:none; stroke:currentColor; stroke-width:1.75;
  stroke-linecap:round; stroke-linejoin:round; flex:none;
}
button > .site-icon:first-child:not(:last-child) { margin-inline-end:.4em; }
.menu-toggle .site-icon { width:22px; height:22px; }
.topic-art .site-icon { width:32px; height:32px; }
/* As cores do calendário comunicam o status da programação. */
.agenda-home [data-kind="aberta"] { --status-color:#326447; --status-wash:#deeee4; }
.agenda-home [data-kind="pendente"] { --status-color:#5e625c; --status-wash:#ebede8; }
.next-gira {
  max-width:470px; margin-top:20px; padding:12px 15px; border-radius:8px;
  background:#2b1513ed; border:1px solid #c38d68; color:#fff4e4;
}
.next-gira p { margin:3px 0 6px; }
.next-gira div { display:flex; gap:6px 16px; flex-wrap:wrap; }
.next-gira a { color:#ffe2a2; text-decoration:underline; }
