/* Catedral Anglicana V1.0.61 | proporcoes para notebooks de 15 polegadas.
   Usa largura E altura efetiva do navegador (inclui zoom/escala do Windows).
   Mantem responsividade mobile existente; nenhuma alteracao de funcionalidade. */

/* Barra, logo e menu proporcionais em notebooks comuns (1366x768 a 1536x864).
   A navegacao permanece acessivel em uma linha e nao invade o banner. */
@media (min-width:1240px) and (max-width:1679px) and (max-height:950px) {
  .utility { height:34px; min-height:34px; }
  .site-header .nav-shell {
    min-height:0;
    height:auto;
    max-width:1510px;
    padding-top:9px;
    padding-bottom:11px;
    row-gap:5px;
  }
  .site-header .site-brand { width:258px; max-width:258px; }
  .site-header .logo-horizontal-catedral { max-height:69px; }
  .site-header .main-nav { gap:clamp(8px,.95vw,14px); padding-top:3px; }
  .site-header .main-nav > a,
  .site-header .main-nav .nav-dropdown-toggle {
    font-size:clamp(12px,.95vw,14px);
    line-height:1.35;
    padding-top:8px;
    padding-bottom:8px;
  }
  .site-header .main-nav > a.nav-contact { min-height:42px; padding:9px 16px; font-size:clamp(12px,.95vw,14px); }
}

/* Banner da home: alturas flexiveis evitam corte em telas de 15 polegadas.
   Nao oculta o card nem reduz o tamanho do texto por escala artificial. */
@media (min-width:801px) and (max-width:1679px) and (max-height:950px) {
  .hero.cathedral-hero.cathedral-hero-instituto {
    height:auto;
    min-height:clamp(535px, calc(100svh - 160px), 655px);
    max-height:none;
  }
  .hero.cathedral-hero.cathedral-hero-instituto .hero-content {
    box-sizing:border-box;
    min-height:clamp(535px, calc(100svh - 160px), 655px);
    height:auto;
    padding-top:24px;
    padding-bottom:50px;
    grid-template-columns:minmax(0,1fr) minmax(195px,245px);
    column-gap:clamp(20px,3vw,44px);
    align-items:center;
  }
  .hero.cathedral-hero.cathedral-hero-instituto .hero-copy {
    margin-top:0;
    padding:0;
  }
  .hero.cathedral-hero.cathedral-hero-instituto .hero-copy h1 {
    font-size:clamp(44px,4.1vw,65px);
    line-height:1.1;
    margin:15px 0 16px;
    max-width:100%;
  }
  .hero.cathedral-hero.cathedral-hero-instituto .hero-copy > p {
    font-size:clamp(14px,1.18vw,17px);
    line-height:1.62;
    max-width:640px;
    margin-bottom:20px;
  }
  .hero.cathedral-hero.cathedral-hero-instituto .hero-eyebrow {font-size:10px; line-height:1.45;}
  .hero.cathedral-hero.cathedral-hero-instituto .hero-actions { gap:10px; }
  .hero.cathedral-hero.cathedral-hero-instituto .hero-actions .btn {
    min-height:46px;
    padding:11px 15px;
    font-size:12px;
  }
  .hero.cathedral-hero.cathedral-hero-instituto .hero-heritage {
    font-size:10px;
    line-height:1.5;
    margin-top:19px;
  }
  .hero.cathedral-hero.cathedral-hero-instituto .hero-instituto-feature {
    width:100%;
    max-width:245px;
    padding:5px;
  }
  .hero.cathedral-hero.cathedral-hero-instituto .hero-instituto-feature-link {
    min-height:42px;
    padding:8px 10px 7px;
    font-size:10px;
  }
  .hero.cathedral-hero.cathedral-hero-instituto .hero-caption {bottom:14px;font-size:10px;}
  .hero.cathedral-hero.cathedral-hero-instituto .hero-explorar-toggle {
    bottom:12px;
    min-height:39px;
    padding:9px 14px;
    font-size:11px;
  }
  .section-pad {padding-top:clamp(70px,6vw,94px);padding-bottom:clamp(70px,6vw,94px);}
  .page-hero:not(.hero) .page-hero-content {padding-top:clamp(55px,6vw,78px);padding-bottom:clamp(55px,6vw,78px);}
}

/* Zoom do navegador/escala de 125% em notebooks: menu hamburguer existente.
   Card proporcional e conteudo na mesma area visivel, sem corte vertical. */
@media (min-width:801px) and (max-width:1239px) and (max-height:950px) {
  .utility {height:34px;min-height:34px;}
  .site-header .nav-shell {height:88px;min-height:88px;}
  .site-header .site-brand {width:270px;}
  .site-header .logo-horizontal-catedral {max-height:76px;}
  .site-header .main-nav {max-height:calc(100dvh - 88px);}
  .hero.cathedral-hero.cathedral-hero-instituto .hero-content {
    grid-template-columns:minmax(0,1fr) minmax(185px,220px);
    column-gap:22px;
    padding-bottom:48px;
  }
  .hero.cathedral-hero.cathedral-hero-instituto .hero-instituto-feature {max-width:220px;}
  .hero.cathedral-hero.cathedral-hero-instituto .hero-copy h1 {font-size:clamp(43px,4.6vw,56px);}
  .hero.cathedral-hero.cathedral-hero-instituto .hero-actions .btn {font-size:11px;}
}

/* Navegadores com pouca altura util: preserva leitura e deixa rolar se preciso. */
@media (min-width:801px) and (max-height:700px) {
  .hero.cathedral-hero.cathedral-hero-instituto,
  .hero.cathedral-hero.cathedral-hero-instituto .hero-content {min-height:510px;}
  .hero.cathedral-hero.cathedral-hero-instituto .hero-content {padding-top:22px;padding-bottom:43px;}
  .hero.cathedral-hero.cathedral-hero-instituto .hero-copy h1 {margin-top:10px;margin-bottom:12px;font-size:clamp(42px,4vw,53px);}
  .hero.cathedral-hero.cathedral-hero-instituto .hero-copy > p {margin-bottom:14px;}
  .hero.cathedral-hero.cathedral-hero-instituto .hero-heritage {margin-top:13px;}
  .hero.cathedral-hero.cathedral-hero-instituto .hero-instituto-feature {max-width:210px;}
}

/* Evita elementos ultrapassarem largura util nos grids das paginas internas. */
@media (min-width:801px) and (max-width:1450px) {
  .service-strip-inner > *, .intro-grid > *, .worship-grid > *,
  .community-grid > *, .institute-feature-grid > *,
  .ca-books-grid > *, .ca-videos-grid > *, .contact-grid > * {min-width:0;}
}
