:root { --background:#eee8de; --surface:#f8f4ed; --text:#302a25; --muted:#82776d; --gold:#ad7c37; --border:rgba(70,54,38,.14); }
* { box-sizing:border-box; }
html { color-scheme:light; scroll-behavior:smooth; }
body { margin:0; min-width:320px; background:var(--background); color:var(--text); font-family:Arial, Helvetica, sans-serif; }
a { color:inherit; }
button, a { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:2px solid var(--gold); outline-offset:4px; }
.site-header { position:relative; z-index:5; text-align:center; padding:18px 20px 8px; }
.paw-mark { display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:5px; color:var(--gold); }
.paw-mark span { width:36px; height:1px; background:currentColor; opacity:.7; }
.paw-mark svg { width:18px; height:18px; fill:currentColor; }
.brand { display:inline-block; text-decoration:none; font-family:Georgia, serif; font-size:clamp(1.35rem, 3vw, 1.75rem); font-weight:400; letter-spacing:.48em; padding-left:.48em; }
.site-header p { margin:5px 0 11px; color:var(--muted); font-family:Georgia, serif; font-size:.78rem; letter-spacing:.06em; }
nav { display:flex; justify-content:center; gap:32px; }
nav a { padding:5px 1px; color:var(--muted); text-decoration:none; text-transform:uppercase; font-size:.67rem; letter-spacing:.18em; border-bottom:1px solid transparent; }
nav a:hover, nav a.active { color:var(--gold); border-color:var(--gold); }
.memorial-page { min-height:100vh; overflow:hidden; display:flex; flex-direction:column; }
.ambient { position:fixed; inset:-70px; z-index:0; opacity:.13; background:50% / cover no-repeat; filter:blur(45px) saturate(.7); transition:background-image 1.2s ease; }
.ambient::after { content:""; position:absolute; inset:0; background:rgba(238,232,222,.6); }
.carousel-shell { position:relative; z-index:1; flex:1; min-height:0; width:min(1180px, 100%); margin:auto; padding:8px 62px 20px; display:flex; flex-direction:column; justify-content:center; }
.carousel { position:relative; min-height:0; }
.photo-stage { position:relative; width:100%; aspect-ratio:16/9; max-height:68vh; display:grid; place-items:center; overflow:hidden; background:#171411; border:1px solid rgba(70,54,38,.18); box-shadow:0 18px 60px rgba(66,48,31,.14); }
.photo-stage img { width:100%; height:100%; object-fit:contain; opacity:1; transition:opacity .8s ease; }
.photo-stage img:not([src]) { visibility:hidden; }
.photo-stage img.changing { opacity:0; }
.slide-timer { position:absolute; z-index:4; left:0; bottom:0; width:0; height:2px; background:linear-gradient(90deg,#a87731,#e4c98f); box-shadow:0 0 8px rgba(214,163,79,.3); }
.slide-timer.running { animation:slide-progress 7s linear forwards; }
.slide-timer.paused { animation-play-state:paused; }
@keyframes slide-progress { from { width:0; } to { width:100%; } }
.photo-date { position:absolute; right:22px; bottom:18px; text-align:right; text-shadow:0 1px 6px #000; }
.photo-date a { text-decoration:none; }
.photo-date strong, .photo-date span { display:block; }
.photo-date strong { color:#e6bd75; font:400 1rem Georgia,serif; letter-spacing:.08em; }
.photo-date span { margin-top:3px; color:rgba(255,255,255,.78); font-size:.7rem; letter-spacing:.08em; }
.arrow { position:absolute; top:50%; width:48px; height:64px; border:0; background:transparent; color:rgba(65,52,41,.58); font:200 3rem Georgia,serif; cursor:pointer; transform:translateY(-50%); transition:color .2s, transform .2s; }
.arrow:hover { color:var(--gold); transform:translateY(-50%) scale(1.08); }
.previous { right:100%; } .next { left:100%; }
.progress { height:20px; display:flex; justify-content:center; align-items:center; margin:8px auto 0; }
.progress.dots { gap:8px; }.progress.dots i { width:4px; height:4px; border-radius:50%; background:var(--muted); }.progress.dots i.active { background:var(--gold); transform:scale(1.4); }
.progress.line { width:min(180px,40%); }.progress.line::before { content:""; width:100%; height:1px; background:var(--border); }.progress.line span { position:absolute; height:1px; align-self:center; background:var(--gold); transition:width .4s; }
.carousel-footer { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; color:var(--muted); font-family:Georgia,serif; font-size:.78rem; }
.carousel-footer p { grid-column:2; margin:0; }.counter { grid-column:3; justify-self:end; font-family:Arial,sans-serif; font-size:.67rem; letter-spacing:.14em; }
.fullscreen-button { align-self:flex-end; display:flex; align-items:center; gap:7px; margin:0 0 7px; padding:7px 10px; border:1px solid var(--border); border-radius:20px; background:rgba(248,244,237,.62); color:var(--muted); font-size:.62rem; letter-spacing:.1em; text-transform:uppercase; cursor:pointer; backdrop-filter:blur(8px); }
.fullscreen-button:hover { color:var(--gold); border-color:rgba(173,124,55,.45); }
.fullscreen-button svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.5; }.fullscreen-button .exit-icon { display:none; }
.empty-state, .loading { color:var(--muted); text-align:center; font:italic .9rem Georgia,serif; line-height:1.8; }.empty-state strong { color:var(--text); font-weight:400; }
.sticky { position:sticky; top:0; background:rgba(238,232,222,.88); backdrop-filter:blur(14px); border-bottom:1px solid var(--border); }
.gallery { width:min(1320px,100%); min-height:50vh; margin:0 auto; padding:42px 32px 100px; }
.year-section { scroll-margin-top:145px; margin-bottom:70px; }
.year-section h2 { margin:0; text-align:center; color:var(--text); font:400 1.35rem Georgia,serif; letter-spacing:.16em; text-transform:uppercase; }
.year-rule { width:70px; height:1px; margin:12px auto 28px; background:var(--gold); opacity:.65; }
.photo-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.thumb { position:relative; display:block; overflow:hidden; aspect-ratio:3/2; background:var(--surface); }
.thumb img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .45s ease, opacity .3s; }
.thumb span { position:absolute; inset:auto 0 0; padding:35px 12px 11px; color:rgba(255,255,255,.85); font-size:.68rem; letter-spacing:.08em; text-align:right; opacity:0; background:linear-gradient(transparent,rgba(0,0,0,.72)); transition:opacity .3s; }
.thumb:hover img { transform:scale(1.025); opacity:.8; }.thumb:hover span { opacity:1; }
.presentation-mode { background:#090807; }
.presentation-mode .site-header { position:fixed; top:0; left:0; right:0; opacity:0; transform:translateY(-15px); transition:opacity .5s, transform .5s; }
.presentation-mode .site-header:hover { opacity:1; transform:none; }
.presentation-mode .ambient { opacity:.35; filter:blur(45px) saturate(.7); }.presentation-mode .ambient::after { background:rgba(0,0,0,.58); }
.presentation-mode .carousel-shell { width:100%; max-width:none; height:100vh; padding:0; }
.presentation-mode .carousel { height:100%; }.presentation-mode .photo-stage { height:100vh; max-height:none; aspect-ratio:auto; border:0; box-shadow:none; background:#090807; }
.presentation-mode .fullscreen-button { position:fixed; z-index:20; top:18px; right:18px; margin:0; color:rgba(255,255,255,.8); background:rgba(0,0,0,.32); border-color:rgba(255,255,255,.25); opacity:.45; }
.presentation-mode .fullscreen-button:hover { opacity:1; }.presentation-mode .enter-icon { display:none; }.presentation-mode .exit-icon { display:block; }
.presentation-mode .arrow { z-index:10; color:rgba(255,255,255,.62); }.presentation-mode .previous { left:12px; right:auto; }.presentation-mode .next { right:12px; left:auto; }
.presentation-mode .progress { position:fixed; z-index:10; left:50%; bottom:24px; transform:translateX(-50%); }.presentation-mode .carousel-footer { display:none; }
@media (min-width:1250px) { .photo-grid { grid-template-columns:repeat(5,1fr); } }
@media (max-width:800px) { .photo-grid { grid-template-columns:repeat(3,1fr); }.gallery { padding-inline:18px; } }
@media (max-width:560px) {
  .site-header { padding-top:10px; }.paw-mark { margin-bottom:2px; }.site-header p { margin:3px 0 7px; }.brand { font-size:1.25rem; } nav { gap:26px; }
  .carousel-shell { padding:5px 0 14px; }.fullscreen-button { margin-right:10px; }.photo-stage { height:min(65vh, calc(100vh - 205px)); border-left:0; border-right:0; }.arrow { z-index:2; width:42px; color:rgba(255,255,255,.72); background:rgba(0,0,0,.12); }.previous { left:0; right:auto; }.next { left:auto; right:0; }
  .photo-date { right:14px; bottom:12px; }.carousel-footer { padding:0 14px; font-size:.7rem; }.counter { font-size:.6rem; }
  .photo-grid { grid-template-columns:repeat(2,1fr); gap:5px; }.gallery { padding:30px 5px 70px; }.year-section { scroll-margin-top:125px; margin-bottom:52px; }.year-rule { margin-bottom:18px; }.thumb span { opacity:1; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *, *::before, *::after { transition:none!important; animation:none!important; } }

/* Capa memorial */
.home-page { background:#e9e2d7; }
.memorial-hero { position:relative; min-height:100svh; overflow:hidden; isolation:isolate; color:#fff; background:#16120e; }
.hero-photo { position:absolute; inset:0; z-index:-3; width:100%; height:100%; object-fit:cover; object-position:center 52%; }
.hero-shade { position:absolute; inset:0; z-index:-2; background:linear-gradient(90deg,rgba(5,5,4,.90) 0%,rgba(6,5,4,.82) 18%,rgba(7,6,5,.58) 34%,rgba(8,7,5,.30) 46%,rgba(8,7,5,.10) 58%,rgba(8,7,5,.02) 70%,transparent 82%),linear-gradient(180deg,rgba(4,4,3,.28) 0%,transparent 24%,transparent 72%,rgba(4,4,3,.30) 100%); }
.hero-header { position:absolute; top:0; left:50%; width:min(620px,100%); transform:translateX(-50%); padding-top:34px; }
.hero-header .paw-mark { color:#ddb66b; }.hero-header .brand { color:#fff; font:400 3.4rem/1 'Allura','Segoe Script',cursive; letter-spacing:.02em; padding:0; }
.hero-header p { margin:0 0 5px; color:rgba(255,255,255,.68); font-family:'Cormorant Garamond',Georgia,serif; font-style:italic; }
.hero-header nav { margin-top:4px; align-items:center; gap:25px; }.site-header nav i { width:1px; height:17px; background:currentColor; opacity:.4; }
.hero-header nav a { color:rgba(255,255,255,.82); font-family:'Montserrat',Arial,sans-serif; font-size:.7rem; font-weight:400; }.hero-header nav a.active,.hero-header nav a:hover { color:#e2bc70; }
.hero-copy { position:absolute; top:51%; left:clamp(45px,8.5vw,170px); width:min(500px,42vw); transform:translateY(-38%); text-align:left; }
.in-memory { margin:0 0 -15px 22px; color:#e4c27f; font:italic 500 clamp(1.55rem,2.5vw,2.5rem)/1 'Cormorant Garamond',Georgia,serif; }
.hero-copy h1 { margin:0; color:#e2bf78; font:400 clamp(6.8rem,11vw,11rem)/.92 'Allura','Segoe Script',cursive; text-shadow:0 3px 25px rgba(0,0,0,.35); }
.heart-rule { display:flex; align-items:center; gap:12px; width:82%; margin:-7px 0 20px 3px; color:#dcb66b; }.heart-rule span { height:1px; flex:1; background:linear-gradient(90deg,transparent,currentColor); }.heart-rule span:last-child { background:linear-gradient(90deg,currentColor,transparent); }.heart-rule b { font-size:1rem; }
.life-dates { margin:0 0 26px 4px; font:400 clamp(1.08rem,1.55vw,1.45rem)/1.3 'Cormorant Garamond',Georgia,serif; letter-spacing:.035em; white-space:nowrap; }.life-dates i { color:#d9b36b; font-style:normal; padding:0 7px; }
.leaf-mark { width:155px; color:#ba9654; font:2rem Georgia,serif; text-align:center; transform:rotate(-4deg); opacity:.8; }
.forever-copy { max-width:440px; margin:0 0 30px 5px; color:#f4eee6; font:400 clamp(1.08rem,1.5vw,1.38rem)/1.3 'Cormorant Garamond',Georgia,serif; letter-spacing:.015em; }.forever-copy strong { font-weight:500; }.forever-copy strong::first-line { color:#e3c17d; }
.gallery-cta { display:flex; align-items:center; gap:16px; width:min(350px,100%); padding:17px 20px; border:1px solid #d8ae5e; border-radius:12px; color:#e5bf71; font:500 .7rem 'Montserrat',Arial,sans-serif; letter-spacing:.09em; text-transform:uppercase; text-decoration:none; transition:.3s; }.gallery-cta b { margin-left:auto; font-size:1.35rem; font-weight:300; }.gallery-cta:hover { color:#17120c; background:#dfb96c; transform:translateY(-2px); }.photo-icon { font-size:1.35rem; }
.scroll-cue { position:absolute; left:50%; bottom:18px; display:flex; flex-direction:column; align-items:center; color:#d6ad60; font:500 .57rem 'Montserrat',Arial,sans-serif; letter-spacing:.14em; text-transform:uppercase; text-decoration:none; transform:translateX(-50%); }.scroll-cue span { font:2.2rem/1 Georgia,serif; animation:cue 1.8s ease-in-out infinite; } @keyframes cue { 50% { transform:translateY(5px); } }
.memories-section { position:relative; min-height:100vh; overflow:hidden; padding:70px 0 40px; background:#e9e2d7; }.memories-section .ambient { position:absolute; }
.section-heading { position:relative; z-index:2; text-align:center; }.section-heading span,.gallery-intro>span { color:#ad7c37; font:500 .61rem 'Montserrat',Arial,sans-serif; letter-spacing:.22em; text-transform:uppercase; }.section-heading h2 { margin:0 0 10px; font:400 clamp(3.3rem,6vw,5.5rem)/1 'Allura','Segoe Script',cursive; }.section-heading div { width:65px; height:1px; margin:auto; background:#ad7c37; }
.home-page .carousel-shell { min-height:620px; }.home-page .carousel-footer { font-family:'Cormorant Garamond',Georgia,serif; font-size:.9rem; }

/* Galeria editorial */
.gallery-page { background:#eee8de; background-image:radial-gradient(circle at 50% -15%,#fff 0,transparent 38%); }
.gallery-page .site-header { font-family:'Montserrat',Arial,sans-serif; }.gallery-page .brand { font-family:'Montserrat',Arial,sans-serif; font-weight:300; }
.gallery-intro { padding:58px 20px 8px; text-align:center; }.gallery-intro h1 { margin:0 0 2px; font:400 clamp(4rem,7vw,6.5rem)/1 'Allura','Segoe Script',cursive; }.gallery-intro p { margin:0; color:var(--muted); font:italic 1rem 'Cormorant Garamond',Georgia,serif; }
.gallery-page .gallery { padding-top:50px; }.gallery-page .year-section { margin-bottom:90px; }.gallery-page .year-section h2 { font-family:'Allura','Segoe Script',cursive; font-size:2.8rem; font-weight:400; letter-spacing:.04em; text-transform:none; }
.gallery-page .photo-grid { gap:14px; }.gallery-page .thumb { border-radius:2px; box-shadow:0 8px 26px rgba(61,45,30,.1); }.gallery-page .thumb::after { content:""; position:absolute; inset:0; border:1px solid rgba(255,255,255,.16); pointer-events:none; }
.lightbox { width:100vw; max-width:none; height:100vh; max-height:none; margin:0; padding:0; overflow:hidden; border:0; background:rgba(8,7,6,.96); color:#fff; }
.lightbox::backdrop { background:rgba(8,7,6,.9); backdrop-filter:blur(10px); }
.lightbox[open] { display:block; }
.lightbox figure { position:absolute; inset:0; width:100%; height:100%; margin:0; }
.lightbox-media { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; overflow:hidden; padding:18px 76px 74px; touch-action:none; cursor:zoom-in; }
.lightbox-media.zoomed { cursor:grab; }.lightbox-media.zoomed:active { cursor:grabbing; }
.lightbox figure img { display:block; width:100%; height:100%; max-width:100%; max-height:100%; object-fit:contain; user-select:none; opacity:1; transform-origin:center; transition:opacity .35s ease,transform .18s ease; }.lightbox figure img.loading { opacity:0; }
.lightbox figcaption { position:absolute; z-index:4; inset:0; pointer-events:none; color:rgba(255,255,255,.72); font:.72rem 'Montserrat',Arial,sans-serif; letter-spacing:.08em; }
.lightbox-details { position:absolute; top:17px; left:20px; display:flex; align-items:center; gap:12px; padding:9px 13px; border:1px solid rgba(255,255,255,.14); border-radius:4px; background:rgba(0,0,0,.46); backdrop-filter:blur(10px); pointer-events:auto; }.lightbox-details strong { color:#e6bd75; font-size:.78rem; font-weight:500; }.lightbox-details span { color:rgba(255,255,255,.7); font-size:.62rem; }
.zoom-controls { position:absolute; left:50%; bottom:17px; display:flex; align-items:center; gap:5px; padding:3px 6px; border:1px solid rgba(255,255,255,.13); border-radius:20px; background:rgba(0,0,0,.42); transform:translateX(-50%); backdrop-filter:blur(8px); pointer-events:auto; }.zoom-controls button { min-width:28px; height:27px; padding:0 7px; border:0; background:transparent; color:rgba(255,255,255,.8); cursor:pointer; }.zoom-controls .zoom-reset { color:#d9b36b; font-size:.55rem; text-transform:uppercase; letter-spacing:.08em; }.zoom-value { min-width:43px; text-align:center; font-size:.58rem; }
.lightbox figcaption a { color:#d9b36b; text-decoration:none; text-transform:uppercase; font-size:.58rem; }
.lightbox figcaption>a { position:absolute; right:22px; bottom:25px; pointer-events:auto; }
.lightbox-close { position:fixed; z-index:3; top:15px; right:20px; width:42px; height:42px; border:0; background:transparent; color:rgba(255,255,255,.8); font:300 2rem Arial,sans-serif; cursor:pointer; }
.lightbox-arrow { position:fixed; z-index:5; top:50%; width:54px; height:70px; border:0; background:rgba(0,0,0,.16); color:rgba(255,255,255,.72); font:300 3.3rem Georgia,serif; cursor:pointer; transform:translateY(-50%); }.lightbox-previous { left:8px; }.lightbox-next { right:8px; }
.lightbox-arrow:hover,.lightbox-close:hover { color:#dfb96c; }

@media (max-width:700px) {
  .hero-header { padding-top:12px; }.hero-header .brand { font-size:2.8rem; }.hero-header nav { margin-top:2px; }.hero-photo { object-position:62% center; }.hero-shade { background:linear-gradient(180deg,rgba(5,4,3,.60),rgba(5,4,3,.06) 28%,rgba(5,4,3,.18) 52%,rgba(5,4,3,.78) 100%); }
  .hero-copy { top:135px; bottom:auto; left:22px; width:calc(100% - 44px); transform:none; }.in-memory { margin:0 0 -10px 5px; font-size:1.25rem; }.hero-copy h1 { font-size:5.45rem; }.heart-rule { width:260px; max-width:75%; margin:-2px 0 14px; }.life-dates { max-width:100%; margin:0 0 18px; font-size:1.02rem; line-height:1.35; white-space:normal; }.life-dates i { padding:0 3px; }.forever-copy { max-width:430px; margin:0 0 20px; font-size:1.08rem; line-height:1.28; }.gallery-cta { width:285px; padding:14px 17px; }.scroll-cue { display:none; }
  .memories-section { padding-top:48px; }.home-page .carousel-shell { min-height:0; }
  .gallery-intro { padding-top:38px; }.gallery-page .gallery { padding-top:35px; }.gallery-page .photo-grid { gap:6px; }
  .lightbox-media { padding:58px 38px 104px; }.lightbox-arrow { width:36px; height:58px; }.lightbox-previous { left:0; }.lightbox-next { right:0; }.lightbox-details { top:10px; left:10px; padding:7px 9px; }.zoom-controls { bottom:54px; }.lightbox figcaption>a { right:12px; bottom:18px; }
}

/* Experiência fotográfica em tela cheia */
.memories-section { min-height:100svh; height:100svh; padding:0; background:#17130f; color:#f7f0e7; }
.memories-section .ambient { inset:-60px; opacity:.5; filter:blur(55px) saturate(.75); }
.memories-section .ambient::after { background:rgba(14,11,8,.68); }
.memories-section .section-heading { position:absolute; z-index:7; top:20px; left:20px; transform:none; width:auto; max-width:55%; padding:9px 14px 10px; color:#f6eee5; text-align:left; text-shadow:0 2px 18px rgba(0,0,0,.58); background:rgba(10,8,6,.22); border:1px solid rgba(255,255,255,.08); border-radius:4px; backdrop-filter:blur(10px); box-shadow:0 7px 28px rgba(0,0,0,.09); }
.memories-section .section-heading span { color:#dfbd79; }
.memories-section .section-heading h2 { margin:-4px 0 0; font-size:clamp(2.3rem,3.5vw,3.7rem); }
.memories-section .section-heading div { display:none; }
.home-page .carousel-shell { position:relative; z-index:2; width:100%; max-width:none; height:100svh; min-height:0; margin:0; padding:0; justify-content:stretch; }
.home-page .carousel { flex:1; min-height:0; }
.home-page .photo-stage { width:100%; height:100%; max-height:none; aspect-ratio:auto; border:0; background:rgba(8,7,6,.12); box-shadow:none; }
.carousel-photo { position:absolute; inset:0; z-index:1; width:100%; height:100%; object-fit:contain; opacity:0; filter:blur(8px) brightness(.88); transition:opacity 1.35s ease,filter 1.35s ease; }
.carousel-photo.is-visible { z-index:2; opacity:1; filter:blur(0) brightness(1); }
.photo-stage img:not([src]) { visibility:visible; }
.stage-vignette { position:absolute; inset:0; z-index:3; pointer-events:none; background:linear-gradient(180deg,rgba(7,5,3,.46) 0%,transparent 24%,transparent 70%,rgba(7,5,3,.48) 100%); box-shadow:inset 0 0 100px rgba(0,0,0,.15); }
.home-page .photo-date { z-index:7; top:auto; right:auto; bottom:16px; left:126px; padding:0; text-align:left; border:0; background:transparent; backdrop-filter:none; }
.home-page .photo-date a { display:flex; align-items:center; gap:7px; height:30px; color:rgba(255,255,255,.8); font-family:'Montserrat',Arial,sans-serif; }.home-page .photo-date strong { color:#dbb66f; font:500 .67rem 'Montserrat',Arial,sans-serif; letter-spacing:.08em; }.home-page .photo-date span { margin:0; font-size:.62rem; }.home-page .photo-date i { color:rgba(255,255,255,.35); font-style:normal; }
.home-page .arrow { z-index:6; top:0; bottom:0; width:72px; height:auto; transform:none; color:rgba(255,255,255,.75); text-shadow:0 2px 12px rgba(0,0,0,.8); }
.home-page .arrow:hover { color:#e3bc70; transform:none; }
.home-page .previous { left:0; right:auto; background:linear-gradient(90deg,rgba(0,0,0,.28),transparent); }
.home-page .next { right:0; left:auto; background:linear-gradient(270deg,rgba(0,0,0,.28),transparent); }
.home-page .fullscreen-button { position:absolute; z-index:8; top:auto; right:17px; bottom:14px; width:34px; height:34px; margin:0; padding:0; justify-content:center; color:rgba(255,255,255,.8); border:0; border-radius:3px; background:rgba(10,8,6,.28); }
.home-page .fullscreen-button span { display:none; }
.home-page .carousel-footer { position:absolute; z-index:7; left:17px; right:65px; bottom:15px; display:flex; align-items:center; color:rgba(255,255,255,.8); text-shadow:0 1px 8px #000; pointer-events:none; }
.player-meta { display:flex; align-items:center; gap:10px; pointer-events:auto; }.player-meta button { width:30px; height:30px; padding:0; border:0; background:transparent; color:rgba(255,255,255,.9); font:500 .8rem Arial,sans-serif; cursor:pointer; }.player-meta .counter { position:static; min-width:58px; justify-self:auto; color:rgba(255,255,255,.82); font-size:.62rem; letter-spacing:.09em; }
.home-page .carousel-footer p { position:absolute; left:50%; max-width:55%; margin:0; transform:translateX(-50%); text-align:center; white-space:nowrap; }
.home-page .carousel-footer p { opacity:1; transition:opacity .22s ease; }.home-page .carousel-footer p.phrase-changing { opacity:0; }
.home-page .progress { display:none; }
.home-page .slide-timer { height:3px; }

/* Abertura mais expressiva para a galeria */
.gallery-page .sticky { padding:10px 20px 8px; background:rgba(235,227,216,.93); box-shadow:0 8px 30px rgba(77,55,34,.06); }
.gallery-page .sticky .paw-mark { margin:0 0 -7px; transform:scale(.75); }
.gallery-page .sticky .brand { font:400 3.4rem/1 'Allura','Segoe Script',cursive; letter-spacing:.02em; padding:0; color:#4a392c; }
.gallery-page .sticky p { margin:0 0 5px; font-family:'Cormorant Garamond',Georgia,serif; font-size:.78rem; font-style:italic; }
.gallery-page .sticky nav { gap:38px; }.gallery-page .sticky nav a { font-family:'Montserrat',Arial,sans-serif; }
.hero-header,.gallery-page .sticky { padding:10px 20px 8px; }
.hero-header .paw-mark,.gallery-page .sticky .paw-mark { margin:0 0 -7px; transform:scale(.75); }
.hero-header nav,.gallery-page .sticky nav { gap:38px; margin-top:0; }
.gallery-banner { display:block; width:100%; overflow:hidden; background:#d9cbbb; }
.gallery-banner img { display:block; width:100%; height:auto; object-fit:contain; }
.mobile-profile { display:none; }
.mobile-feed,.mobile-feed-header,.feed-sentinel,.year-filter-shell { display:none; }
.gallery-intro { position:relative; isolation:isolate; overflow:hidden; min-height:280px; display:flex; flex-direction:column; justify-content:center; background:linear-gradient(135deg,#e6dccd,#f7f2ea 48%,#dfd2c0); border-bottom:1px solid rgba(89,63,38,.12); }
.gallery-intro::before { content:"Brian"; position:absolute; z-index:-1; left:50%; top:46%; color:rgba(150,106,51,.075); font:400 clamp(10rem,24vw,21rem)/1 'Allura','Segoe Script',cursive; transform:translate(-50%,-50%); white-space:nowrap; }
.gallery-intro::after { content:""; width:74px; height:1px; margin:18px auto 0; background:#ad7c37; }
.gallery-intro h1 { color:#3b3027; text-shadow:0 1px 0 rgba(255,255,255,.5); }
.gallery-page .photo-grid { grid-template-columns:repeat(4,1fr); grid-auto-flow:dense; grid-auto-rows:clamp(125px,14vw,215px); gap:14px; }
.gallery-page .photo-grid .thumb { aspect-ratio:auto; }
.gallery-page .photo-grid .thumb:first-child { grid-column:span 2; grid-row:span 2; }
.year-heading { margin:0 auto 28px; text-align:center; }.year-heading h2 { margin:-2px 0 0; }.year-heading p { margin:-7px 0 0; color:#b27c37; font:500 .67rem 'Montserrat',Arial,sans-serif; letter-spacing:.08em; }.year-paw { display:flex; align-items:center; justify-content:center; gap:8px; color:#b4823d; }.year-paw i { width:27px; height:1px; background:currentColor; opacity:.55; }.year-paw b { font-size:.72rem; }
.gallery-page .thumb { transition:transform .35s ease,box-shadow .35s ease; }
.gallery-page .thumb:hover { z-index:2; transform:translateY(-5px); box-shadow:0 18px 42px rgba(61,45,30,.2); }

@media (max-width:700px) {
  .memories-section .section-heading { top:10px; left:10px; max-width:72%; padding:6px 10px 7px; }.memories-section .section-heading span { display:none; }.memories-section .section-heading h2 { margin:0; font-size:2.05rem; }
  .home-page .carousel-shell { height:100svh; padding:0; }.home-page .fullscreen-button { top:auto; right:8px; bottom:9px; width:36px; height:36px; }.home-page .photo-stage { height:100%; max-height:none; border:0; }
  .home-page .arrow { width:48px; }.home-page .photo-date { left:101px; bottom:12px; }.home-page .carousel-footer { left:8px; right:50px; bottom:11px; }.home-page .carousel-footer p { bottom:44px; max-width:85%; font-size:.72rem; line-height:1.2; white-space:normal; }.player-meta .counter { min-width:55px; }
  .gallery-banner img { max-height:none; }.gallery-page .photo-grid { grid-template-columns:repeat(2,1fr); grid-auto-rows:145px; gap:6px; }
}

/* Experiência mobile inspirada em perfil e Reels */
@media (max-width:700px) {
  .home-page .hero-header { top:0; left:0; width:100%; transform:none; display:grid; grid-template-columns:1fr auto; align-items:center; padding:9px 13px; text-align:left; background:linear-gradient(180deg,rgba(0,0,0,.62),transparent); }
  .home-page .hero-header .paw-mark,.home-page .hero-header p { display:none; }
  .home-page .hero-header .brand { justify-self:start; font-size:2.35rem; }
  .home-page .hero-header nav { justify-self:end; gap:17px; }.home-page .hero-header nav i { display:none; }.home-page .hero-header nav a { padding:7px 0; font-size:.58rem; }
  .home-page .hero-copy { top:auto; bottom:24px; left:14px; width:calc(100% - 28px); padding:15px 14px 17px; background:linear-gradient(90deg,rgba(0,0,0,.48),rgba(0,0,0,.08)); border-radius:5px; backdrop-filter:blur(5px); }
  .home-page .in-memory { font-size:1.05rem; }.home-page .hero-copy h1 { font-size:4.6rem; }.home-page .heart-rule { width:210px; margin-bottom:9px; }.home-page .life-dates { margin-bottom:10px; font-size:.9rem; }.home-page .forever-copy { margin-bottom:13px; font-size:.94rem; }.home-page .gallery-cta { width:235px; padding:11px 13px; font-size:.58rem; }
  .home-page .memories-section .section-heading { background:rgba(0,0,0,.32); border-radius:9px; }.home-page .memories-section .section-heading h2 { font-size:1.9rem; }
  .home-page .carousel-footer p { padding:7px 10px; border-radius:18px; background:rgba(0,0,0,.32); backdrop-filter:blur(7px); }

  .gallery-page { background:#fafafa; }
  .gallery-page .sticky { display:grid; grid-template-columns:1fr auto; align-items:center; padding:7px 12px; text-align:left; background:rgba(250,250,250,.94); }
  .gallery-page .sticky .paw-mark,.gallery-page .sticky p { display:none; }
  .gallery-page .sticky .brand { justify-self:start; font-size:2.5rem; }
  .gallery-page .sticky nav { justify-self:end; gap:16px; }.gallery-page .sticky nav i { display:none; }.gallery-page .sticky nav a { padding:7px 0; font-size:.56rem; }
  .mobile-profile { display:grid; grid-template-columns:76px 1fr; gap:5px 15px; padding:17px 15px 13px; background:#fafafa; color:#342b25; }
  .mobile-profile>img { grid-row:1 / 3; width:76px; height:76px; padding:3px; border:2px solid #b9853e; border-radius:50%; object-fit:cover; }
  .mobile-profile-main { align-self:center; }.mobile-profile-main h1 { margin:0; font:400 2.35rem/1 'Allura','Segoe Script',cursive; }.mobile-profile-main p { margin:2px 0 0; color:#766b62; font:italic .78rem 'Cormorant Garamond',Georgia,serif; }
  .mobile-profile dl { grid-column:1 / -1; display:grid; grid-template-columns:repeat(3,1fr); margin:11px 0 0; padding-top:11px; border-top:1px solid rgba(70,54,38,.11); text-align:center; }.mobile-profile dl div { display:flex; flex-direction:column; }.mobile-profile dt { font:500 .83rem 'Montserrat',Arial,sans-serif; }.mobile-profile dd { margin:2px 0 0; color:#82776d; font:.6rem 'Montserrat',Arial,sans-serif; }
  .gallery-banner { border-top:1px solid rgba(70,54,38,.08); border-bottom:1px solid rgba(70,54,38,.08); }
  .gallery-page .gallery { padding:26px 2px 70px; }
  .gallery-page .year-section { margin-bottom:35px; }.gallery-page .year-heading { margin-bottom:13px; }.gallery-page .year-heading h2 { font-size:2.2rem; }.gallery-page .year-heading p { margin-top:-5px; font-size:.54rem; }
  .gallery-page .photo-grid { grid-template-columns:repeat(3,1fr); grid-auto-rows:auto; gap:2px; }
  .gallery-page .photo-grid .thumb,.gallery-page .photo-grid .thumb:first-child { grid-column:span 1; grid-row:span 1; aspect-ratio:1/1; border-radius:0; box-shadow:none; }
  .gallery-page .thumb span { padding:24px 5px 5px; font-size:.48rem; }

  .home-page .memories-section { height:auto; min-height:100svh; overflow:visible; padding:0; background:#f7f7f7; color:#26211d; }
  .home-page .memories-section>.ambient,.home-page .memories-section>.section-heading,.home-page .memories-section>.carousel-shell { display:none; }
  .home-page.opening-presentation .memories-section>.carousel-shell,.home-page.presentation-mode .memories-section>.carousel-shell { display:flex; position:fixed; inset:0; z-index:100; }
  .mobile-feed-header { position:sticky; z-index:15; top:0; display:flex; align-items:center; justify-content:space-between; padding:10px 12px; border-bottom:1px solid #ddd; background:rgba(250,250,250,.94); backdrop-filter:blur(12px); }
  .mobile-feed-header div { display:flex; flex-direction:column; }.mobile-feed-header span { color:#9b7139; font:.52rem 'Montserrat',Arial,sans-serif; letter-spacing:.14em; text-transform:uppercase; }.mobile-feed-header strong { margin-top:2px; font:400 1.4rem/1 'Allura','Segoe Script',cursive; }.mobile-feed-header button { padding:7px 10px; border:1px solid #b9853e; border-radius:16px; background:transparent; color:#8f642f; font:500 .52rem 'Montserrat',Arial,sans-serif; letter-spacing:.06em; text-transform:uppercase; }
  .mobile-feed { display:block; width:100%; max-width:520px; margin:0 auto; }
  .feed-post { margin:0 0 9px; border-bottom:1px solid #ddd; background:#fff; color:#28231f; }
  .feed-post header { display:flex; align-items:center; gap:9px; height:52px; padding:7px 11px; }.feed-post header>img { width:35px; height:35px; padding:2px; border:1.5px solid #b9853e; border-radius:50%; object-fit:cover; }.feed-post header div { display:flex; flex:1; flex-direction:column; }.feed-post header strong { font:500 .75rem 'Montserrat',Arial,sans-serif; }.feed-post header span { margin-top:2px; color:#847970; font:.58rem 'Montserrat',Arial,sans-serif; }.feed-post header>a { color:#a87534; font:500 .65rem 'Montserrat',Arial,sans-serif; text-decoration:none; }
  .feed-photo { display:block; width:100%; background:#17130f; }.feed-photo img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; }
  .feed-post footer { padding:11px 12px 15px; font:400 .85rem/1.35 'Cormorant Garamond',Georgia,serif; }.feed-post footer strong { margin-right:4px; font-family:'Montserrat',Arial,sans-serif; font-size:.68rem; }
  .feed-sentinel { display:block; min-height:80px; padding:20px; color:#8b7e73; text-align:center; font:italic .85rem 'Cormorant Garamond',Georgia,serif; }
  .year-filter-shell { position:sticky; z-index:12; top:54px; display:grid; grid-template-columns:32px minmax(0,1fr) 32px; border-bottom:1px solid rgba(70,54,38,.1); background:rgba(250,250,250,.94); }.year-filter-shell>button { padding:0; border:0; background:transparent; color:#9b7139; font:1.5rem Georgia,serif; }.year-filter-shell>button:disabled { opacity:.2; }.year-filter { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:5px; padding:9px 2px; }.year-filter a { min-width:0; padding:6px 3px; overflow:hidden; border:1px solid rgba(140,98,48,.3); border-radius:16px; color:#80613f; font:500 .55rem 'Montserrat',Arial,sans-serif; text-align:center; text-decoration:none; white-space:nowrap; }
}
