/* Papel fotográfico, luz de recorte e superfícies de estúdio. */
.rail-position { font-size:.82rem; font-variant-numeric:tabular-nums; letter-spacing:.1em; color:#bdcdd8; }
.rail-position b { color:#ffa767; font-weight:500; }
.quote-collection { display:flex; align-items:center; gap:1.25rem; margin:2rem 0 0; max-width:25rem; }
.quote-collection figure { flex:1; min-width:0; }
.quote-collection figure:nth-child(2) { margin-top:2rem; }
.quote-collection img { width:100%; height:auto; border:1px solid #668196; padding:4px; background:#10283d; }
.quote-collection figcaption { padding-top:.45rem; color:#cad6e1; font:italic 500 1.15rem var(--serif); }
:root { color-scheme: dark; --studio-deep:#081725; --studio-mid:#10283d; --studio-edge:#526a7a; --studio-type:#f7f8fa; --studio-secondary:#c2ced7; }
.brand-lockup { display:grid; gap:.24rem; }
.brand-lockup small { color:#e2e8eb; font-size:.56rem; letter-spacing:.14em; line-height:1; }
.main-nav a { position:relative; }
.main-nav a::after { content:""; position:absolute; bottom:.35rem; left:0; width:100%; height:1px; background:var(--orange); transform:scaleX(0); transform-origin:left; transition:transform .2s; }
.main-nav a:is(:hover,:focus-visible)::after { transform:scaleX(1); }
.gallery-section { background:linear-gradient(#102438,#0b1e2e 77%,#0a1c2a); border:0; }
.gallery-rail { display:flex; align-items:center; gap:clamp(.9rem,2vw,2rem); padding-block:.6rem 1.25rem; }
.gallery-card { flex:0 0 clamp(14rem,24vw,21rem); }
.gallery-card:nth-child(3n+1) { flex-basis:clamp(18rem,36vw,32rem); }
.gallery-card:nth-child(3n+1) .gallery-image { aspect-ratio:1.12; object-position:50% 27%; }
.gallery-card:nth-child(3n+2) .gallery-image { aspect-ratio:3/4; object-position:50% 23%; }
.gallery-card:nth-child(3n) .gallery-image { aspect-ratio:4/5; }
.gallery-open { border-radius:1px; }
.gallery-open:focus-visible { outline-offset:0; outline:3px solid var(--orange); }
.gallery-type { letter-spacing:.12em; }
.gallery-rail .gallery-card { flex-basis:clamp(14rem,24vw,21rem); }
.gallery-rail .gallery-card:has(img[src$="elegant.jpg"]) { flex-basis:clamp(20rem,36vw,32rem); }
.gallery-rail .gallery-card:has(img[src$="family.jpg"]) { flex-basis:clamp(15rem,27vw,23rem); }
.gallery-rail .gallery-card .gallery-image { display:block; aspect-ratio:auto; width:100%; height:auto; object-fit:contain; object-position:center; transform:scale(.975); transition:transform .55s ease; }
.gallery-rail .gallery-open:is(:focus-visible,:hover) .gallery-image { transform:scale(1); }
.gallery-rail .gallery-open { padding:.35rem; background:linear-gradient(145deg,#233c4f,#102538 72%); border:1px solid #42586a; }
.gallery-rail .gallery-caption { position:relative; inset:auto; padding:1rem .75rem .8rem; background:none; }
.gallery-rail .enlarge-icon { background:#183347; }
.studio-print img { aspect-ratio:auto; height:auto; object-fit:contain; }
.package-prints img { object-fit:contain!important; background:#203448; }
.workflow-photo:has(#step-photo) { aspect-ratio:auto; height:clamp(18rem,34vw,29rem); background:radial-gradient(ellipse at center,#24445c,#10283b 75%); border-block:1px solid #3e5769; }
.workflow-photo #step-photo { object-fit:contain; object-position:center; }
@media(max-width:760px) {
  .gallery-rail .gallery-card,.gallery-rail .gallery-card:has(img) { flex-basis:min(78vw,22rem); }
  .quote-collection { max-width:19rem; }
  .workflow-photo:has(#step-photo) { height:clamp(15rem,58vw,21rem); }
}
.packages-section,.workflow-section,.cart-dialog {
  --ink:var(--studio-type); --muted:var(--studio-secondary); --line:#344b5e; --paper:#0e2132;
  color:var(--studio-type);
}
.packages-section { background:radial-gradient(ellipse at 78% 62%,#1a3347 0,transparent 58%),linear-gradient(#0a1c2a,#0b1e2f); }
.packages-section .eyebrow,.workflow-section .eyebrow { color:var(--orange-light); }
.packages-section .section-title em,.workflow-section .section-title em { color:#ffac70; }
.package-grid { gap:clamp(.85rem,2vw,1.8rem); }
.package-card { border:1px solid #435767; border-radius:.2rem; padding:clamp(1.4rem,2.6vw,2.6rem); background:linear-gradient(150deg,#1d3448,#102334 65%); color:var(--studio-type); box-shadow:0 16px 40px #030c1538; }
.package-card::before { display:none; }
.package-card.is-featured { border:1px solid #e49459; background:radial-gradient(ellipse at 90% 0%,#493a32,transparent 57%),linear-gradient(150deg,#20394c,#14293b); box-shadow:0 16px 60px #0004; }
.package-prints { align-self:stretch; display:flex; align-items:center; height:6.5rem; margin-bottom:1.1rem; padding-left:.4rem; }
.package-prints img { width:3.8rem; height:4.8rem; margin-left:-.4rem; object-fit:cover; object-position:50% 34%; border:2px solid #e3e5e1; transform:rotate(-8deg); box-shadow:2px 5px 10px #020c1680; transition:transform .28s ease; }
.package-prints img:nth-child(even) { transform:rotate(6deg) translateY(3px); }
.package-card:is(:hover,:focus-within) .package-prints img:nth-child(even) { transform:rotate(9deg) translateY(-3px); }
.package-price,.package-name { color:var(--studio-type); }
.package-amount,.is-featured .package-amount { color:var(--studio-secondary); }
.package-add { color:var(--studio-type); border-color:#718595; }
.package-add:hover { color:white; background:#29485b; border-color:#a9bdc9; }
.package-card.is-featured .package-add { color:#091a28; }
.workflow-section { border:0; margin:0; padding-block:clamp(3rem,6vw,6rem); background:linear-gradient(#0b1e2f,#102a40 65%,#0f273b); }
.workflow-story { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); align-items:center; gap:clamp(2rem,7vw,7rem); margin-top:2rem; }
.workflow-photo { overflow:hidden; position:relative; aspect-ratio:1.35; border-radius:1px; }
.workflow-photo img,.quote-portrait img { width:100%; height:100%; object-fit:cover; object-position:50% 28%; }
.workflow-list { position:relative; grid-template-columns:1fr; gap:0; margin:0; }
.workflow-list::before { content:""; position:absolute; top:2rem; bottom:2rem; left:1rem; width:1px; background:#668198; }
.workflow-step { padding:0; border:0; }
.workflow-step::before { content:none; }
.workflow-step summary { position:relative; cursor:pointer; list-style:none; display:flex; align-items:center; gap:1rem; padding:.78rem 0; font:500 clamp(1.35rem,2.1vw,2rem)/1.2 var(--serif); }
.workflow-step summary::-webkit-details-marker { display:none; }
.workflow-step summary::after { content:"+"; margin-left:auto; color:var(--orange-light); font:400 1.4rem var(--sans); }
.workflow-step details[open] summary::after { content:"−"; }
.step-index { border:1px solid #7890a0; border-radius:50%; min-width:2.1rem; height:2.1rem; display:grid; place-items:center; background:#10283b; font:500 .76rem var(--sans); }
.workflow-step details[open] .step-index { background:var(--orange); color:#081725; border-color:var(--orange); }
.workflow-step p { padding:0 1.6rem .9rem 3.1rem; }
.quote-section { background:radial-gradient(ellipse at 8% 65%,#19354b,transparent 58%),linear-gradient(#0f273b,#0a1928); }
.quote-portrait { position:relative; margin-top:1.8rem; max-width:23rem; height:clamp(10rem,18vw,15rem); overflow:hidden; }
.quote-portrait img { object-position:50% 30%; }
.quote-form :is(input,textarea):focus-visible,.cart-dialog input:focus-visible { outline:2px solid var(--orange-light); outline-offset:2px; background:#183249; }
.cart-dialog,.cart-dialog .dialog-footer { background:#0e2234; color:var(--studio-type); }
.cart-dialog .dialog-header { background:linear-gradient(110deg,#19384d,#0e2234); }
.cart-dialog input { background:#192e40; color:white; border-color:#748997; }
.cart-dialog input::placeholder { color:#b8c5cf; }
.cart-dialog .cart-quantity button:hover { background:#294257; }
#added-feedback:not(:empty) { background:#24394a; color:white; }
.cart-summary-row strong { color:#ffad70; }
.checkout-link[aria-disabled="true"] { background:#25394a; color:#bdcad4; border-color:#435767; }
@media(max-width:760px) {
  .brand-lockup small { display:none; }
  .gallery-card,.gallery-card:nth-child(3n+1) { flex-basis:76%; }
  .workflow-story { grid-template-columns:1fr; gap:1.2rem; }
  .workflow-photo { aspect-ratio:2.1; }
  .quote-portrait { display:none; }
}
@media(prefers-reduced-motion:no-preference) {
  #added-feedback:not(:empty) { animation:selection-in .38s ease-out; }
  @keyframes selection-in { from { opacity:.4; transform:translateY(.4rem); } }
}

/* O passe-partout acompanha o original de 1000 x 1333. Toda a fotografia
   permanece dentro da moldura, inclusive durante a troca de cena. */
.hero-media { box-sizing:content-box; aspect-ratio:1000/1333; height:auto; background:#102437; }
.hero-media .hero-slide img { object-fit:contain; object-position:center; transform:none; animation:none; }
.hero-media::after { content:""; position:absolute; inset:0; pointer-events:none; box-shadow:inset 0 0 0 1px #07152428; }
.hero-controls { position:relative; }
@media(min-width:761px) {
  .hero { --print-width:clamp(15rem,min(33vw,50svh),29rem); min-height:max(38rem,calc(var(--print-width) * 1.333 + 8rem)); }
  .hero-media { width:var(--print-width); inset:auto; right:max(8%,calc((100vw - 76rem)/2)); top:48%; transform:translateY(-50%) rotate(1.4deg); }
  .studio-print { left:auto; right:calc(max(8%,(100vw - 76rem)/2) + var(--print-width) - 1rem); bottom:12%; width:clamp(6rem,9vw,9rem); }
}
@media(min-width:761px) and (max-width:1050px) { .studio-print { display:none; } }
@media(max-width:760px) {
  .hero { grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr); grid-template-areas:"label label" "title photo" "lead lead" "actions actions" "caption caption"; gap:1.15rem .8rem; align-items:center; padding:2rem var(--gutter) 1rem; }
  .hero-inner,.hero-copy { display:contents; }
  .hero .eyebrow { grid-area:label; }
  .hero-title { grid-area:title; font-size:clamp(2.5rem,8vw,4.4rem); line-height:.97; margin:0; }
  .hero-media { grid-area:photo; position:relative; inset:auto; justify-self:center; width:min(94%,16rem); transform:rotate(1.5deg); border:4px solid #f5f0e7; box-shadow:6px 8px 0 #405366,0 14px 25px #020c1780; }
  .hero-lead { grid-area:lead; }
  .hero-actions { grid-area:actions; margin:0; }
  .hero-caption { grid-area:caption; position:static; justify-self:end; max-width:100%; margin-top:.2rem; }
  .hero-shade { display:none; }
}
.hero::before,.package-card::after { content:""; position:absolute; pointer-events:none; width:19rem; height:19rem; left:0; top:0; border-radius:50%; background:radial-gradient(circle,#ffad7025,transparent 69%); transform:translate(calc(var(--light-x,0px) - 50%),calc(var(--light-y,0px) - 50%)); opacity:0; transition:opacity .25s; }
.hero::before { z-index:-1; }
.package-card::after { z-index:-1; }
.pointer-lit::before,.package-card.pointer-lit::after { opacity:1; }
.quote-form .field:focus-within .field-label { color:#ffb780; }
@media(prefers-reduced-motion:no-preference) {
  .hero-media { animation:print-arrive .95s cubic-bezier(.2,.68,.2,1) both; }
  @keyframes print-arrive { from { translate:0 1rem; opacity:.45; rotate:-2deg; } to { translate:0 0; opacity:1; rotate:0deg; } }
  .hero-lead { animation:studio-rise .68s .12s both; }
  .hero-actions { animation:studio-rise .62s .18s both; }
  .section-enter { animation:editorial-entry .65s cubic-bezier(.2,.7,.25,1) both; }
  @keyframes editorial-entry { from { opacity:.55; translate:0 14px; } to { opacity:1; translate:0; } }
  .workflow-step details[open] .step-index { animation:step-select .35s ease-out; }
  @keyframes step-select { 50% { transform:scale(1.12); } }
  @supports (animation-timeline:view()) {
    .studio-print { animation:print-scroll linear both; animation-timeline:view(); animation-range:exit 0% exit 100%; }
    @keyframes print-scroll { to { translate:0 -25px; } }
  }
}
