/* Stoski Films — production polish layer v3
   Keeps the approved visual direction while improving perceived image quality,
   hierarchy, responsiveness, accessibility and conversion. */

:root{
  --gold:#c9a86a;
  --gold-soft:#f0d6a0;
  --ink:#090909;
  --ivory:#f5f1e9;
}

html{scroll-padding-top:86px}
body{background:#080808}
main>section:not(.hero){content-visibility:auto;contain-intrinsic-size:900px}

/* Global focus + text rendering */
:where(a,button,input,select,textarea,summary):focus-visible{
  outline:2px solid var(--gold-soft);
  outline-offset:4px;
}
h1,h2,h3{text-wrap:balance}
p{text-wrap:pretty}

/* Header + brand */
.site-header{
  border-bottom:1px solid transparent;
}
.site-header.scrolled{
  box-shadow:0 14px 50px rgba(0,0,0,.28);
}
.brand-full{display:flex;align-items:center;min-width:0}.brand-logo{display:block;width:clamp(158px,15vw,205px);height:auto;filter:drop-shadow(0 8px 22px rgba(201,168,106,.14));transition:transform .35s var(--ease),filter .35s ease}.brand-full:hover .brand-logo{transform:translateY(-1px) scale(1.012);filter:drop-shadow(0 10px 28px rgba(201,168,106,.25))}

/* Cinematic hero.
   The current source image is intentionally treated like a film frame instead
   of being sharpened artificially beyond its real detail. */
.hero{
  min-height:100svh;
  background-position:center 42%;
  background-color:#080808;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 70% 34%,rgba(240,214,160,.10),transparent 24%),
    linear-gradient(90deg,rgba(0,0,0,.22),transparent 46%,rgba(0,0,0,.10)),
    repeating-linear-gradient(0deg,rgba(255,255,255,.012) 0 1px,transparent 1px 3px);
  mix-blend-mode:screen;
}
.hero::after{
  background:
    linear-gradient(90deg,rgba(4,4,4,.86) 0%,rgba(4,4,4,.58) 36%,rgba(4,4,4,.16) 70%,rgba(4,4,4,.42) 100%),
    linear-gradient(180deg,rgba(0,0,0,.12) 0%,transparent 44%,rgba(0,0,0,.74) 100%);
}
.hero-content{
  width:min(920px,100%);
  padding-bottom:8px;
}
.hero h1{
  text-shadow:0 12px 48px rgba(0,0,0,.48);
}
.hero h1 em{
  text-shadow:0 10px 36px rgba(93,61,24,.18);
}
.hero-text{max-width:610px}
.hero-proof{
  display:flex;
  align-items:center;
  gap:10px 14px;
  flex-wrap:wrap;
  margin-top:26px;
  color:#d0cbc3;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.13em;
}
.hero-proof span{
  display:inline-flex;
  align-items:center;
  gap:9px;
}
.hero-proof span::before{
  content:"";
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 0 4px rgba(201,168,106,.08);
}
.hero-actions .btn{
  min-height:50px;
}
.btn-primary{
  box-shadow:0 12px 34px rgba(0,0,0,.20);
}
.btn-primary:hover{box-shadow:0 16px 44px rgba(0,0,0,.28)}

/* Portfolio */
.work-grid{gap:16px}
.work-card{
  border-color:rgba(255,255,255,.10);
  background:#0d0d0d;
  box-shadow:0 18px 55px rgba(0,0,0,.16);
}
.media-placeholder .work-image{
  image-rendering:auto;
  filter:saturate(.90) contrast(1.055) brightness(.96);
  backface-visibility:hidden;
}
.media-placeholder::before{
  background:
    linear-gradient(to top,rgba(0,0,0,.88) 0%,rgba(0,0,0,.20) 54%,rgba(0,0,0,.04) 100%);
}
.media-placeholder::after{
  background:
    repeating-linear-gradient(0deg,rgba(255,255,255,.014) 0 1px,transparent 1px 3px),
    radial-gradient(circle at 50% 45%,transparent 40%,rgba(0,0,0,.28) 100%);
  opacity:.7;
}
.work-card .media-placeholder>span{
  padding:7px 9px;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(0,0,0,.34);
  backdrop-filter:blur(8px);
}
.work-meta{
  display:grid;
  align-content:end;
}
.work-meta p{color:#e1d5bd}
.work-open{
  width:max-content;
  border-bottom:1px solid rgba(224,197,143,.34);
  padding-bottom:4px;
}
.work-card::after{
  content:"▶";
  position:absolute;
  top:24px;
  left:24px;
  z-index:4;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:50%;
  background:rgba(8,8,8,.50);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(10px);
  color:#f4e4c4;
  font-size:12px;
  padding-left:2px;
  opacity:.82;
  transition:transform .28s var(--ease),background .28s ease,opacity .28s ease;
}
.work-card:hover::after,
.work-card:focus::after{
  transform:scale(1.08);
  background:rgba(201,168,106,.18);
  opacity:1;
}

/* Services */
.services-intro{
  position:sticky;
  top:110px;
  align-self:start;
}
.service-row{
  transition:background .25s ease,padding .25s ease;
}
.service-row:hover{
  background:rgba(255,255,255,.018);
}
.service-row h3{letter-spacing:-.025em}

/* About: avoid stretching the tiny portrait over a huge surface */
.portrait-placeholder{
  min-height:560px;
  place-items:center;
  background:
    radial-gradient(circle at 50% 38%,rgba(201,168,106,.17),transparent 28%),
    linear-gradient(145deg,#191713,#0b0b0b 65%);
}
.portrait-placeholder::after{
  content:"HS";
  position:absolute;
  right:-10px;
  bottom:-28px;
  z-index:0;
  font-family:"Manrope",sans-serif;
  font-size:clamp(110px,15vw,220px);
  line-height:1;
  letter-spacing:-.08em;
  color:rgba(255,255,255,.025);
  font-weight:600;
}
.portrait-placeholder .henrique-photo{position:relative;z-index:2;width:min(60%,245px);height:auto;aspect-ratio:1/1;object-fit:cover;object-position:center 28%;border:1px solid rgba(240,214,160,.28);box-shadow:0 24px 70px rgba(0,0,0,.48);filter:contrast(1.035) saturate(.90)}
.about-portrait>p{
  margin-top:15px;
  color:#8e887e;
}

/* Trust strip */
.trust-grid article{
  position:relative;
  overflow:hidden;
}
.trust-grid article::after{
  content:"";
  position:absolute;
  right:-50px;
  bottom:-70px;
  width:160px;
  height:160px;
  border:1px solid rgba(201,168,106,.07);
  border-radius:50%;
}
.trust-grid strong{color:#f1ede6}

/* Process */
.process-grid li{
  position:relative;
}
.process-grid li::before{
  content:"";
  position:absolute;
  left:0;
  top:-1px;
  width:42px;
  height:2px;
  background:var(--gold);
}
.process-grid li+li::before{left:28px}

/* FAQ */
.faq{
  background:#0c0c0c;
  border-top:1px solid var(--line);
}
.faq-inner{
  width:min(var(--max),100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(240px,.72fr) 1.35fr;
  gap:clamp(46px,8vw,120px);
}
.faq-intro h2{
  font-family:"Manrope",sans-serif;
  font-weight:500;
  letter-spacing:-.04em;
  font-size:clamp(38px,5vw,68px);
  line-height:1.02;
  margin:10px 0 18px;
}
.faq-intro p{
  color:#969089;
  line-height:1.75;
  max-width:42ch;
}
.faq-list{
  border-top:1px solid var(--line);
}
.faq-list details{
  border-bottom:1px solid var(--line);
}
.faq-list summary{
  list-style:none;
  cursor:pointer;
  display:grid;
  grid-template-columns:1fr auto;
  gap:22px;
  align-items:center;
  min-height:84px;
  padding:22px 0;
  font-family:"Manrope",sans-serif;
  font-size:clamp(18px,2vw,25px);
  font-weight:500;
}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{
  content:"+";
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.14);
  color:var(--gold-soft);
  transition:transform .25s var(--ease),background .25s ease;
}
.faq-list details[open] summary::after{
  transform:rotate(45deg);
  background:rgba(201,168,106,.08);
}
.faq-list details p{
  max-width:730px;
  margin:-4px 58px 28px 0;
  color:#9f9991;
  line-height:1.8;
}

/* Budget */
.budget{
  position:relative;
  overflow:hidden;
}
.budget::before{
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  border:1px solid rgba(111,82,43,.10);
  border-radius:50%;
  left:-210px;
  bottom:-210px;
}
.budget-intro,.budget-form{position:relative;z-index:1}
.budget-form{
  padding:clamp(24px,4vw,42px);
  border:1px solid rgba(16,16,16,.13);
  background:rgba(255,255,255,.25);
  box-shadow:0 25px 80px rgba(56,42,23,.08);
}
.field input,.field select,.field textarea{
  transition:border-color .2s ease,background .2s ease;
}
.field input:focus,.field select:focus,.field textarea:focus{
  background:rgba(255,255,255,.24);
}
.form-help{max-width:62ch}

/* Floating CTA */
.whatsapp-float{
  min-width:52px;
  min-height:52px;
  justify-content:center;
}
.whatsapp-float::before{
  content:"";
  position:absolute;
  inset:-6px;
  border:1px solid rgba(201,168,106,.10);
  border-radius:inherit;
  pointer-events:none;
}
.whatsapp-float strong{font-weight:500}

/* Footer */
.site-footer{
  background:
    radial-gradient(circle at 85% 20%,rgba(201,168,106,.055),transparent 23%),
    #070707;
}
.footer-logo{width:min(220px,70vw);height:auto;filter:drop-shadow(0 8px 22px rgba(201,168,106,.16))}
.footer-links a{padding:7px 0}

/* Scroll progress */
.scroll-progress{
  position:fixed;
  inset:0 auto auto 0;
  z-index:130;
  height:2px;
  width:0;
  background:linear-gradient(90deg,#8a6837,#f0d6a0);
  pointer-events:none;
  box-shadow:0 0 16px rgba(201,168,106,.24);
}

/* Story dialog */
.story-modal{
  border-color:rgba(240,214,160,.16);
}
.story-media{
  position:relative;
}
.story-media::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  box-shadow:inset 0 0 90px rgba(0,0,0,.26);
}
.story-media img{
  filter:saturate(.92) contrast(1.04);
}

/* Responsive refinements */
@media(max-width:900px){
  main>section:not(.hero){content-visibility:visible}
  .services-intro{position:static}
  .faq-inner{grid-template-columns:1fr;gap:38px}
  .portrait-placeholder{min-height:520px}
}

@media(max-width:560px){
  .hero{
    background-position:60% center;
  }
  .hero::after{
    background:
      linear-gradient(180deg,rgba(3,3,3,.14) 0%,rgba(3,3,3,.30) 42%,rgba(3,3,3,.90) 78%,rgba(3,3,3,.96) 100%),
      linear-gradient(90deg,rgba(0,0,0,.50),transparent 74%);
  }
  .hero-proof{
    margin-top:21px;
    font-size:9px;
    line-height:1.6;
  }
  .work-card::after{
    width:38px;
    height:38px;
    top:18px;
    left:18px;
  }
  .portrait-placeholder{
    min-height:440px;
  }
  .portrait-placeholder .henrique-photo{
    width:min(74%,280px);
  }
  .process-grid li::before,
  .process-grid li+li::before{left:0}
  .faq-list summary{
    min-height:76px;
    font-size:18px;
  }
  .faq-list details p{margin-right:0}
  .budget-form{
    margin-inline:-4px;
    padding:24px 18px;
  }
}

@media(prefers-reduced-motion:reduce){
  .brand-mark,.work-card::after,.faq-list summary::after{transition:none}
}


/* Portfolio video player */
.work-card::after{display:none!important}
.work-play{
  position:absolute;
  top:24px;
  left:24px;
  z-index:6;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  padding:0;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(8,8,8,.52);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  color:#f4e4c4;
  cursor:pointer;
  box-shadow:0 10px 28px rgba(0,0,0,.22);
  transition:transform .22s var(--ease),background .22s ease,border-color .22s ease;
}
.work-play span{font-size:13px;line-height:1;transform:translateX(1px)}
.work-play:hover,
.work-play:focus-visible{
  transform:scale(1.08);
  background:rgba(201,168,106,.20);
  border-color:rgba(224,197,143,.68);
  outline:none;
}
.work-play:focus-visible{box-shadow:0 0 0 4px rgba(201,168,106,.14),0 10px 28px rgba(0,0,0,.26)}

.video-modal{
  width:min(94vw,1100px);
  max-width:1100px;
  padding:0;
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  background:#050505;
  color:#fff;
  overflow:visible;
  box-shadow:0 40px 120px rgba(0,0,0,.72);
}
.video-modal::backdrop{
  background:rgba(0,0,0,.86);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.video-modal[open]{display:block}
.video-close{
  position:absolute;
  top:14px;
  right:14px;
  z-index:4;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(20,20,20,.94);
  color:#fff;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 12px 36px rgba(0,0,0,.4);
}
.video-stage{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  background:#000;
  border-radius:21px;
  overflow:hidden;
  display:grid;
  place-items:center;
}
#portfolio-video,
#portfolio-video-embed{
  width:100%;
  height:100%;
  border:0;
  background:#000;
  object-fit:contain;
}
#portfolio-video[hidden],
#portfolio-video-embed[hidden]{display:none!important}
.video-loading{
  position:absolute;
  inset:0;
  z-index:1;
  display:grid;
  place-items:center;
  padding:24px;
  text-align:center;
  color:#bdb7ad;
  background:#050505;
  font-size:13px;
  letter-spacing:.04em;
}
.video-loading[hidden]{display:none!important}

@media(max-width:700px){
  .work-play{top:18px;left:18px;width:44px;height:44px}
  .video-modal{
    width:100vw;
    max-width:none;
    margin:auto;
    border-radius:0;
    border-left:0;
    border-right:0;
  }
  .video-stage{border-radius:0;aspect-ratio:16/9}
  .video-close{
    top:12px;
    right:12px;
    width:44px;
    height:44px;
    background:rgba(16,16,16,.96);
  }
}


/* Featured showreel */
.showreel{
  max-width:calc(var(--max) + var(--pad)*2);
  margin:auto;
  display:grid;
  grid-template-columns:minmax(0,.78fr) minmax(0,1.5fr);
  gap:clamp(34px,6vw,90px);
  align-items:center;
  border-bottom:1px solid var(--line);
}
.showreel-copy h2{
  margin:10px 0 22px;
  font-family:"Manrope",sans-serif;
  font-size:clamp(38px,5vw,72px);
  line-height:1;
  letter-spacing:-.045em;
  font-weight:500;
}
.showreel-copy>p:not(.section-kicker){
  color:#9f9a92;
  line-height:1.75;
  max-width:560px;
}
.showreel-card{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  padding:0;
  border:1px solid rgba(255,255,255,.12);
  background:#080808;
  overflow:hidden;
  cursor:pointer;
  box-shadow:0 24px 80px rgba(0,0,0,.28);
}
.showreel-card[hidden]{display:none!important}
.showreel-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .7s var(--ease),filter .5s ease;
  filter:saturate(.92) contrast(1.04) brightness(.92);
}
.showreel-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(to top,rgba(0,0,0,.72),rgba(0,0,0,.08) 58%),
    radial-gradient(circle at 50% 50%,transparent 42%,rgba(0,0,0,.22));
}
.showreel-play-icon{
  position:absolute;
  left:50%;
  top:50%;
  width:76px;
  height:76px;
  transform:translate(-50%,-50%);
  display:grid;
  place-items:center;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.34);
  background:rgba(5,5,5,.45);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  color:#f1dcc0;
  font-size:20px;
  padding-left:4px;
  box-shadow:0 12px 38px rgba(0,0,0,.28);
  transition:transform .28s var(--ease),background .28s ease,border-color .28s ease;
}
.showreel-play-label{
  position:absolute;
  left:26px;
  bottom:23px;
  color:#f2eee7;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.14em;
}
.showreel-card:hover img,
.showreel-card:focus-visible img{transform:scale(1.025);filter:saturate(1) contrast(1.04) brightness(.96)}
.showreel-card:hover .showreel-play-icon,
.showreel-card:focus-visible .showreel-play-icon{
  transform:translate(-50%,-50%) scale(1.08);
  background:rgba(199,166,107,.22);
  border-color:rgba(224,197,143,.75);
}
.showreel-card:focus-visible{outline:2px solid var(--accent-light);outline-offset:4px}

@media(max-width:850px){
  .showreel{grid-template-columns:1fr}
  .showreel-copy{max-width:700px}
}
@media(max-width:560px){
  .showreel-play-icon{width:62px;height:62px;font-size:17px}
  .showreel-play-label{left:18px;bottom:16px;font-size:9px}
}


/* ===========================================================
   Stoski Films — mobile-first release refinement (Nov/2026)
   Overrides legacy layers without changing the brand identity.
   =========================================================== */

/* Hidden is a functional state: display:grid/flex must never override it. */
.showreel[hidden], .showreel-card[hidden]{display:none!important}
html{overflow-x:clip}
body{max-width:100%;overflow-x:clip}
main,main>section,.site-header,.work-grid,.about,.budget,.services,
.showreel,.showreel-copy,.about-copy,.budget-form{min-width:0}
img,video,iframe{max-width:100%}
:where(.work-meta,.about-copy,.services-intro,.budget-intro,.showreel-copy) h2,
:where(.work-meta,.about-copy,.services-intro,.budget-intro,.showreel-copy) h3{overflow-wrap:break-word}

/* Real portrait instead of a small floating avatar. */
.portrait-placeholder{
  min-height:0;
  aspect-ratio:4/5;
  background:#100f0e;
}
.portrait-placeholder .henrique-photo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  aspect-ratio:auto;
  max-width:none;
  object-fit:cover;
  object-position:center 28%;
  border:0;
  box-shadow:none;
  filter:saturate(.98) contrast(1.015);
}
.portrait-placeholder::after{z-index:3;pointer-events:none}
.portrait-placeholder::before{z-index:3;pointer-events:none}

/* Featured film: custom cinematic cover, no external player chrome before click. */
.showreel{
  width:100%;
  max-width:calc(var(--max) + var(--pad)*2);
  grid-template-columns:minmax(0,.72fr) minmax(0,1.6fr);
  gap:clamp(24px,5vw,70px);
  padding-block:clamp(64px,8vw,120px);
}
.showreel-copy{min-width:0}
.showreel-copy h2{
  font-size:clamp(34px,4.5vw,66px);
  line-height:1.07;
  overflow-wrap:normal;
}
.showreel-card{
  isolation:isolate;
  min-height:0;
  border:1px solid rgba(230,200,144,.28);
  border-radius:16px;
  box-shadow:0 32px 110px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.025);
}
.showreel-card img{display:block;width:100%;height:100%;object-fit:cover}
.showreel-card:after{
  content:"STOSKI  /  FILME EM DESTAQUE";
  position:absolute;
  top:18px;left:20px;
  z-index:2;
  font-size:10px;
  font-weight:600;
  letter-spacing:.18em;
  color:#f7ead4;
  text-shadow:0 1px 12px #000;
}
.showreel-play-icon{z-index:2;background:rgba(7,7,7,.64)}
.showreel-play-label{z-index:2;font-weight:600}
.showreel-card:focus-visible{outline:2px solid var(--gold-soft);outline-offset:5px}
@media(hover:hover){
  .showreel-card:hover{border-color:rgba(230,200,144,.6)}
}

/* Embedded player stays 16:9, centered, large and fully usable. */
.video-modal{
  width:min(96vw,1500px)!important;
  max-width:1500px!important;
  max-height:calc(100dvh - 28px)!important;
  margin:auto!important;
  border-radius:16px!important;
}
.video-stage{
  width:100%!important;
  max-height:calc(100dvh - 28px)!important;
  aspect-ratio:16/9!important;
  min-height:200px;
}
.video-close{
  top:10px;right:10px;
  width:44px;height:44px;
  min-width:44px;min-height:44px;
  background:rgba(0,0,0,.92);
}
.video-modal iframe{display:block}

/* Intermediate widths, including 7-11 inch tablets. */
@media(max-width:1024px){
  .section-pad{padding-inline:clamp(20px,4vw,46px)}
  .about,.services,.budget{gap:clamp(28px,4vw,60px)}
  .service-row{grid-template-columns:32px minmax(0,1fr);gap:12px 18px}
  .service-row p{grid-column:2}
  .showreel{grid-template-columns:minmax(0,1fr);gap:26px}
  .showreel-copy{max-width:720px}
  .showreel-card{max-width:100%}
}

/* Mobile layout is composed deliberately rather than squashing the desktop. */
@media(max-width:900px){
  :root{--pad:clamp(18px,4vw,28px)}
  .site-header,
  .site-header.scrolled{
    padding-inline:var(--pad);
    background:rgba(8,8,8,.98);
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
  }
  .site-header{gap:16px}
  .brand-full{flex:1 1 auto;max-width:calc(100% - 64px)}
  .brand-logo{width:clamp(145px,39vw,205px);max-width:100%;height:auto}
  .menu-toggle{flex:0 0 46px;z-index:105}
  .main-nav{
    width:min(88vw,360px);
    height:100dvh;
    justify-content:flex-start;
    padding:clamp(100px,17vh,142px) 28px calc(34px + env(safe-area-inset-bottom,0px));
    gap:6px;
    overscroll-behavior:contain;
  }
  body.menu-open{position:fixed;width:100%;overflow:hidden}

  .hero{
    min-height:min(100svh,840px);
    height:auto;
    padding:clamp(116px,17vh,168px) var(--pad) clamp(50px,7vh,78px);
    align-items:flex-end;
    background-position:59% center;
  }
  .hero::after{
    background:linear-gradient(180deg,rgba(0,0,0,.28),rgba(0,0,0,.35) 27%,rgba(0,0,0,.72) 68%,rgba(0,0,0,.90));
  }
  .hero-content{width:100%;max-width:640px}
  .hero h1{
    font-size:clamp(41px,8.5vw,76px);
    max-width:100%;
    line-height:.99;
    letter-spacing:-.045em;
    margin:14px 0 18px;
    overflow-wrap:normal;
  }
  .hero-text{max-width:560px;font-size:clamp(14px,2.1vw,17px);line-height:1.6}
  .hero-actions{display:flex;flex-wrap:wrap;gap:10px}
  .hero-actions .btn{width:auto;min-width:170px}
  .hero-proof{gap:12px;margin-top:20px;font-size:10px}
  .hero-scroll{display:none}
  .section-pad{padding-block:clamp(64px,9vw,100px)}
  .manifesto-grid{grid-template-columns:1fr;gap:18px}
  .manifesto-copy h2{font-size:clamp(32px,6.5vw,55px)}
  .work-grid{grid-template-columns:1fr;gap:16px}
  .work-card{min-height:370px}
  .work-card-large{min-height:510px;grid-row:auto}
  .work-meta{left:22px;right:22px;bottom:24px}
  .work-meta h3{font-size:clamp(28px,5vw,44px);line-height:1.1}
  .services,.about,.budget{grid-template-columns:minmax(0,1fr);gap:42px}
  .services-intro{position:static}
  .about-portrait{max-width:620px;width:100%}
  .portrait-placeholder{max-height:650px}
  .about-copy h2{font-size:clamp(37px,7vw,58px)}
  .process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .process-grid li{min-height:220px}
  .faq-inner{grid-template-columns:1fr;gap:22px}
  .budget-form{width:100%;margin:0;max-width:760px}
  .social-showcase-inner{flex-direction:column;align-items:flex-start}
  .social-showcase .btn{width:auto}
}

/* Phones down to narrow 320px widths. */
@media(max-width:600px){
  :root{--pad:clamp(16px,5vw,22px)}
  html{scroll-padding-top:74px}
  .site-header{height:72px}
  .site-header.scrolled{height:66px}
  .brand-logo{width:clamp(140px,47vw,180px)}
  .hero{
    min-height:0;
    padding:clamp(110px,17vh,145px) var(--pad) 54px;
    background-position:59% center;
  }
  .hero h1{
    font-size:clamp(36px,11vw,55px);
    line-height:1.015;
    letter-spacing:-.045em;
    margin:12px 0 18px;
  }
  .hero-text{font-size:15px;max-width:100%;line-height:1.63}
  .hero-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:24px}
  .hero-actions .btn{width:100%;min-width:0;min-height:50px}
  .hero-proof{font-size:9px;line-height:1.5;gap:8px 13px;margin-top:20px}
  .hero-proof span{gap:7px}
  .section-pad{padding-block:64px;padding-inline:var(--pad)}
  .section-head{flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:26px}
  .manifesto-copy h2{font-size:clamp(30px,8.8vw,43px);line-height:1.08}
  .manifesto-copy p{font-size:15px}
  .showreel{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:24px;
    padding-block:66px;
  }
  .showreel-copy h2{font-size:clamp(31px,8.4vw,44px);margin:10px 0 14px}
  .showreel-copy>p:not(.section-kicker){font-size:14px;line-height:1.6}
  .showreel-card{aspect-ratio:16/9;min-height:200px;border-radius:10px}
  .showreel-card:after{top:12px;left:13px;font-size:8px;letter-spacing:.12em}
  .showreel-play-icon{width:56px;height:56px;font-size:16px}
  .showreel-play-label{font-size:9px;bottom:12px;left:14px}
  .work-grid{gap:14px}
  .work-card{min-height:340px}
  .work-card-large{min-height:420px}
  .work-meta{left:18px;right:18px;bottom:20px}
  .work-meta h3{font-size:clamp(28px,8vw,37px)}
  .services,.about,.budget{gap:32px}
  .service-row{grid-template-columns:26px minmax(0,1fr);gap:9px 12px;padding:22px 0}
  .service-row h3{font-size:21px}
  .service-row p{font-size:13px}
  .portrait-placeholder{min-height:0;aspect-ratio:4/5;max-height:none}
  .about-copy h2{font-size:clamp(35px,9.5vw,50px)}
  .process-grid{grid-template-columns:1fr;margin-top:30px}
  .process-grid li,.process-grid li+li,.process-grid li:nth-child(3){
    min-height:0;
    padding:22px 0;
    border-right:0;
    border-bottom:1px solid var(--line);
  }
  .process-grid h3{margin-top:30px;font-size:22px}
  .faq-list summary{min-height:68px;padding:19px 0;font-size:18px}
  .faq-list details p{margin-right:0;font-size:14px}
  .budget-form{padding:22px 18px;box-shadow:none}
  .form-row{grid-template-columns:1fr;gap:18px}
  .instagram-card{grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .instagram-card strong{font-size:12px;overflow-wrap:anywhere}
  .instagram-card em{display:none}
  .footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}
  .footer-bottom{flex-direction:column;align-items:flex-start}
  .whatsapp-float{
    right:12px;
    bottom:calc(12px + env(safe-area-inset-bottom,0px));
    min-width:50px;min-height:50px;
    padding:12px;
  }
  .whatsapp-float strong{display:none}
  .story-modal{width:calc(100vw - 16px);max-height:92dvh;overflow:auto;border-radius:14px}
  .story-media,.story-media img{height:30dvh;min-height:190px;max-height:260px}
  .story-content{padding:22px 20px}
  .story-content h2{font-size:clamp(32px,9vw,44px)}
  .story-actions .btn{width:100%}
  .video-modal{
    width:100vw!important;
    max-width:none!important;
    max-height:100dvh!important;
    border-radius:0!important;
    border-left:0!important;
    border-right:0!important;
  }
  .video-stage{
    width:100%!important;
    min-height:200px!important;
    max-height:100dvh!important;
    border-radius:0!important;
  }
  .video-close{top:8px;right:8px}
}
@media(max-width:360px){
  .hero h1{font-size:clamp(34px,10.5vw,39px)}
  .hero-proof{font-size:8px}
  .work-card-large{min-height:390px}
  .showreel-card:after{font-size:7px}
}
@media(orientation:landscape) and (max-height:500px){
  .video-modal{width:min(96vw,calc(90dvh * 16 / 9))!important;max-height:94dvh!important}
  .video-stage{min-height:0!important;max-height:94dvh!important}
}
@media(prefers-reduced-motion:reduce){
  .showreel-card img,.showreel-play-icon{transition:none}
}


/* Stoski Films — featured-video carousel (Nov/2026)
   One complete video per frame, no peeking partial previews. */
.showreel-gallery{
  min-width:0;
  width:100%;
  max-width:100%;
}
.showreel-viewport{
  width:100%;
  min-width:0;
  display:flex;
  align-items:stretch;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-padding:0;
  overscroll-behavior-x:contain;
  scrollbar-width:none;
  -ms-overflow-style:none;
  -webkit-overflow-scrolling:touch;
}
.showreel-viewport::-webkit-scrollbar{display:none}
.showreel-viewport:focus-visible{
  outline:2px solid var(--accent-light);
  outline-offset:4px;
}
.showreel-viewport>.showreel-slide{
  flex:0 0 100%;
  width:100%;
  max-width:100%;
  min-width:0;
  height:auto;
  scroll-snap-align:start;
  scroll-snap-stop:always;
}
.showreel-demo::after{
  content:"VÍDEO DE EXEMPLO  /  BLENDER STUDIO";
}
.showreel-demo-credit{
  position:absolute;
  z-index:2;
  bottom:24px;
  right:20px;
  max-width:42%;
  color:#f4ede0;
  font-size:10px;
  font-weight:500;
  letter-spacing:.06em;
  text-align:right;
  text-shadow:0 1px 10px #000;
}
.showreel-dots{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:3px;
  padding-top:13px;
}
.showreel-dot{
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.showreel-dot::before{
  content:"";
  display:block;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#77736c;
  border:1px solid rgba(255,255,255,.16);
  transition:background .2s ease,transform .2s ease,box-shadow .2s ease;
}
.showreel-dot.is-active::before,
.showreel-dot[aria-current="true"]::before{
  background:#e0b96c;
  border-color:#f3d69f;
  transform:scale(1.18);
  box-shadow:0 0 11px rgba(226,177,88,.35);
}
.showreel-dot:hover::before{background:#c7a66b}
.showreel-dot:focus-visible{
  outline:2px solid var(--accent-light);
  outline-offset:1px;
}
@media(max-width:600px){
  .showreel-gallery{width:100%}
  .showreel-viewport>.showreel-slide{aspect-ratio:16/9;min-height:0}
  .showreel-demo-credit{right:13px;bottom:12px;font-size:8px}
  .showreel-demo::after{font-size:7px;letter-spacing:.1em}
  .showreel-dots{padding-top:11px}
}
@media(prefers-reduced-motion:reduce){
  .showreel-viewport{scroll-behavior:auto}
  .showreel-dot::before{transition:none}
}

/* Nov/2026: arrastar com mouse no desktop sem alterar o swipe nativo do celular. */
@media (hover: hover) and (pointer: fine) {
  .showreel-viewport { cursor: grab; }
  .showreel-viewport.is-dragging,
  .showreel-viewport.is-dragging * { cursor: grabbing !important; }
}
.showreel-viewport.is-dragging { user-select: none; -webkit-user-select: none; }
.showreel-viewport .showreel-slide img { -webkit-user-drag: none; user-select: none; pointer-events: none; }

/* O X fica em uma faixa abaixo do vídeo, nunca sobre a engrenagem do player. */
.video-modal[open] {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
}
.video-modal .video-stage {
  flex: 0 1 auto;
  max-height: calc(100dvh - 82px) !important;
}
.video-modal .video-close {
  position: relative;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  flex: 0 0 auto;
  align-self: flex-end;
  margin: 10px 12px 10px 0;
}
