/* Cadê Meu Rango? — padrão oficial das páginas Premium no celular.
 * Base aprovada: cartões brancos compactos do Medina (38px, 42px em telas estreitas).
 * Importar este arquivo DEPOIS dos estilos da página, em todos os novos Premium.
 * Nunca reduzir o tamanho dos textos ou ícones para compactar: reduzir só a caixa.
 */
.mobile-card-sep,.premium-mobile-card-description{display:none}
@media(max-width:850px){
  .premium-page .hero-left .hero-copy>h1 i{
    display:block;
    max-width:100%;
    white-space:nowrap;
    font-size:clamp(12px,3.55vw,18px);
    letter-spacing:-.035em;
    line-height:1.18;
  }
  .premium-page--cutelos .hero-left .hero-copy>h1 i{
    font-size:clamp(10px,2.95vw,16px);
  }
}
@media(max-width:650px){
  .premium-page .quick-grid{grid-template-columns:1fr;margin-top:7px;gap:6px}
  .premium-page .quick-grid > .quick-card{
    box-sizing:border-box;
    height:38px;
    min-height:38px;
    max-height:38px;
    padding:1px 11px;
    display:flex;
    align-items:center;
    gap:11px;
    overflow:hidden;
  }
  .premium-page .quick-grid > .quick-card h3{margin:0 0 3px}
  .premium-page .quick-grid > .quick-card p{margin:0}
  .premium-page .quick-grid > .quick-card p br{display:none}
  .premium-page .mobile-card-sep{display:inline}
  .premium-page .premium-desktop-card-description{display:none}
  .premium-page .premium-mobile-card-description{display:inline}
  .premium-page .quick-card small{display:none}
  .premium-page .gallery-section{margin-top:14px}
  .premium-page .gallery-section>.premium-section-divider{margin-bottom:12px}
}
@media(max-width:380px){
  .premium-page .quick-grid > .quick-card{
    height:42px;
    min-height:42px;
    max-height:42px;
    padding:1px 9px;
  }
  .premium-page .hero-left .hero-copy>h1 i{font-size:12px;letter-spacing:-.05em}
  .premium-page--cutelos .hero-left .hero-copy>h1 i{font-size:10px;letter-spacing:-.04em}
}


/* Padrão responsivo Premium — 19/11/2026.
   HTML: link Voltar primeiro, marca Cadê Meu Rango depois.
   Desktop mantém a organização anterior; mobile inverte os lados.
   Logo do restaurante: 70px -> até 98px (+40% largura e proporção preservada).
   Tamanhos fluidos para celulares compactos/grandes e tablets.
*/
@media(min-width:851px){
  .premium-page .nav-inner > .logo-cmr{order:0}
  .premium-page .nav-inner > .premium-back{order:1}
}
@media(max-width:850px){
  .premium-page{max-width:100%;overflow-x:clip}
  .premium-page .shell{min-width:0;max-width:100%}
  .premium-page .nav-inner{
    display:flex;flex-direction:row;flex-wrap:nowrap;
    justify-content:space-between;align-items:center;
    gap:clamp(5px,1.8vw,16px);
    min-height:clamp(54px,11.5vw,68px);
  }
  .premium-page .nav-inner > .premium-back{
    order:0;flex:0 0 auto;
    display:inline-flex;justify-content:center;align-items:center;
    min-height:40px;
    padding:9px clamp(8px,2.25vw,13px);
    font-size:clamp(11px,3vw,13px);
    white-space:nowrap;
  }
  .premium-page .nav-inner > .logo-cmr{
    order:1;min-width:0;max-width:calc(100% - 87px);
    flex:0 1 auto;display:inline-flex;
    align-items:center;justify-content:flex-end;
    gap:clamp(3px,1.4vw,8px);
    font-size:clamp(10px,3.55vw,18px);
    white-space:nowrap;
  }
  .premium-page .nav-inner > .logo-cmr .logo-cmr-mark{
    flex:0 0 auto;
    display:grid;place-items:center;
    width:clamp(24px,7.2vw,34px);
    height:clamp(24px,7.2vw,34px);
    font-size:clamp(14px,4vw,21px);
  }
  .premium-page .nav-inner > .logo-cmr > span:last-child{
    min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  }

  /* +40% no tamanho horizontal da logomarca, reduzindo só em telas muito estreitas. */
  .premium-page{--premium-brand-width:clamp(82px,30vw,98px)}
  .premium-page .page-hero,.premium-page .hero-left,
  .premium-page .hero-map,.premium-page .quick-grid{min-width:0;max-width:100%}
  .premium-page .hero-left .hero-copy{
    grid-template-columns:minmax(0,1fr) calc(var(--premium-brand-width) + 6px);
    grid-template-rows:auto minmax(0,auto) auto;
    column-gap:clamp(5px,1.7vw,10px);
    row-gap:clamp(4px,1.2vw,7px);
    min-width:0;
    padding:clamp(10px,2.7vw,16px);
  }
  .premium-page .hero-left .hero-copy > .hero-visual{
    grid-area:mark;
    width:calc(var(--premium-brand-width) + 6px);
    height:calc(var(--premium-brand-width) + 6px);
    min-width:0;max-width:none;
    padding:3px;
    justify-self:end;align-self:start;
  }
  .premium-page .hero-left .hero-copy > .hero-visual .brand-frame{
    width:var(--premium-brand-width);
    height:var(--premium-brand-width);
    max-width:none;
    min-width:0;
    aspect-ratio:1/1;
    padding:3px;
    border-radius:clamp(11px,3vw,16px);
  }
  .premium-page .hero-left .hero-copy > .hero-visual .brand-frame img{
    width:100%;height:100%;max-width:100%;object-fit:contain;
    border-radius:clamp(8px,2.4vw,12px);
  }
  .premium-page .hero-left .hero-copy > h1{
    font-size:clamp(28px,7.5vw,43px);
    min-width:0;
    max-width:100%;
    overflow-wrap:break-word;
  }
  .premium-page .hero-left .hero-copy > .hero-label{
    font-size:clamp(8px,2.05vw,10px);
    line-height:1.2;
    min-width:0;
  }
  .premium-page .hero-left .hero-copy > .hero-actions{
    grid-template-columns:minmax(55px,.78fr) minmax(0,1.05fr) minmax(0,1.08fr);
    gap:clamp(3px,1.2vw,7px);
    width:100%;
    min-width:0;
  }
  .premium-page .hero-actions > .action{
    min-width:0;
    min-height:40px;
    padding:8px clamp(4px,1.4vw,9px);
    gap:clamp(3px,1vw,7px);
    font-size:clamp(10px,2.75vw,12px);
  }
  .premium-page .hero-actions > .action svg{
    width:clamp(12px,3.7vw,16px);height:clamp(12px,3.7vw,16px);flex:none;
  }
  .premium-page .hero-actions .hero-phone-number{
    min-width:0;
    font-size:clamp(9px,2.65vw,12px);
    white-space:nowrap;
    text-align:center;
  }
  .premium-page .hero-actions .hero-whatsapp{
    min-width:0;
    min-height:40px;
    padding:7px clamp(3px,1vw,8px);
    font-size:clamp(9px,2.55vw,11px);
    line-height:1.12;
    white-space:normal;
    text-align:center;
    overflow-wrap:normal;
  }
  .premium-page .hero-map{height:clamp(175px,53vw,236px)}
  .premium-page .hero-map iframe{display:block;width:100%;height:100%;max-width:100%}
  .premium-page .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .premium-page .photo-grid > *{min-width:0;max-width:100%}
}
/* Cutelos não tem WhatsApp confirmado: telefone usa o restante da linha. */
@media(max-width:850px){
  .premium-page--cutelos .hero-left .hero-copy > .hero-actions{grid-template-columns:minmax(65px,auto) minmax(0,1fr)}
}
/* Telas ultracompactas: a faixa superior e os contatos continuam sem scroll horizontal. */
@media(max-width:359px){
  .premium-page .shell{padding-inline:clamp(10px,3.2vw,14px)}
  .premium-page .nav-inner > .logo-cmr{max-width:calc(100% - 82px)}
  .premium-page .nav-inner > .premium-back{padding-inline:8px}
  .premium-page .hero-left .hero-copy > h1{
    font-size:clamp(25px,8.3vw,30px);
    line-height:1;
  }
  .premium-page .hero-left .hero-copy > .hero-actions{
    grid-template-columns:minmax(51px,.7fr) minmax(0,1fr) minmax(0,1.08fr);
  }
  .premium-page .hero-actions .hero-whatsapp{font-size:9px;line-height:1.1}
}


/* Celulares deitados com viewport acima de 850px: manter Voltar à esquerda. */
@media (pointer:coarse) and (orientation:landscape) and (min-width:851px) and (max-width:1200px){
  .premium-page .nav-inner > .premium-back{order:0}
  .premium-page .nav-inner > .logo-cmr{order:1}
  .premium-page .nav-inner{gap:12px}
}


/* O track do rótulo não pode expandir para acompanhar a logomarca.
   Primeiro track tem só a altura do rótulo; título sobe, logo permanece
   no canto superior direito, e ações mantêm sua própria linha abaixo. */
@media(max-width:850px){
  .premium-page .hero-left .hero-copy{
    grid-template-rows:max-content minmax(min-content,auto) max-content;
    row-gap:clamp(3px,1vw,5px);
    align-content:start;
    height:auto;
  }
  .premium-page .hero-left .hero-copy > .hero-label{
    align-self:start;
    line-height:1.2;
    margin:0;
  }
  .premium-page .hero-left .hero-copy > h1{
    align-self:center;
    margin:0;
    padding:0;
    line-height:1;
  }
  .premium-page .hero-left .hero-copy > h1 i{
    margin-top:clamp(5px,1.25vw,8px);
  }
  .premium-page .hero-left .hero-copy > .hero-actions{
    margin-top:clamp(3px,1vw,6px);
  }
}

/* Marca oficial do Cadê Meu Rango em todas as páginas Premium, mesmo recorte no desktop e mobile. */
.premium-page .logo-cmr-mark{background:transparent!important;box-shadow:none!important;border-radius:0!important}
.premium-page .logo-cmr-mark img{display:block;width:100%;height:100%;object-fit:contain;clip-path:none!important;border-radius:0!important}
