/*
 * Canal de Escuta: a landing que a Inspetoria publicou em dombosco.net/canal-de-escuta.
 *
 * O CSS veio da propria pagina, sem as regras que escondiam o cabecalho e o rodape
 * do tema (aqui a pagina vive dentro do portal) e sem os reset de body. Carrega so
 * nesta pagina, por inc/canal-escuta.php.
 */

/* BASE */
.lp-container,
.lp-container * {
  box-sizing: border-box;
}

.lp-container {
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f9f8;
  color: #30363a;
  min-height: 100vh;
  padding-left: 14px;
}

.lp-container a,
.lp-container button,
.lp-container select {
  font-family: inherit;
}

/* BARRAS LATERAIS */
.lp-side-bars {
  position: fixed;
  left: 0;
  top: 0;
  width: 14px;
  height: 100vh;
  height: 100svh;
  z-index: 20;
  opacity: 0.9;
}

.lp-side-bars div {
  height: 25%;
  width: 100%;
}

.lp-color-1 { background: #0091a8; }
.lp-color-2 { background: #59b6c9; }
.lp-color-3 { background: #a2d5c8; }
.lp-color-4 { background: #d4efe6; }

/* HERO */
.lp-hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 40px 0;
}

.lp-hero-inner {
  width: min(1180px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}

.lp-hero-text {
  text-align: center;
  position: relative;
  z-index: 2;
}

.lp-title {
  font-size: clamp(58px, 6.2vw, 82px);
  font-weight: 900;
  color: #00537a;
  margin: 0;
  line-height: 0.92;
  letter-spacing: -2px;
}

.lp-subtitle {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(34px, 3.5vw, 46px);
  line-height: 1.05;
  color: #00537a;
  margin: 14px 0 28px;
}

.lp-intro {
  font-size: 18px;
  max-width: 540px;
  margin: 0 auto 20px;
  line-height: 1.55;
}

.lp-divider {
  height: 1px;
  background: #9bbbc6;
  margin: 24px auto;
  max-width: 540px;
}

/* BOTÕES */
.lp-actions,
.lp-small-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.lp-btn,
.lp-small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  border: 0;
  transition:
    transform .18s ease,
    background-color .18s ease,
    box-shadow .18s ease;
}

.lp-btn-primary {
  background: #007a89;
  color: #fff !important;
}

.lp-btn-primary:hover {
  background: #006b78;
  transform: translateY(-1px);
}

.lp-btn-secondary,
.lp-small-btn {
  background: #dfe7ec;
  color: #00537a !important;
}

.lp-btn-secondary:hover,
.lp-small-btn:hover {
  background: #d1dde4;
  transform: translateY(-1px);
}

.lp-btn:focus-visible,
.lp-small-btn:focus-visible,
.lp-grid button:focus-visible,
.lp-concept-select:focus-visible,
.lp-footer a:focus-visible {
  outline: 3px solid #00537a;
  outline-offset: 3px;
}

.lp-small-actions {
  margin-top: 18px;
}

.lp-external-note {
  max-width: 500px;
  margin: 15px auto 0;
  font-size: 13px;
  line-height: 1.45;
  color: #68777e;
}

/* LOGO */
.lp-logo {
  margin-top: 38px;
}

.lp-logo img {
  width: 120px;
  height: auto;
}

/* IMAGEM */
.lp-hero-image {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  min-width: 0;
}

.lp-hero-image img {
  display: block;
  max-width: 100%;
  width: auto;
  max-height: 92vh;
  max-height: 92svh;

  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 78%,
    rgba(0,0,0,.6) 88%,
    transparent 100%
  );

  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 78%,
    rgba(0,0,0,.6) 88%,
    transparent 100%
  );
}

/* CONCEITOS */
.lp-concepts-section {
  min-height: 100vh;
  padding: 90px 20px;
  display: flex;
  align-items: center;
  scroll-margin-top: 20px;
}

.lp-concepts-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.lp-section-title {
  text-align: center;
  color: #00537a;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
  margin: 0 0 20px;
}

.lp-concepts-intro {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
  font-size: 17px;
  line-height: 1.55;
}

.lp-concepts-intro strong {
  color: #00537a;
}

.lp-concepts-box {
  display: grid;
  grid-template-columns:
    minmax(0, 52fr)
    1px
    minmax(300px, 48fr);
  gap: clamp(25px, 4vw, 42px);
  align-items: center;
  margin-top: 38px;
}

.lp-concept-nav {
  min-width: 0;
}

.lp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.lp-grid button {
  width: 100%;
  min-height: 58px;
  padding: 12px 10px;
  border-radius: 8px;
  border: 0;
  background: #dfe7ec;
  color: #34444d;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  transition:
    background-color .18s ease,
    color .18s ease,
    transform .18s ease;
}

.lp-grid button:hover {
  background: #d1dde4;
}

.lp-grid button.active,
.lp-grid button[aria-selected="true"] {
  background: #007a89;
  color: #fff;
}

.lp-vertical-line {
  width: 1px;
  height: 420px;
  background: #9bbbc6;
}

/* SELECT MOBILE */
.lp-mobile-concept {
  display: none;
}

.lp-mobile-concept label {
  display: block;
  color: #00537a;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.lp-concept-select {
  width: 100%;
  min-height: 52px;
  padding: 12px 42px 12px 14px;
  border: 1px solid #9bbbc6;
  border-radius: 8px;
  background: #fff;
  color: #30363a;
  font-size: 16px;
}

/* DESCRIÇÃO */
.lp-description {
  text-align: left;
  padding: 10px 10px;
}

.lp-description h2 {
  font-size: clamp(27px, 3vw, 34px);
  color: #00537a;
  line-height: 1.15;
  margin: 0 0 18px;
}

.lp-description p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

.lp-bottom-action {
  margin-top: 52px;
  text-align: center;
}

.lp-bottom-action .lp-external-note {
  margin-top: 12px;
}

/* RODAPÉ PRÓPRIO */
.lp-footer {
  border-top: 1px solid #cadadf;
  padding: 34px 20px;
  text-align: center;
  background: #edf4f3;
}

.lp-footer-name {
  color: #00537a;
  font-weight: 700;
  margin-bottom: 10px;
}

.lp-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.lp-footer a {
  color: #00537a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lp-footer-copy {
  font-size: 12px;
  color: #68777e;
  margin-top: 18px;
}

/* TABLETS */
@media (max-width: 1050px) {

  .lp-hero-inner {
    grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
    gap: 25px;
  }

  .lp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-concepts-box {
    grid-template-columns:
      minmax(0, 55fr)
      1px
      minmax(280px, 45fr);
    gap: 28px;
  }
}

/* MOBILE / TABLET VERTICAL */
@media (max-width: 780px) {

  .lp-container {
    padding-left: 8px;
  }

  .lp-side-bars {
    width: 8px;
  }

  .lp-hero {
    min-height: auto;
    padding: 72px 20px 60px;
  }

  .lp-hero-inner {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .lp-hero-image {
    display: none;
  }

  .lp-title {
    font-size: clamp(54px, 16vw, 72px);
    letter-spacing: -1.5px;
  }

  .lp-subtitle {
    font-size: clamp(31px, 9vw, 40px);
    margin-top: 14px;
  }

  .lp-intro {
    font-size: 17px;
    line-height: 1.55;
  }

  .lp-actions {
    flex-direction: column;
    width: 100%;
  }

  .lp-actions .lp-btn,
  .lp-small-actions .lp-small-btn {
    width: 100%;
  }

  .lp-logo {
    margin-top: 32px;
  }

  .lp-logo img {
    width: 105px;
  }

  .lp-concepts-section {
    min-height: auto;
    padding: 70px 20px;
  }

  .lp-concepts-box {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 30px;
  }

  .lp-vertical-line {
    display: none;
  }

  /* No celular, substitui os 25 botões pelo seletor */
  .lp-grid {
    display: none;
  }

  .lp-mobile-concept {
    display: block;
  }

  .lp-description {
    padding: 22px 0 0;
    border-top: 1px solid #b8cdd3;
  }

  .lp-description h2 {
    font-size: 28px;
  }

  .lp-description p {
    font-size: 16px;
    line-height: 1.6;
  }

  .lp-bottom-action {
    margin-top: 40px;
  }

  .lp-bottom-action .lp-btn {
    width: 100%;
  }
}

/* CELULARES MENORES */
@media (max-width: 420px) {

  .lp-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .lp-title {
    font-size: 52px;
  }

  .lp-subtitle {
    font-size: 31px;
  }

  .lp-concepts-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .lp-section-title {
    font-size: 32px;
  }
}


/* --- dentro do portal ----------------------------------------------------
 * A landing era uma página solta: escondia o cabeçalho e o rodapé e media a
 * tela inteira. Aqui ela vive dentro do portal, então as barras coloridas
 * acompanham o conteúdo em vez da tela, e as seções não precisam de uma tela
 * cheia de altura, porque o cabeçalho e o rodapé já ocupam a sua parte.
 */
.lp-container { position: relative; min-height: 0; }
.lp-side-bars { position: absolute; height: 100%; }
.lp-hero { min-height: calc(100vh - 230px); }
.lp-concepts-section { min-height: 0; padding: 70px 20px 90px; scroll-margin-top: 110px; }
@media (max-width: 780px) {
	.lp-hero { min-height: 0; }
}

/* --- a arte da capa na proporção do arquivo -------------------------------
 * As medidas `width` e `height` no HTML evitam o pulo da página enquanto a
 * imagem carrega, mas o navegador trata o `height` como altura de verdade: com
 * o `max-height` da capa, a arte era achatada (616x791 em vez de 616x632).
 * `height:auto` devolve a proporção e mantém a dica de tamanho.
 */
.lp-hero-image img { height: auto; }
