@import url('../../rotas-certas/css/territorio.css');
@import url('../../rotas-certas/css/integracoes.css');
@import url('../../rotas-certas/css/conformidade.css');
@import url('../../boa-companhia-na-trilha/css/modal-cadastur.css');
@import url('../../rotas-certas/css/footer.css');
.territorio-cantinho{padding:90px 0;background:#f0eee3}.territorio-cantinho>.container>p{max-width:730px}.territorio-tag{letter-spacing:.12em;text-transform:uppercase;font-size:.75rem}.territorio-cantinho .territorio-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:35px}.territorio-card h3{font-family:Georgia,serif;font-size:1.8rem;font-weight:400}.integracoes{background:#fcfaf5;padding:90px 0}.integracao-card{background:#fff;border-radius:18px}.integracao-card h3{font-family:Georgia,serif;font-weight:400}.conformidade{background:#ecefdf;padding:90px 0}.conformidade::before{display:none}.conformidade-texto h2{font-family:Georgia,serif;font-size:clamp(2.2rem,4vw,3.6rem);font-weight:400}.conformidade-card{background:transparent;box-shadow:none}.conformidade .credencial-link{background:transparent;border:0;padding:0}.conformidade-links{flex-wrap:wrap}.footer{background:#18372b;color:#fff;padding:60px 0 24px}.footer a{color:#fff}.footer .footer-links{display:flex;flex-direction:column;gap:12px}.footer .footer-grid{grid-template-columns:1.3fr 1fr 1fr;gap:35px}.footer h3{font-family:Georgia,serif;color:#fff}.credencial-modal .credencial-header{background:#fcfaf5}.credencial-modal .credencial-footer{background:#fcfaf5;color:#243c32}.credencial-modal .credencial-container{max-height:90dvh;overflow:auto}.credencial-modal .credencial-acoes{flex-wrap:wrap}.participacao{border-radius:0}.credencial-modal .credencial-fechar{min-width:44px;min-height:44px}.credencial-modal[aria-hidden="true"]{visibility:hidden}.credencial-header{flex-wrap:wrap;gap:15px}
@media(max-width:760px){.territorio-cantinho .territorio-grid{grid-template-columns:1fr}.territorio-cantinho,.integracoes,.conformidade{padding:60px 0}.conformidade-grid{grid-template-columns:minmax(0,1fr);gap:32px}.footer .footer-grid{grid-template-columns:1fr}.credencial-modal{padding:12px}.credencial-modal .credencial-header{padding:16px}.credencial-modal .credencial-footer{padding:16px}.credencial-modal .credencial-titulo{max-width:100%}.credencial-modal .credencial-acoes{gap:8px}}
.credencial-modal .credencial-nova-guia{background:#e9eee4;color:#17382d;border:1px solid #bcc8bc}.credencial-modal .credencial-nova-guia:hover{background:#dbe5d5}.credencial-modal .credencial-fechar{padding:0;background:#fcfaf5;color:#17382d;border:1px solid #bcc8bc}.credencial-modal .credencial-conteudo img{height:auto;object-fit:contain}

/* Cabeçalho sempre alcançável; imagem e texto rolam no mesmo contêiner. */
.credencial-modal .credencial-container{display:block;max-height:calc(100dvh - 48px);overflow:auto;overscroll-behavior:contain}
.credencial-modal .credencial-header{position:sticky;top:0;z-index:30;color:#243c32}
.credencial-modal .credencial-conteudo{display:block;overflow:visible}
.credencial-modal .credencial-footer{position:static;z-index:auto}
.credencial-modal .credencial-fechar{flex:none;width:48px;height:48px;border-radius:50%}
.credencial-modal .credencial-conteudo img{display:block;margin:20px auto 0}
@media(max-width:760px){.credencial-modal .credencial-container{max-height:calc(100dvh - 24px)}.credencial-modal .credencial-header{flex-direction:row;align-items:center;flex-wrap:wrap}.credencial-modal .credencial-acoes{flex-direction:row;align-items:center}.credencial-modal .credencial-acoes a{padding:10px 12px;font-size:.85rem}.credencial-modal .credencial-acoes .credencial-fechar{width:48px;height:48px}}

/* Adaptação à paleta já existente do Tempero da Serra. */
.territorio-cantinho{background:#eee8dc}.territorio-tag{color:var(--barro)}
.integracoes{background:var(--papel)}.integracoes .secao-titulo span{background:#e8eadd;color:var(--verde)}
.integracao-card{border:1px solid var(--linha);box-shadow:0 8px 30px #3b392608}
.integracao-card a{background:var(--verde);min-height:48px}.territorio-conteudo button{min-height:48px;padding:12px 18px;border:1px solid var(--verde);border-radius:100px;background:var(--verde);color:#fff}
.conformidade{background:#e8eadd}.conformidade .credencial-link img{width:100%;height:auto}.conformidade-card{max-width:430px}.conformidade-grid{align-items:center}
.footer .footer-links{margin:0}.footer .footer-links a{display:flex;min-height:44px}.footer::before{display:none}
.participacao-contato{margin-top:24px;font-size:.95rem}
#orientacoes-territorio>:not(.modal-toolbar){margin-left:40px;margin-right:40px}#orientacoes-territorio h2{margin-top:30px}#orientacoes-territorio .destaque{width:calc(100% - 80px);height:auto;border-radius:14px}#orientacoes-territorio h3{font-size:1.6rem}#orientacoes-territorio>.botao{margin-bottom:40px}
@media(max-width:640px){#orientacoes-territorio>:not(.modal-toolbar){margin-left:24px;margin-right:24px}#orientacoes-territorio .destaque{width:calc(100% - 48px)}.integracoes-grid{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.credencial-modal,.credencial-container,.integracao-card,.territorio-card{animation:none;transition:none}}

.conformidade .conformidade-card,.conformidade .credencial-link{width:100%}
