@media(max-width:1024px){:root{--header-h:74px}.main-nav{gap:18px}.editorial-intro,.craft-section,.form-section{gap:60px}.testimonial-content{padding:70px}.testimonial-slider{min-height:240px}.process-heading{grid-template-columns:1fr}.process-heading .eyebrow{margin-bottom:25px}}
@media(max-width:820px){.header-inner{grid-template-columns:1fr auto 1fr;padding:0 20px}.menu-toggle{display:block;justify-self:start}.main-nav{position:fixed;inset:0;background:var(--paper);color:var(--deep);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:28px;transform:translateY(-105%);transition:transform .6s var(--ease);z-index:-1}.menu-open .main-nav{transform:none}.main-nav a{font-family:var(--serif);font-size:2.2rem;text-transform:none;letter-spacing:0}.header-cta{font-size:0}.header-cta:before{content:'Agendar';font-size:.62rem}.editorial-intro,.craft-section,.testimonial-section,.form-section{grid-template-columns:1fr}.intro-copy{padding-left:8vw}.craft-copy{order:2}.craft-image{order:1}.testimonial-aside{margin:0 -24px}.testimonial-aside img{min-height:520px}.testimonial-content{padding:80px 0}.testimonial-slider{min-height:230px}.form-intro{position:static}.benefits-grid{grid-template-columns:repeat(2,1fr)}.process-list li{grid-template-columns:70px 1fr}.process-list p{grid-column:2}.footer-top{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}.footer-showcase{grid-template-columns:1fr;gap:20px}.footer-media{min-height:220px}.footer-map-wrap,.footer-map-wrap iframe{min-height:220px}.footer-bottom{grid-template-columns:1fr}.statement-section{height:78vh}.gallery-item:nth-child(n){margin-top:0}.lightbox figure{padding:60px 20px}.lightbox figure img{max-width:94vw}.privacy-modal{padding:60px 28px}.privacy-modal h2{font-size:2.5rem}}
@media(max-width:600px){.section{padding:90px 22px}.hero-content{padding:0 22px 78px}.hero h1{font-size:clamp(3rem,15vw,4.8rem)}.hero-copy{max-width:90%;font-size:.9rem}.button{min-width:0;width:100%;gap:20px}.scroll-cue{display:none}.editorial-intro{padding-top:110px}.intro-copy{padding-left:0}.image-index{left:auto;right:10px;bottom:10px;color:#fff;writing-mode:initial}.section-heading h2,.intro-copy h2,.craft-copy h2,.process-heading h2,.form-intro h2{font-size:clamp(2.8rem,14vw,4.3rem)}.editorial-gallery{display:block}.gallery-item{margin:0 0 58px!important}.gallery-item:nth-child(even){margin-left:12vw!important}.gallery-item:nth-child(odd){margin-right:12vw!important}.process-list li{grid-template-columns:1fr;padding:30px 0}.process-list p{grid-column:auto}.process-list span{font-size:2rem}.statement-copy{left:22px;bottom:50px}.statement-copy p{font-size:14vw}.benefits-grid{grid-template-columns:1fr}.benefits-grid div{min-height:140px}.form-grid{grid-template-columns:1fr}.field-full{grid-column:auto}.testimonial-content{padding:70px 0}.testimonial-slider{min-height:220px}.testimonial-slide blockquote{font-size:2rem}.footer-top{grid-template-columns:1fr;gap:45px}.footer-brand{grid-column:auto}.footer-showcase{grid-template-columns:1fr;gap:18px;padding-bottom:28px}.footer-media{min-height:180px}.footer-map-head{flex-direction:column;align-items:flex-start}.footer-map-wrap,.footer-map-wrap iframe{min-height:180px}.footer-bottom{gap:18px}.developer-credit{justify-self:start}.header-cta{display:none}.header-inner{grid-template-columns:1fr auto 1fr}.brand{grid-column:2}.form-section{padding-bottom:110px}.field input,.field select,.field textarea,.custom-select-trigger{font-size:16px}}
@media(min-width:1600px){.section{padding-left:max(7vw,140px);padding-right:max(7vw,140px)}.editorial-intro{max-width:1800px;margin:auto}}

@media(max-width:820px){
  .gallery-section.scroll-story{height:auto;padding:90px 24px}
  .gallery-sticky-stage{display:block;height:auto;min-height:0;overflow:visible;padding:0}
  .gallery-story-copy{max-width:560px;color:var(--muted);margin-bottom:55px}
  .gallery-story-status,.gallery-scroll-hint{display:none}
  .date-field:after{top:35px}
}
@media(max-width:600px){
  .gallery-section.scroll-story{padding:90px 22px}
  .gallery-story-heading h2{font-size:clamp(2.8rem,14vw,4.3rem)}
  .date-field input[type="date"]{min-height:54px}
}

@media(max-width:820px){.menu-open .site-header{background:rgba(250,248,243,.98);color:var(--deep)}.menu-open .brand img{filter:none}.menu-toggle{position:relative;z-index:1002;width:44px;height:44px;border-radius:999px;display:grid;place-items:center}.menu-open .menu-toggle{position:fixed;top:14px;left:16px;background:rgba(36,24,27,.94);color:#fff;border:1px solid rgba(255,255,255,.12);box-shadow:0 12px 30px rgba(0,0,0,.18)}.menu-open .menu-toggle span{background:currentColor;position:absolute;margin:0;transition:transform .35s var(--ease),opacity .35s var(--ease)}.menu-open .menu-toggle span:first-child{transform:rotate(45deg)}.menu-open .menu-toggle span:last-child{transform:rotate(-45deg)}.menu-open .header-cta,.menu-open .brand{opacity:0;pointer-events:none}}


/* Header e menu mobile: estado fechado e aberto sem sobreposição de textos */
@media(max-width:820px){
  .site-header{height:var(--header-h);transform:none!important}
  .site-header.hidden{transform:none!important}
  .header-inner{position:relative;z-index:1002;background:transparent}
  .main-nav{z-index:1000;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-100%);padding:110px 24px 50px;justify-content:center;background:var(--paper);transition:transform .6s var(--ease),opacity .35s ease,visibility .35s}
  .menu-open .main-nav{opacity:1;visibility:visible;pointer-events:auto;transform:none}
  .main-nav a{display:block;position:relative;font-family:var(--serif);font-size:clamp(2.4rem,11vw,4.5rem);line-height:1.05;color:var(--deep);text-align:center}
  .menu-toggle{z-index:1003;color:inherit}
  .site-header.scrolled .menu-toggle{color:var(--deep)}
  .menu-open .site-header{background:transparent!important;border:0!important;backdrop-filter:none!important}
  .menu-open .menu-toggle{position:fixed;top:14px;left:16px;background:var(--deep);color:#fff}
  .menu-open .brand,.menu-open .header-cta{opacity:0;visibility:hidden}
  .menu-open .menu-toggle span{position:absolute;margin:0;background:#fff}
  .menu-open .menu-toggle span:first-child{transform:rotate(45deg)}
  .menu-open .menu-toggle span:last-child{transform:rotate(-45deg)}
  .consent-card{grid-template-columns:1fr;gap:24px;padding:34px 24px 26px;max-height:92dvh}
  .consent-brand{border-right:0;border-bottom:1px solid var(--line);padding:0 0 22px;justify-content:flex-start}
  .consent-copy h2{font-size:clamp(2.2rem,10vw,3.7rem)}
  .consent-actions{display:grid;grid-template-columns:1fr}
  .consent-button,.consent-manage{width:100%}
}
@media(max-width:430px){.site-header .brand img{width:150px}.header-cta{display:none}.consent-layer{padding:8px}.consent-option{gap:14px}.privacy-fab{right:12px;bottom:12px}}

/* Logo compacta e contida na barra de navegação */
@media(max-width:820px){
  .site-header .brand{height:var(--header-h);max-width:160px;overflow:hidden}
  .site-header .brand img{width:auto!important;height:auto!important;max-width:150px!important;max-height:46px!important;object-fit:contain}
}
@media(max-width:430px){
  .site-header .brand{max-width:142px}
  .site-header .brand img{max-width:138px!important;max-height:42px!important}
}


/* =========================================================
   CORREÇÃO MOBILE — remove arraste lateral e estabiliza blocos
   ========================================================= */
@media(max-width:820px){
  html,body{
    width:100%;
    max-width:100%;
    overflow-x:hidden!important;
    overscroll-behavior-x:none;
  }
  body{position:relative}
  main,.site-header,.site-footer,.section,[data-scene],.hero,.statement-section{
    width:100%;
    max-width:100%;
    overflow-x:clip;
  }
  .header-inner{width:100%;max-width:100%}
  .main-nav{width:100vw;max-width:100vw;left:0;right:0}
  .hero-content,.intro-copy,.craft-copy,.testimonial-content,.form-intro,.form-wrap,
  .process-heading,.process-list,.benefits-grid,.faq-list,.footer-top,.footer-showcase,
  .footer-bottom,.consent-card,.consent-copy,.consent-preferences{
    min-width:0;
    max-width:100%;
  }
  .intro-visual,.craft-image,.testimonial-aside,.footer-media,.footer-map-card{
    width:100%;
    max-width:100%;
    margin-left:0!important;
    margin-right:0!important;
  }
  .testimonial-aside{margin-inline:0!important}
  .editorial-gallery{width:100%;max-width:100%;overflow:hidden}
  .gallery-item,
  .gallery-item:nth-child(even),
  .gallery-item:nth-child(odd){
    width:100%;
    max-width:100%;
    margin-left:0!important;
    margin-right:0!important;
  }
  .gallery-button{width:100%;max-width:100%}
  .statement-copy{max-width:calc(100% - 44px)}
  .statement-copy p{overflow-wrap:anywhere}
  .footer-showcase{overflow:hidden}
  .map-store-badge{max-width:calc(100% - 24px)!important;min-width:0!important}
  .developer-credit{min-width:0!important;max-width:100%;flex-wrap:wrap}
  .developer-credit img{max-width:120px;height:auto}
  .consent-layer{width:100%;max-width:100%;overflow:hidden}
  .consent-card{width:100%;max-width:100%;grid-template-columns:minmax(0,1fr)!important}
  .consent-brand{width:100%;max-width:100%;overflow:hidden}
  .consent-brand img{width:min(220px,80vw);max-height:90px;object-position:left center}
  .consent-actions{width:100%;max-width:100%}
  .consent-button,.consent-manage{max-width:100%;white-space:normal;text-align:center}
  .lightbox{width:100%;max-width:100%}
  .lightbox figure{max-width:100%;overflow:hidden}
  .privacy-fab{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom))}
}

@media(max-width:600px){
  .button{min-width:0;max-width:100%}
  .button span:first-child{min-width:0}
  .footer-social{flex-wrap:wrap}
  .consent-card{padding:28px 20px 22px}
  .consent-brand img{width:min(190px,72vw);max-height:78px}
}
