/* Camada final: site, compra, checkout e portal mais compactos */
html,body{max-width:100%;overflow-x:hidden}
body .wrap{width:calc(100% - 28px)!important;max-width:1460px!important}
body .section{padding:58px 0!important}
body .card{border-radius:12px!important;box-shadow:0 2px 10px rgba(16,24,40,.045)!important}

/* Listagens públicas */
.home-eventos-page,.eventos-page{width:100%!important;max-width:none!important;margin-inline:auto!important}
.home-carousel{max-height:330px!important}.home-carousel-slide,.home-carousel-link{min-height:280px!important;max-height:330px!important}.home-carousel-slide img{height:100%!important;max-height:330px!important;object-fit:cover!important}
.home-eventos-hero{padding:38px 18px 24px!important}.home-eventos-hero h1{font-size:clamp(30px,4vw,52px)!important}.home-eventos-hero p{font-size:14px!important}
.home-eventos-filtro-card,.eventos-search-card{padding:12px!important}.home-eventos-filtros,.eventos-search-form{gap:8px!important}.home-eventos-filtros input,.home-eventos-filtros select,.eventos-search-field input,.eventos-search-field select{min-height:42px!important;padding:8px 10px!important;font-size:12px!important}

/* Página do evento */
.evento-detalhe-page,.compra-detalhe-page,.checkout-page-clean,.sucesso-page{
  width:100%!important;max-width:none!important;margin:0 auto!important;padding:18px 0 54px!important
}
.evento-detalhe-page,.compra-detalhe-page,.checkout-page-clean{
  background:#fff!important
}
.evento-cover,.compra-cover,.checkout-banner{max-height:300px!important;border-radius:14px!important}.evento-cover img,.compra-cover img,.checkout-banner img{width:100%!important;max-height:300px!important;object-fit:cover!important}
.evento-layout{grid-template-columns:minmax(0,1fr) 340px!important;gap:16px!important;margin-top:16px!important;padding:0!important;border:0!important;background:#fff!important}
.evento-main{padding:20px!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}.evento-title{font-size:clamp(25px,3vw,38px)!important}.evento-meta-row{padding:9px 0!important}.evento-section{margin-top:20px!important}.evento-section h2{font-size:16px!important}.evento-texto{font-size:13px!important;line-height:1.65!important}
.evento-side{top:136px!important}.evento-ingressos-box{padding:14px!important}.evento-lote-card,.evento-tipo-card{padding:12px!important}.evento-preco,.evento-tipo-preco{font-size:18px!important}.evento-btn{min-height:40px!important;font-size:12px!important}

/* Escolha/inscrição */
.compra-layout{width:100%!important;max-width:none!important;grid-template-columns:minmax(0,1fr) 340px!important;gap:16px!important;margin-top:16px!important;padding:0!important;border:0!important;background:#fff!important}
.compra-main{min-width:0!important;padding:20px!important;border:0!important;background:#fff!important}
.compra-side{min-width:0!important;padding:0!important;border:0!important;background:#fff!important}
.compra-layout :is(.compra-card,.compra-section,.compra-info-box,.nome-ingresso-item,.pergunta-campo){border-radius:10px!important}
.compra-section{padding:16px!important;margin-bottom:10px!important}.compra-section h2,.compra-card h2{font-size:15px!important}.compra-section p{font-size:12px!important}
.checkout-grid{gap:10px!important}.checkout-grid input,.checkout-grid select,.checkout-grid textarea,.compra-section input,.compra-section select,.compra-section textarea{min-height:41px!important;padding:9px 10px!important;border-radius:7px!important;font-size:12px!important}
.compra-tipos-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}.compra-tipos-ingresso [class*="tipo"]{border-radius:9px!important}
.compra-layout>aside,.compra-layout>.compra-card{position:sticky!important;top:136px!important;align-self:start!important;padding:15px!important}
.compra-resumo-item{padding:8px 0!important;font-size:11px!important}

/* Checkout */
.checkout-layout{width:100%!important;max-width:none!important;grid-template-columns:minmax(0,1fr) 330px!important;gap:16px!important;align-items:start!important;padding:0!important;border:0!important;background:#fff!important}
.checkout-main{min-width:0!important;padding:20px!important;border:0!important;background:#fff!important}
.checkout-side{min-width:0!important;padding:0!important;border:0!important;background:#fff!important}
.checkout-layout :is(.checkout-section,.checkout-side-card,.checkout-info-box,.checkout-acc-item,.pix-manual-card){border-radius:10px!important;box-shadow:none!important}
.checkout-section{padding:16px!important;margin-bottom:10px!important}.checkout-section h2{font-size:15px!important}.checkout-section p{font-size:11px!important}
.checkout-ingressos-lista{gap:7px!important}.checkout-ingresso-card{min-height:58px!important;padding:9px!important}
.checkout-acc-head{min-height:58px!important;padding:10px 12px!important}.checkout-acc-title strong{font-size:12px!important}.checkout-acc-title span{font-size:10px!important}.checkout-acc-body{padding:12px!important}
.checkout-side-card{position:sticky!important;top:136px!important;padding:14px!important}.checkout-side-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}.checkout-side-mini{padding:8px!important}.checkout-resumo-item{padding:8px 0!important;font-size:11px!important}.checkout-resumo-item.total{font-size:15px!important}
.pix-manual-premium{gap:10px!important}.pix-manual-hero,.pix-manual-card{padding:14px!important}.pix-manual-dados,.pix-manual-passos{gap:8px!important}.pix-manual-qrcode-card img,.checkout-qrcode-clean img{max-width:160px!important}

/* Confirmação e portal */
.sucesso-hero{padding:24px!important;border-radius:12px!important}.sucesso-hero h1{font-size:25px!important}.sucesso-grid{grid-template-columns:minmax(0,1fr) 320px!important;gap:14px!important}.ingresso-card{padding:12px!important;border-radius:10px!important}.ingresso-qr img{width:130px!important;height:130px!important}
.portal-pedido-container{width:100%!important;max-width:none!important;margin-inline:auto!important}.portal-pedido-head{padding:18px 0!important}.portal-grid{grid-template-columns:minmax(0,1fr) 300px!important;gap:14px!important}.portal-card,.side-card{padding:14px!important;border-radius:10px!important}.pedido-info-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}.ingressos-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}

/* Formulários públicos */
.compra-detalhe-page label,.checkout-page-clean label{font-size:11px!important;font-weight:650!important}.compra-detalhe-page small,.checkout-page-clean small{font-size:10px!important}.compra-detalhe-page .btn,.checkout-page-clean .btn,.sucesso-page .btn,.portal-pedido-page .btn{min-height:39px!important;padding:8px 12px!important;border-radius:7px!important;font-size:11px!important}

@media(max-width:980px){
  body .wrap{width:calc(100% - 24px)!important}
  .home-eventos-page,.eventos-page,.evento-detalhe-page,.compra-detalhe-page,.checkout-page-clean,.sucesso-page,.portal-pedido-container{width:100%!important}
  .evento-layout,.compra-layout,.checkout-layout,.sucesso-grid,.portal-grid{grid-template-columns:1fr!important}
  .evento-side,.compra-layout>aside,.compra-layout>.compra-card,.checkout-side-card{position:static!important}
  .compra-tipos-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .portal-grid>aside{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
}
@media(max-width:640px){
  body .wrap{width:calc(100% - 16px)!important}
  .home-eventos-page,.eventos-page,.evento-detalhe-page,.compra-detalhe-page,.checkout-page-clean,.sucesso-page,.portal-pedido-container{width:100%!important}
  body .section{padding:42px 0!important}
  .home-carousel,.home-carousel-slide,.home-carousel-link{min-height:180px!important;max-height:210px!important}
  .home-carousel-caption{padding:16px!important}.home-carousel-caption strong{font-size:18px!important}
  .home-eventos-hero{padding:28px 6px 18px!important}.home-eventos-hero h1{font-size:30px!important}.home-eventos-hero p{font-size:12px!important}
  .home-eventos-filtros,.eventos-search-form{grid-template-columns:1fr!important}
  .evento-cover,.compra-cover,.checkout-banner,.evento-cover img,.compra-cover img,.checkout-banner img{max-height:210px!important;border-radius:10px!important}
  .evento-layout{padding:0!important;border:0!important;background:#fff!important}
  .evento-main{width:100%!important;padding:15px 12px!important;border-radius:0!important}.evento-title{font-size:22px!important;line-height:1.18!important}.evento-meta-row{padding:7px 0!important;font-size:11px!important}
  .evento-badges{gap:4px!important}.evento-pill{min-height:23px!important;padding:5px 8px!important;font-size:9px!important}
  .evento-section{margin-top:16px!important;padding-top:14px!important}.evento-section h2{font-size:15px!important}.evento-texto{font-size:12px!important;line-height:1.6!important}
  .compra-section,.checkout-section,.checkout-side-card,.sucesso-hero,.portal-card,.side-card{padding:11px!important}
  .compra-tipos-grid,.checkout-side-grid,.pedido-info-grid,.ingressos-grid,.portal-grid>aside{grid-template-columns:1fr!important}
  .checkout-grid{grid-template-columns:1fr!important}
  .checkout-actions,.sucesso-actions,.portal-actions{display:grid!important;grid-template-columns:1fr!important}
  .checkout-actions .btn,.sucesso-actions .btn,.portal-actions .btn{width:100%!important}
  .ingresso-card{display:block!important}.ingresso-qr{margin:0 auto 12px!important;text-align:center!important}
  .pix-manual-dados,.pix-manual-passos{grid-template-columns:1fr!important}
}

/* Página exclusiva de perguntas frequentes */
.faq-page{width:calc(100% - 28px);max-width:1180px;margin:0 auto;padding:58px 0 80px}
.faq-page-head{max-width:760px;margin:0 auto 28px;text-align:center}.faq-page-head h1{margin:14px 0 9px;color:#101828;font-size:clamp(34px,5vw,54px);line-height:1.05;letter-spacing:-.055em}.faq-page-head p{margin:0;color:#667085;font-size:15px;line-height:1.6}
.faq-page-nav{position:sticky;top:76px;z-index:40;margin:0 0 34px;padding:7px;display:flex;align-items:center;justify-content:center;gap:4px;border:1px solid #e4e7ec;border-radius:10px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px)}.faq-page-nav a{min-height:36px;padding:8px 13px;display:flex;align-items:center;border-radius:7px;color:#475467;font-size:12px;font-weight:650;text-decoration:none}.faq-page-nav a:hover{background:#f2f4f7;color:#101828}
.faq-page-content{display:grid;gap:42px}.faq-category{scroll-margin-top:140px;display:grid;grid-template-columns:280px minmax(0,1fr);gap:38px;align-items:start}.faq-category>header{display:flex;align-items:flex-start;gap:12px}.faq-category>header>span{width:34px;height:34px;min-width:34px;display:grid;place-items:center;border-radius:50%;background:#eef4ff;color:#175cd3;font-size:10px;font-weight:750}.faq-category h2{margin:1px 0 5px;color:#101828;font-size:18px;letter-spacing:-.025em}.faq-category header p{margin:0;color:#667085;font-size:11px;line-height:1.45}
.faq-list{border-top:2px solid #101828}.faq-list details{border-bottom:1px solid #dfe3e8}.faq-list summary{min-height:56px;padding:15px 42px 15px 2px;position:relative;display:flex;align-items:center;color:#1d2939;font-size:13px;font-weight:650;line-height:1.4;list-style:none;cursor:pointer}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary::after{content:"+";position:absolute;right:3px;top:50%;transform:translateY(-50%);width:25px;height:25px;display:grid;place-items:center;border:1px solid #d0d5dd;border-radius:50%;color:#667085;font-size:16px;font-weight:400}.faq-list details[open] summary::after{content:"−";border-color:#b8cdfb;background:#eef4ff;color:#175cd3}.faq-list details p{margin:0;padding:0 44px 17px 2px;color:#667085;font-size:12px;line-height:1.65}
@media(max-width:760px){.faq-page{width:calc(100% - 24px);padding:42px 0 58px}.faq-page-nav{top:64px;justify-content:flex-start;overflow-x:auto}.faq-page-nav a{white-space:nowrap}.faq-category{grid-template-columns:1fr;gap:15px}.faq-page-content{gap:34px}}

/* Segunda compactação das páginas públicas */
.topin{min-height:64px!important}.top .brand img{max-height:42px!important}.top .nav a{min-height:36px!important;padding:8px 10px!important;font-size:12px!important}
.evento-countdown-bonito{
  margin-bottom:10px!important;padding:9px!important;border-radius:11px!important;
  box-shadow:0 5px 14px rgba(15,23,42,.14)!important
}
.evento-countdown-bonito::after{width:70px!important;height:70px!important;right:-24px!important;bottom:-28px!important}
.evento-countdown-numeros{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}
.evento-countdown-numeros div{
  min-height:45px!important;padding:5px 2px!important;border-radius:7px!important;gap:2px!important
}
.evento-countdown-numeros strong{font-size:15px!important;font-weight:700!important}
.evento-countdown-numeros small{font-size:7px!important;letter-spacing:.03em!important}
.evento-contato-organizador-card{
  margin-top:9px!important;padding:10px!important;border-radius:9px!important;gap:8px!important;box-shadow:none!important
}
.evento-contato-organizador-info{gap:2px!important}.evento-contato-organizador-info span{font-size:8px!important}.evento-contato-organizador-info strong{font-size:11px!important}
.evento-contato-whatsapp-btn{min-height:36px!important;padding:7px 9px!important;border-radius:7px!important;font-size:10px!important}.evento-contato-whatsapp-btn i{font-size:13px!important}
.evento-side-note{margin-top:9px!important;padding:9px!important;border-radius:8px!important;font-size:9px!important;line-height:1.45!important}
.evento-ingressos-box h2,.evento-ingressos-box h3{font-size:13px!important}.evento-parcela,.evento-tipo-vagas{font-size:9px!important}
.evento-info-box,.evento-termo-box{padding:10px!important;border-radius:8px!important;font-size:10px!important;line-height:1.5!important}
.footer{padding:42px 0 22px!important}.footer .grid.g4{gap:22px!important}.footer h3{font-size:14px!important}.footer h4{font-size:11px!important}.footer p,.footer a{font-size:10px!important;line-height:1.5!important}.footer-social a,.social-links a{width:34px!important;height:34px!important;min-width:34px!important}.footer-social a i,.social-links a i{font-size:16px!important}

@media(max-width:640px){
  .topin{min-height:58px!important}.top .brand img{max-height:36px!important}.mobile-nav-toggle{width:36px!important;height:36px!important;border-radius:8px!important;font-size:16px!important}
  .evento-detalhe-page,.compra-detalhe-page,.checkout-page-clean{padding-top:8px!important;padding-bottom:34px!important}
  .evento-layout,.compra-layout,.checkout-layout{margin-top:8px!important;gap:8px!important}
  .compra-layout,.checkout-layout{width:100%!important;padding:0!important;border:0!important;background:#fff!important}
  .compra-main,.checkout-main{width:100%!important;padding:15px 12px!important;border:0!important;background:#fff!important}
  .compra-side,.checkout-side{width:100%!important;padding:0 12px 12px!important;border:0!important;background:#fff!important}
  .evento-countdown-bonito{margin-bottom:7px!important;padding:7px!important}
  .evento-countdown-numeros{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3px!important}
  .evento-countdown-numeros div{min-height:39px!important;border-radius:6px!important}
  .evento-countdown-numeros strong{font-size:13px!important}.evento-countdown-numeros small{font-size:6px!important}
  .evento-ingressos-box{padding:11px!important}.evento-lote-card,.evento-tipo-card{padding:10px!important}
  .evento-preco,.evento-tipo-preco{font-size:16px!important}.evento-btn{min-height:37px!important;padding:8px 10px!important;font-size:10px!important}
  .compra-badges,.checkout-badges{gap:4px!important}.compra-badges .pill,.checkout-badges .pill{min-height:22px!important;padding:4px 7px!important;font-size:8px!important}
  .compra-section h2,.checkout-section h2{font-size:13px!important}.compra-section p,.checkout-section p{font-size:10px!important}
  .compra-section input,.compra-section select,.compra-section textarea,.checkout-section input,.checkout-section select,.checkout-section textarea{min-height:39px!important;font-size:11px!important}
  .checkout-acc-head{min-height:52px!important;padding:8px 10px!important}.checkout-acc-body{padding:9px!important}
  .footer{padding:32px 0 18px!important}.footer .grid.g4{grid-template-columns:1fr 1fr!important;gap:18px 12px!important}.footer-bottom-dev{padding-top:12px!important;margin-top:12px!important;font-size:9px!important}
}
@media(max-width:400px){
  .footer .grid.g4{grid-template-columns:1fr!important}
}
