@import url('../../fonts/fonts.css');
*{box-sizing:border-box}
body.album-page{margin:0;background:#f8fafc;color:#16385b;font:14px/1.5 Play,Arial,sans-serif}
.album-header{max-width:1100px;margin:auto;padding:24px 20px;border-bottom:1px solid #ead8b2}
.album-header h1{font:500 36px/1.2 Georgia,serif;margin:20px 0 8px;color:#16385b}
.album-header p{margin:0;color:#607890}
.album-back{display:inline-flex;padding:10px 16px;border:1px solid #d9b975;border-radius:24px;background:white;color:#715113;text-decoration:none}
.album-grid{max-width:1100px;margin:auto;padding:24px 16px 48px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:start}
.album-card{min-width:0;margin:0;padding:10px;background:white;border:1px solid #ead8b2;border-radius:18px;overflow:hidden;box-shadow:0 4px 16px #15395a08}
.album-card button{display:block;width:100%;padding:0;border:0;background:#edf2f6;border-radius:10px;overflow:hidden;cursor:zoom-in}
.album-card img{display:block;width:100%;height:210px;object-fit:contain}
.album-card figcaption{padding:12px 3px 4px;text-align:left;font:400 14px/1.5 Play,Arial,sans-serif;word-break:normal;overflow-wrap:break-word;letter-spacing:normal;text-transform:none}
.album-viewer{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:60px 48px 24px;border:0;background:#101c2b;color:white}
.album-viewer::backdrop{background:#101c2b}
.album-viewer figure{display:flex;flex-direction:column;align-items:center;height:100%;margin:0;gap:16px}
.album-viewer img{max-width:100%;max-height:calc(100% - 110px);min-height:0;object-fit:contain}
.album-viewer figcaption{max-width:900px;overflow:auto;white-space:pre-wrap;overflow-wrap:break-word;font:400 15px/1.5 Play,Arial,sans-serif}
.album-viewer button{position:absolute;border:1px solid #ffffff60;border-radius:24px;width:42px;height:42px;background:#ffffff15;color:white;font:28px/1 Arial;cursor:pointer}
.album-close{right:16px;top:12px}.album-prev{left:4px;top:45%}.album-next{right:4px;top:45%}
:focus-visible{outline:3px solid #2381d3;outline-offset:4px}
@media(max-width:850px){.album-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.album-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px 12px}.album-card img{height:160px}.album-card figcaption{font-size:13px}.album-header{padding:18px 16px}}
@media(max-width:340px){.album-grid{grid-template-columns:1fr}.album-card img{height:240px}}
.gallery-floating-close{position:fixed;z-index:5;right:30px;top:max(30px,env(safe-area-inset-top));display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:50%;border:1px solid #dca64a;background:linear-gradient(145deg,#fff,#ffedbf);box-shadow:0 6px 16px #ac782b40;color:#9a650e;animation:galleryCloseFloat 3s ease-in-out infinite}
.gallery-floating-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.gallery-floating-close:hover{filter:brightness(1.06)}.album-header{padding-top:72px}
@keyframes galleryCloseFloat{50%{transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){.gallery-floating-close{animation:none}}
/* Modelo 5 — cabeçalhos das galerias conforme referência. */
.gallery-model5{background:linear-gradient(135deg,#fbfaf6,#f1f7fd)!important}
.gallery-model5 .gallery-premium-header{position:relative;display:flex;align-items:center;gap:20px;max-width:1068px;margin:24px auto 18px;padding:22px 66px 22px 20px;min-height:116px;border:1px solid #e9c985;border-radius:18px;background:linear-gradient(135deg,#fffcf5,#fff 58%,#f5f5f1);box-shadow:0 5px 14px #b6913f09;isolation:isolate}
.gallery-premium-icon{display:grid;place-items:center;color:#c6a86c;width:60px;height:60px;flex:0 0 60px}.gallery-premium-icon svg{width:52px;height:52px}
.gallery-premium-copy{border-left:1px solid #e6c78c;padding-left:18px;min-width:0}
.gallery-premium-copy h1{font:600 clamp(34px,6.5vw,54px)/1.05 Georgia,serif;letter-spacing:-.035em;margin:0 0 8px;color:#092b48}
.gallery-premium-copy p{font:400 clamp(12px,2.9vw,18px)/1.4 Play,Arial,sans-serif;color:#547699;margin:0;overflow-wrap:break-word}
.gallery-premium-leaf{position:absolute;right:12px;bottom:0;width:110px;height:74px;fill:#e4d3af22;stroke:#d9c39c66;stroke-width:1.2;z-index:-1;pointer-events:none}
.gallery-premium-videos .gallery-premium-icon{width:76px;height:76px;flex-basis:76px;border-radius:50%;color:#b88319;background:radial-gradient(circle at 32% 24%,#fffef1 25%,#fff0be 65%,#edcc73);border:1px solid #eac77c;box-shadow:inset 0 0 0 2px #fff9e7,0 9px 20px #b6842733}
.gallery-premium-videos:after{content:"";position:absolute;inset:50% 0 0;z-index:-1;background:linear-gradient(16deg,transparent 45%,#f0ddb34d 46%,#fffdf7 48%,transparent 54%);border-radius:0 0 18px 18px}
.gallery-model5 .gallery-floating-close{position:absolute;top:14px;right:14px;box-shadow:0 5px 12px #ac782b30;transition:box-shadow .2s,scale .2s,background .2s}
.gallery-model5 .gallery-floating-close:hover,.gallery-model5 .gallery-floating-close:focus-visible{scale:1.08;background:#ffe6a8;box-shadow:0 0 0 4px #eabd5533,0 8px 18px #ac782b50}
.gallery-model5 .gallery-floating-close:active{scale:.94}
.video-note-icon{display:none}
.gallery-model5 .video-note{display:flex;align-items:center;gap:14px;max-width:1068px;margin:0 auto 12px;padding:16px 18px;border:1px solid #e3effb;border-radius:18px;background:#edf4fb;color:#527093}
.gallery-model5 .video-note-icon{display:block;width:48px;height:48px;flex:0 0 48px;border-radius:50%;padding:10px;background:#dceaf9;color:#356b9f}
.gallery-model5 .album-grid{padding-top:4px}
@media(max-width:1100px){.gallery-model5 .gallery-premium-header,.gallery-model5 .video-note{margin-left:16px;margin-right:16px}}
@media(max-width:480px){.gallery-model5 .gallery-premium-header{gap:12px;padding:18px 52px 18px 12px;margin-top:18px}.gallery-premium-icon{width:42px;height:50px;flex-basis:42px}.gallery-premium-icon svg{width:40px;height:40px}.gallery-premium-copy{padding-left:12px}.gallery-premium-videos .gallery-premium-icon{width:54px;height:54px;flex-basis:54px}.gallery-model5 .gallery-floating-close{width:38px;height:38px;right:10px;top:12px}.gallery-model5 .video-note{font-size:13px;padding:12px;gap:10px}.gallery-model5 .video-note-icon{width:40px;height:40px;flex-basis:40px}}
@media(prefers-reduced-motion:reduce){.gallery-model5 .gallery-floating-close{animation:none;transition:none;scale:1}}


