.gallery-heading{padding:65px var(--space) 55px;display:flex;justify-content:space-between;align-items:flex-end;gap:45px}.gallery-heading h1{font-size:clamp(3.5rem,7vw,7rem)}.gallery-heading>div{max-width:320px;padding-bottom:10px}.gallery-heading p{font-size:17px}.profile-link{display:inline-block;margin-top:24px;color:var(--accent);text-underline-offset:5px}.profile-link:hover{text-decoration:underline}.gallery-toolbar{padding:0 var(--space) 24px;display:flex;justify-content:space-between;align-items:center;gap:24px}.gallery-toolbar p{font-size:14px}.gallery-controls{display:flex;gap:10px;align-items:center}.gallery-controls button{padding:10px 17px;border:1px solid var(--line);border-radius:24px;background:none;font-size:13px;min-height:42px}.gallery-controls button:hover:not(:disabled){background:var(--surface)}.gallery-controls button:disabled{opacity:.4;cursor:default}.gallery-controls #hover-toggle{border:0;color:var(--muted)}.photo-track{display:flex;gap:35px;overflow-x:auto;overscroll-behavior-x:contain;padding:10px var(--space) 26px;scrollbar-width:thin;scrollbar-color:#647fa2 var(--bg);touch-action:pan-x pan-y;scroll-padding-inline:var(--space)}.photo-track:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.photo-item{flex:0 0 min(65vw,850px);min-width:0;display:block}.photo-window{aspect-ratio:4/3;max-height:560px;overflow:hidden;border-radius:14px;background:var(--surface)}.photo-window img{width:100%;height:100%;object-fit:cover;transition:transform .75s cubic-bezier(.23,1,.32,1)}@media(hover:hover){.photo-item:hover img{transform:scale(1.035)}}.photo-item:focus-visible{outline:2px solid var(--accent);outline-offset:5px;border-radius:14px}.photo-item figcaption{display:flex;justify-content:space-between;gap:20px;padding-top:18px;font-size:17px}.photo-item figcaption span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-item figcaption span:last-child{font-size:13px;color:var(--muted);flex-shrink:0}.gallery-status{display:flex;justify-content:space-between;gap:30px;padding:20px var(--space) 0;font-size:12px;color:var(--muted)}.gallery-status p{max-width:760px}.gallery-status>span{white-space:nowrap}.gallery-close{padding:110px var(--space);display:flex;align-items:center;justify-content:space-between;gap:30px}.gallery-close p{font-size:clamp(2.5rem,5vw,5rem);letter-spacing:-.04em;line-height:1.15;color:var(--ink)}.gallery-footer{border-top:1px solid var(--line);padding:25px var(--space);display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:13px}.gallery-footer a:hover{color:var(--accent)}.mobile-home{display:none}.gallery-page .nav a[aria-current]{color:var(--accent)}
@media(max-width:700px){.mobile-home{display:block;font-size:14px}.gallery-heading{display:block;padding-top:45px;padding-bottom:35px}.gallery-heading h1{font-size:3.5rem}.gallery-heading>div{margin-top:25px;max-width:340px}.gallery-heading p{font-size:16px}.profile-link{margin-top:17px}.gallery-toolbar{display:block;padding-bottom:15px}.gallery-toolbar p{margin-bottom:16px}.gallery-controls{justify-content:flex-end}.gallery-controls #hover-toggle{margin-right:auto;padding-left:0}.photo-track{gap:20px}.photo-item{flex-basis:84vw}.photo-window{aspect-ratio:3/4;max-height:460px}.photo-item figcaption{display:block}.photo-item figcaption span{display:block}.photo-item figcaption span:last-child{margin-top:5px}.gallery-status{display:block}.gallery-status>span{display:block;margin-top:15px}.gallery-close{padding-top:70px;padding-bottom:70px;display:block}.gallery-close .button{margin-top:30px}.gallery-footer{font-size:12px}}
@media(prefers-reduced-motion:reduce){.photo-window img{transition:none!important;transform:none!important}}
/* Galeria sanfonada: fotos sobrepostas expandem e deslocam as vizinhas. */
@media(min-width:701px){
 .photo-track{gap:0;align-items:flex-start;padding-top:20px;padding-bottom:32px}
 .photo-item{position:relative;flex:0 0 min(30vw,410px);margin-left:-76px;transition:flex-basis .65s cubic-bezier(.23,1,.32,1),margin .65s cubic-bezier(.23,1,.32,1);filter:drop-shadow(-14px 8px 18px #0006)}
 .photo-item:first-child{margin-left:0}
 .photo-track:has(.photo-item:nth-child(2):last-child) .photo-item{flex-basis:min(46vw,620px)}
 .photo-window{height:clamp(350px,43vw,550px);aspect-ratio:auto;max-height:none}
 .photo-item figcaption{padding-left:8px;padding-right:8px}
 .photo-item figcaption span:last-child{display:none}
 .photo-item:focus-within{flex-basis:min(67vw,850px)!important;margin-right:24px;z-index:3}
 .photo-item:focus-within figcaption span:last-child{display:block}
}
@media(min-width:701px) and (hover:hover) and (pointer:fine){
 .photo-track:not(.effects-paused) .photo-item:hover{flex-basis:min(67vw,850px)!important;margin-right:24px;z-index:3}
 .photo-track:not(.effects-paused) .photo-item:hover figcaption span:last-child{display:block}
 .photo-item:hover img{transform:none}
}
@media(prefers-reduced-motion:reduce){.photo-item{transition:none!important}}
.effects-paused .photo-item{transition:none}

/* rev.17 — biblioteca completa do Google Drive, mosaico inspirado no Apple Fotos */
.drive-gallery{background:#081421;color:#eef6ff;padding:clamp(80px,9vw,135px) var(--space) clamp(90px,10vw,150px);position:relative;overflow:hidden}
.drive-gallery::before{content:'';position:absolute;width:55vw;height:55vw;right:-28vw;top:-22vw;border-radius:50%;border:1px solid #82b7dc22;box-shadow:0 0 0 70px #7db0d50b,0 0 0 140px #7db0d508;pointer-events:none}
.drive-gallery-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:45px;position:relative;z-index:1}.drive-gallery-heading>div{max-width:900px}.drive-gallery-heading h2{font-size:clamp(2.6rem,5.2vw,5.3rem);line-height:1.04}.drive-gallery-heading h2 span{color:#a9d7f7}.drive-gallery-heading>p{max-width:360px;color:#b9ccdc;font-size:15px}.drive-gallery .section-label{font-size:13px;color:#8fb8d7;margin-bottom:20px;text-transform:uppercase;letter-spacing:.08em}
.photo-filters{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr)) auto auto;gap:12px;align-items:end;margin:55px 0 26px;padding:20px;background:#10283d;border:1px solid #29465e;border-radius:16px;position:relative;z-index:1}.photo-filters label{display:grid;gap:7px;color:#afc8dc;font-size:12px}.photo-filters input,.photo-filters select{width:100%;min-height:44px;padding:9px 11px;border:1px solid #42627c;border-radius:9px;background:#091b2b;color:#eff7ff;font:inherit;color-scheme:dark}.photo-filters button{min-height:44px;border-radius:24px;padding:9px 17px;font:inherit}.filter-apply{border:0;background:#bfe2fa;color:#123954;font-weight:600}.filter-clear{border:1px solid #54728a;background:transparent;color:#d9e9f5}.drive-gallery-status{margin:0 0 28px;color:#98b4ca;font-size:13px}.photo-day{margin-top:38px}.photo-day>h3{font-size:clamp(1.2rem,2vw,1.7rem);font-weight:500;color:#d7e9f7;margin-bottom:14px;letter-spacing:-.02em}
.apple-photo-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:62px;grid-auto-flow:dense;gap:5px}.photo-tile{display:block;position:relative;overflow:hidden;border:0;padding:0;background:#173049;border-radius:5px;cursor:zoom-in;min-width:0;min-height:0}.photo-tile img{width:100%;height:100%;object-fit:cover;transition:transform .55s cubic-bezier(.16,1,.3,1),filter .3s}.photo-tile:hover img{transform:scale(1.025)}.photo-tile:focus-visible{outline:3px solid #b9dfff;outline-offset:2px;z-index:2}.tile-square{grid-column:span 3;grid-row:span 3}.tile-square-large{grid-column:span 4;grid-row:span 4}.tile-wide{grid-column:span 4;grid-row:span 3}.tile-wide-large{grid-column:span 6;grid-row:span 4}.tile-tall{grid-column:span 3;grid-row:span 5}.tile-feature{grid-column:span 6;grid-row:span 5}.photo-load-error{background:linear-gradient(145deg,#173049,#284b67)}.photo-load-error img{visibility:hidden}.load-more-photos{display:block;margin:38px auto 0;padding:12px 22px;border:1px solid #6e8ba3;border-radius:28px;background:#10283d;color:#e8f4fd;font:inherit}#photo-sentinel{height:2px}
.photo-lightbox{width:100vw;height:100svh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#02070cde;color:#fff;overflow:hidden}.photo-lightbox::backdrop{background:#02070cf0}.lightbox-shell{position:relative;width:100%;height:100%;display:grid;place-items:center;padding:68px 7vw 90px}.lightbox-shell figure{max-width:min(88vw,1500px);max-height:calc(100svh - 145px);display:flex;flex-direction:column;align-items:center;gap:14px}.lightbox-shell figure img{display:block;max-width:100%;max-height:calc(100svh - 205px);width:auto;height:auto;object-fit:contain;border-radius:8px;box-shadow:0 24px 80px #0008}.lightbox-shell figcaption{width:100%;display:flex;justify-content:space-between;gap:18px;color:#c6d8e6;font-size:13px}.lightbox-close,.lightbox-nav{position:absolute;z-index:3;border:1px solid #ffffff35;background:#071827cc;color:#fff;backdrop-filter:blur(10px)}.lightbox-close{right:22px;top:20px;width:46px;height:46px;border-radius:50%;font-size:29px;line-height:1}.lightbox-nav{top:50%;transform:translateY(-50%);width:52px;height:72px;border-radius:28px;font-size:40px;line-height:1}.lightbox-prev{left:22px}.lightbox-next{right:22px}.lightbox-download{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);background:#d7edfc;color:#143a58}.lightbox-download:hover{transform:translateX(-50%)}body:has(.photo-lightbox[open]){overflow:hidden}
@media(max-width:1000px){.photo-filters{grid-template-columns:repeat(2,minmax(0,1fr)) auto auto}.apple-photo-grid{grid-template-columns:repeat(8,minmax(0,1fr));grid-auto-rows:68px}.tile-square{grid-column:span 2}.tile-square-large{grid-column:span 4}.tile-wide{grid-column:span 4}.tile-wide-large{grid-column:span 5}.tile-tall{grid-column:span 2}.tile-feature{grid-column:span 5}}
@media(max-width:700px){.drive-gallery{padding:70px 14px 95px}.drive-gallery-heading{display:block;padding-inline:8px}.drive-gallery-heading>p{margin-top:22px}.photo-filters{grid-template-columns:1fr 1fr;margin-top:36px;padding:14px;gap:10px}.photo-filters .filter-apply,.photo-filters .filter-clear{width:100%}.apple-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:72px;gap:3px}.tile-square{grid-column:span 2;grid-row:span 2}.tile-square-large{grid-column:span 2;grid-row:span 3}.tile-wide{grid-column:span 4;grid-row:span 2}.tile-wide-large{grid-column:span 4;grid-row:span 3}.tile-tall{grid-column:span 2;grid-row:span 3}.tile-feature{grid-column:span 4;grid-row:span 4}.photo-day{margin-top:28px}.photo-day>h3{padding-inline:5px}.lightbox-shell{padding:62px 10px 92px}.lightbox-shell figure{max-width:100%;max-height:calc(100svh - 150px)}.lightbox-shell figure img{max-height:calc(100svh - 215px)}.lightbox-nav{top:auto;bottom:19px;width:44px;height:44px;font-size:30px}.lightbox-prev{left:16px}.lightbox-next{right:16px}.lightbox-download{bottom:18px}.lightbox-shell figcaption{padding-inline:6px;font-size:11px}.lightbox-close{right:14px;top:12px}}
@media(prefers-reduced-motion:reduce){.photo-tile img{transition:none!important;transform:none!important}}

/* rev.19 — proporção real das fotos, visualização maior e hover de aproximação */
.photo-window{height:auto!important;max-height:none!important;background:#0d2032}
.photo-window img{width:100%;height:100%;object-fit:cover}
.photo-item.portrait{flex-basis:min(28vw,380px)}
.photo-item.landscape{flex-basis:min(58vw,780px)}
.photo-item.square{flex-basis:min(42vw,560px)}
@media(min-width:701px){
 .photo-item{flex-basis:min(42vw,560px);margin-left:-46px}
 .photo-item:first-child{margin-left:0}
 .photo-item:focus-within{flex-basis:min(70vw,960px)!important}
 .photo-track:not(.effects-paused) .photo-item:hover{flex-basis:min(70vw,960px)!important}
}
.apple-photo-grid{display:block;column-count:5;column-gap:8px}
.photo-tile{display:block;width:100%;height:auto!important;aspect-ratio:auto!important;margin:0 0 8px;break-inside:avoid;overflow:hidden;border-radius:8px;transform:translateZ(0);transition:transform .28s cubic-bezier(.16,1,.3,1),box-shadow .28s cubic-bezier(.16,1,.3,1),filter .28s;z-index:0}
.photo-tile img{display:block;width:100%;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;transition:none}
@media(hover:hover) and (pointer:fine){
 .photo-tile:hover{transform:scale(1.045);box-shadow:0 22px 55px #0008;z-index:4}
 .photo-tile:hover img{transform:none}
}
.photo-lightbox{background:#01050af2}.photo-lightbox::backdrop{background:#01050af7}
.lightbox-shell{padding:34px 4vw 78px}
.lightbox-shell figure{width:100%;height:100%;max-width:96vw;max-height:calc(100svh - 105px);justify-content:center}
.lightbox-shell figure img{max-width:94vw;max-height:calc(100svh - 145px);width:auto;height:auto;object-fit:contain;border-radius:6px;box-shadow:0 30px 100px #000c}
.lightbox-shell figcaption{max-width:94vw}
@media(max-width:1100px){.apple-photo-grid{column-count:4}}
@media(max-width:800px){.apple-photo-grid{column-count:3}.photo-item.portrait,.photo-item.landscape,.photo-item.square{flex-basis:82vw}}
@media(max-width:520px){.apple-photo-grid{column-count:2;column-gap:5px}.photo-tile{margin-bottom:5px;border-radius:5px}.lightbox-shell{padding:54px 8px 82px}.lightbox-shell figure img{max-width:98vw;max-height:calc(100svh - 145px)}}
@media(prefers-reduced-motion:reduce){.photo-tile{transition:none!important;transform:none!important}}


/* rev.20 — proporção real sem corte, hover ampliado e lightbox de conferência */
.photo-track{align-items:flex-start}
.photo-item{transform-origin:center center;transition:transform .32s cubic-bezier(.16,1,.3,1),flex-basis .65s cubic-bezier(.23,1,.32,1),margin .65s cubic-bezier(.23,1,.32,1)}
.photo-window{height:auto!important;max-height:none!important;overflow:hidden;background:#0b1b2a}
.photo-window img{display:block!important;width:100%!important;height:auto!important;object-fit:contain!important;object-position:center!important}
.photo-item.portrait{flex-basis:min(30vw,420px)!important}
.photo-item.landscape{flex-basis:min(60vw,900px)!important}
.photo-item.square{flex-basis:min(44vw,620px)!important}
@media(min-width:701px) and (hover:hover) and (pointer:fine){
 .photo-track:not(.effects-paused) .photo-item:hover{transform:scale(1.035);z-index:6}
}
.apple-photo-grid{display:block;column-count:5;column-gap:9px}
.photo-tile{display:block;width:100%;height:auto!important;aspect-ratio:auto!important;margin:0 0 9px;break-inside:avoid;overflow:visible;border-radius:8px;background:transparent;transition:transform .3s cubic-bezier(.16,1,.3,1),filter .3s cubic-bezier(.16,1,.3,1);transform-origin:center center}
.photo-tile img{display:block;width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;border-radius:8px;background:#10283d;box-shadow:0 8px 26px #0003}
@media(hover:hover) and (pointer:fine){
 .photo-tile:hover{transform:scale(1.06);filter:drop-shadow(0 18px 32px #0009);z-index:10}
 .photo-tile:hover img{transform:none!important}
}
.photo-lightbox{background:#01050af5}
.photo-lightbox::backdrop{background:#01050afa}
.lightbox-shell{padding:18px 3vw 72px}
.lightbox-shell figure{width:100%;height:100%;max-width:98vw;max-height:calc(100svh - 88px);justify-content:center;gap:10px}
.lightbox-shell figure img{max-width:97vw;max-height:calc(100svh - 118px);width:auto!important;height:auto!important;object-fit:contain!important;border-radius:7px;box-shadow:0 32px 110px #000d}
.lightbox-shell figcaption{max-width:97vw}
@media(max-width:1100px){.apple-photo-grid{column-count:4}}
@media(max-width:800px){.apple-photo-grid{column-count:3}.photo-item.portrait,.photo-item.landscape,.photo-item.square{flex-basis:84vw!important}}
@media(max-width:520px){.apple-photo-grid{column-count:2;column-gap:5px}.photo-tile{margin-bottom:5px}.lightbox-shell{padding:46px 6px 76px}.lightbox-shell figure img{max-width:99vw;max-height:calc(100svh - 112px)}}
@media(prefers-reduced-motion:reduce){.photo-item,.photo-tile{transition:none!important;transform:none!important}}


/* rev.21 — alvos de toque mínimos */
.gallery-controls button,.load-more-photos,.photo-filters button{min-height:44px}

@media(max-width:420px){.photo-filters{grid-template-columns:1fr}}
