/* Bergamo Embalagens V1.0.0 — comportamento independente do WordPress */
:root{--bergamo-ink:#1f3248;--bergamo-teal:#bcded7;--bergamo-white:#fff}
.elementor-invisible{visibility:visible!important}.e-con{content-visibility:visible!important}
.elementor-gallery__container{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:15px!important;position:relative!important;height:auto!important}
.elementor-gallery__container .e-gallery-item{display:block!important;position:relative!important;top:auto!important;left:auto!important;width:100%!important;transform:none!important;aspect-ratio:1;overflow:hidden;border-radius:14px}
.elementor-gallery-item__image{position:absolute!important;inset:0;background-size:cover!important;background-position:center!important;transition:transform .4s}.e-gallery-item:hover .elementor-gallery-item__image{transform:scale(1.05)}
.bergamo-guide{font-family:Montserrat,Arial,sans-serif;color:var(--bergamo-ink);max-width:1120px;margin:0 auto;padding:55px 24px;line-height:1.8;font-size:16px;clear:both}
.bergamo-guide h2{font-size:clamp(23px,2.2vw,32px);line-height:1.3;margin:26px 0 16px;color:var(--bergamo-ink);font-weight:700}.bergamo-guide h3{font-size:21px}.bergamo-guide p{margin:0 0 18px}.bergamo-guide ul{margin:0 0 22px 20px}.bergamo-guide li{padding:3px 0}.bergamo-guide details{border-bottom:1px solid #d6e3e0;padding:15px 0}.bergamo-guide summary{cursor:pointer;font-weight:600}.bergamo-guide details p{margin:14px 0 4px}
.bergamo-cta{display:inline-flex;align-items:center;justify-content:center;background:var(--bergamo-ink);color:#fff!important;padding:14px 22px;border-radius:8px;text-align:center;text-decoration:none!important;font-family:Montserrat,Arial,sans-serif;font-size:14px;font-weight:600;line-height:1.4;transition:transform .2s,background .2s}.bergamo-cta:hover{background:#304b69;transform:translateY(-2px)}.bergamo-cta:focus-visible,a:focus-visible,button:focus-visible{outline:3px solid #00a883;outline-offset:4px}
.bergamo-whatsapp-card{font-family:Montserrat,Arial,sans-serif;background:#f4faf8;border-radius:20px;padding:35px;color:var(--bergamo-ink);line-height:1.75;max-width:620px}.bergamo-whatsapp-card h3{font-family:Montserrat,Arial,sans-serif;font-size:28px;color:var(--bergamo-ink);margin:14px 0}.bergamo-eyebrow{font-size:12px;letter-spacing:.1em;font-weight:700}.bergamo-number{font-weight:700;font-size:19px;margin:20px 0 0}
.bergamo-floating-wa{position:fixed;z-index:990;bottom:24px;right:24px;width:58px;height:58px;border-radius:50%;background:#19b75b;color:#fff;display:grid;place-items:center;box-shadow:0 5px 20px #0003}.bergamo-floating-wa:hover{color:#fff;background:#12994b}.bergamo-floating-wa svg{width:32px;height:32px}.bergamo-version{text-align:center;color:#fff9;font-size:12px;margin:0!important;padding:14px 20px;background:#1f3248;width:100%;font-family:Montserrat,Arial,sans-serif}
.bergamo-lightbox{position:fixed;inset:0;background:#111e;z-index:10000;display:flex;align-items:center;justify-content:center;padding:50px 60px}.bergamo-lightbox[hidden]{display:none}.bergamo-lightbox img{max-height:82vh;max-width:88vw;object-fit:contain}.bergamo-lightbox figure{margin:0;text-align:center}.bergamo-lightbox figcaption{color:#fff;font-family:Montserrat,Arial,sans-serif;font-size:14px;margin-top:12px}.bergamo-lightbox button{position:absolute;border:0;background:#ffffff22;color:#fff;font-size:30px;width:46px;height:46px;border-radius:50%;cursor:pointer;padding:0;line-height:1}.bergamo-lightbox .close{right:15px;top:15px}.bergamo-lightbox .prev{left:10px}.bergamo-lightbox .next{right:10px}
.elementor-widget-flip-box[role=link]{cursor:pointer}.bergamo-info-intro{background:#e4f2ee;border-radius:16px;padding:25px;margin-bottom:30px}.bergamo-info-photo{max-width:400px;max-height:400px;object-fit:contain;float:right;margin:0 0 24px 30px;border-radius:16px}.bergamo-breadcrumb{font-size:13px;margin-bottom:16px}.bergamo-page-title{background:#d7ece6;text-align:center;padding:35px 24px;color:#1f3248}.bergamo-page-title h1{font:700 clamp(28px,3vw,43px)/1.3 Montserrat,Arial,sans-serif;margin:0 auto;max-width:1100px}.bergamo-related{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.bergamo-related a{border:1px solid #d3e0dc;border-radius:8px;padding:8px 12px;color:#1f3248;font-size:14px}.bergamo-map-list{columns:3;column-gap:35px}.bergamo-map-list li{break-inside:avoid;margin-bottom:10px}
@media(max-width:1024px){.elementor-gallery__container{grid-template-columns:repeat(4,minmax(0,1fr))}.bergamo-map-list{columns:2}}
@media(max-width:921px){body.bergamo-menu-open .ast-mobile-header-content{display:block!important}body.bergamo-menu-open .ast-mobile-popup-drawer{visibility:visible!important;opacity:1!important;transform:none!important}body.bergamo-menu-open .ast-mobile-popup-inner{transform:none!important}body.bergamo-menu-open .ast-mobile-popup-overlay{display:block!important}.main-header-menu .menu-item.bergamo-submenu-open>.sub-menu{display:block!important;visibility:visible!important;opacity:1!important}.ast-menu-toggle{cursor:pointer}}
@media(max-width:767px){.elementor-gallery__container{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important}.bergamo-guide{padding:35px 20px}.bergamo-whatsapp-card{padding:24px}.bergamo-whatsapp-card h3{font-size:24px}.bergamo-floating-wa{right:16px;bottom:16px;width:54px;height:54px}.bergamo-info-photo{float:none;margin:0 auto 24px;display:block;width:100%;max-width:350px}.bergamo-map-list{columns:1}.bergamo-lightbox{padding:45px 30px}.bergamo-guide h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Colunas e espacos originais de cada galeria */
.elementor-element-14b93f5 .elementor-gallery__container{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px!important}
@media(max-width:1024px){.elementor-element-14b93f5 .elementor-gallery__container{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px!important}}
@media(max-width:767px){.elementor-element-14b93f5 .elementor-gallery__container{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}}
.elementor-element-191e970 .elementor-gallery__container{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px!important}
@media(max-width:1024px){.elementor-element-191e970 .elementor-gallery__container{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px!important}}
@media(max-width:767px){.elementor-element-191e970 .elementor-gallery__container{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}}
.elementor-element-0c25f7b .elementor-gallery__container{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px!important}
@media(max-width:1024px){.elementor-element-0c25f7b .elementor-gallery__container{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px!important}}
@media(max-width:767px){.elementor-element-0c25f7b .elementor-gallery__container{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}}
.elementor-element-a24829c .elementor-gallery__container{grid-template-columns:repeat(6,minmax(0,1fr));gap:15px!important}
@media(max-width:1024px){.elementor-element-a24829c .elementor-gallery__container{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px!important}}
@media(max-width:767px){.elementor-element-a24829c .elementor-gallery__container{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important}}
.elementor-element-a1d942d .elementor-gallery__container{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px!important}
@media(max-width:1024px){.elementor-element-a1d942d .elementor-gallery__container{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px!important}}
@media(max-width:767px){.elementor-element-a1d942d .elementor-gallery__container{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}}
.elementor-element-29de363 .elementor-gallery__container{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px!important}
@media(max-width:1024px){.elementor-element-29de363 .elementor-gallery__container{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px!important}}
@media(max-width:767px){.elementor-element-29de363 .elementor-gallery__container{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}}
.elementor-element-ae1e811 .elementor-gallery__container{grid-template-columns:repeat(6,minmax(0,1fr));gap:15px!important}
@media(max-width:1024px){.elementor-element-ae1e811 .elementor-gallery__container{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px!important}}
@media(max-width:767px){.elementor-element-ae1e811 .elementor-gallery__container{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important}}
.elementor-element-9f7970e .elementor-gallery__container{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px!important}
@media(max-width:1024px){.elementor-element-9f7970e .elementor-gallery__container{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px!important}}
@media(max-width:767px){.elementor-element-9f7970e .elementor-gallery__container{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}}
/* Bergamo V1.0.1 — galeria e carrossel nativos */
.e-gallery-item .bergamo-gallery-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.e-gallery-item:hover .bergamo-gallery-photo{transform:scale(1.04)}
.elementor-gallery-item__image{opacity:1!important;background-repeat:no-repeat}
.elementor-gallery-item__content{opacity:0;transition:opacity .2s}.e-gallery-item:hover .elementor-gallery-item__content,.e-gallery-item:focus-visible .elementor-gallery-item__content{opacity:1}
.elementor-widget-loop-carousel{width:100%!important;max-width:100%;min-width:0}
.elementor-widget-loop-carousel .swiper{width:100%!important;overflow:hidden}
.elementor-widget-loop-carousel .swiper-wrapper{display:flex!important;width:100%!important;height:auto!important;transform:none!important;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;gap:24px;padding:8px 0 20px;scrollbar-width:thin}
.elementor-widget-loop-carousel .swiper-slide{flex:0 0 calc((100% - 72px)/4)!important;width:calc((100% - 72px)/4)!important;min-width:0;scroll-snap-align:start;height:auto!important}
.elementor-widget-loop-carousel .swiper-slide .e-con,.elementor-widget-loop-carousel .swiper-slide .e-con-inner{width:100%!important;min-width:0}
.elementor-widget-loop-carousel .elementor-flip-box{height:330px!important;width:100%}
.elementor-widget-loop-carousel .elementor-flip-box__layer__title{font-size:23px!important;line-height:1.3!important;word-break:normal!important;overflow-wrap:normal!important}
.elementor-widget-loop-carousel .elementor-flip-box__image img{width:150px;height:150px;object-fit:contain}
.elementor-widget-loop-carousel .elementor-swiper-button{background:#1f3248;color:white;border-radius:50%;width:42px;height:42px;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:3}
.ast-header-button-1 .ast-custom-button{display:inline-flex!important;align-items:center;justify-content:center;gap:10px;padding:13px 20px!important;border-radius:12px!important;background:#157b53!important;color:#fff!important;border:1px solid #126947!important;box-shadow:0 5px 14px #157b5328;font-size:14px!important;line-height:1.4;font-weight:700!important;text-transform:none!important;transition:background .2s,transform .2s}
.ast-header-button-1 .ast-custom-button-link:hover .ast-custom-button{background:#106441!important;transform:translateY(-2px)}
.ast-custom-button svg{width:23px;height:23px;flex:none;fill:currentColor}
@media(max-width:1024px){.elementor-widget-loop-carousel .swiper-slide{flex-basis:calc((100% - 24px)/2)!important;width:calc((100% - 24px)/2)!important}}
@media(max-width:767px){.elementor-widget-loop-carousel .swiper-slide{flex-basis:100%!important;width:100%!important}.elementor-widget-loop-carousel .elementor-flip-box{height:300px!important}.ast-header-button-1 .ast-custom-button{padding:11px 15px!important;font-size:13px!important}}

/* V1.0.3: um unico icone SVG no botao */
.ast-header-button-1 .ast-custom-button::before,.ast-header-button-1 .ast-custom-button::after{content:none!important;display:none!important}
.ast-header-button-1 .ast-custom-button>i,.ast-header-button-1 .ast-custom-button>.fa,.ast-header-button-1 .ast-custom-button>.fab{display:none!important}
.bergamo-topic{margin:26px 0}.bergamo-topic h2{margin-top:0}

.bergamo-error-page #masthead{position:relative!important}.bergamo-error-page .bergamo-guide{min-height:40vh}
