/************ CSS VARIABLES ****************/

:root {
   --cor-header-barra: #D6D6D6;
   --cor-azul: 200, 100%, 22%;
   --cor-azul-filtro: 200, 40%, 22%;
   --cor-bordeaux: 340, 75%, 36%;
   --cor-nota: #777;

   --font-um: 'Roboto', sans-serif;
   --font-dois: 'Dosis', sans-serif;

   --foto-largura: 200px;
   --foto-altura: 400px;
   --foto-triangulo: 114px;

   --header-height: 60px;

   --border-em: 6px solid hsl(var(--cor-bordeaux), .8);
}

/************ RESET ****************/

*,
*::before,
*::after {
   box-sizing: inherit;
}

html {
   box-sizing: border-box;
}

body {
   font-family: var(--font-um);
   background: #E5E5E5;
   min-height: 100vh;
   margin: 0;
   padding: 0;
   height: auto;
   scroll-behavior: smooth;
   width: auto;
}

h1 {
   font-weight: 700;
   font-size: 2.7rem;
   text-transform: uppercase;
   line-height: 1;
   color: #000;
   margin: 0;
   padding: 0;
}

h1 span {
   font-weight: 300;
}

h1.mobile {
      margin: 2rem 0 0 1rem;
      display: blocknone;
   }

h2 {
   font-weight: 700;
   margin: 0;
   padding: 0;
}

h3 {
   font-weight: 400;
   font-size: 1rem;
   text-transform: uppercase;
   line-height: 1;
   margin: 0;
   padding: 0;
}

p a {
   color: #000;
   text-decoration: underline hsl(var(--cor-bordeaux)) 5px;
   /* text-underline-offset: 5px; */
}

p a:hover, p a:focus {
   background: hsl(var(--cor-bordeaux));
   color: #fff;
}

a {
   text-decoration: none;
}

em a {
   color: #000;
   text-decoration: underline hsl(var(--cor-bordeaux)) 2px;
   /* text-underline-offset: 5px; */
}

em a:visited {
   color: #777;
   text-decoration: underline hsl(var(--cor-bordeaux)) 1px;
   /* text-underline-offset: 5px; */
}

em a:hover, p a:focus {
   background: hsl(var(--cor-bordeaux));
   color: #fff;
}

.texto p.q:first-of-type {
   padding: 0 0 1.5rem;
}

.texto p.q {
   font-weight: normal;
   font-size: 1.2rem;
   color: hsl(340, 75%, 10%);
   padding: 2rem 0 0rem;
}

/*
.grelha {
   grid-template: 
      "grd-barra_topo   grd-barra_topo grd-barra_topo"      100px
      "grd-foto         grd-descricao  grd_financiamento"   80vh
      "grd-nome         grd-nome       grd-nome"            200px
      "grd-texto        grd-texto      grd-texto"           auto /
      100%              300px          auto                 150px
   ;
}
*/

.mobile {
   display: block;
}

.desktop {
     display: none;
   }

@media (min-width: 780px) {
   .desktop {
     display: block;
   }

   .mobile {
      display: none;
   }
}

header {
   position: sticky;
   top: 0px;
   background: var(--cor-header-barra);
   width: 100%;
   height: var(--header-height);
   display: flex;
   justify-content: space-between;
   align-items: center;
   z-index: 1;
}

header::after {
   content: '';
   display: block;
   position: absolute;
   background: var(--cor-header-barra);
   width: 50px;
   height: 50px;
   transform: rotate(45deg);
   bottom: -20px;
   right: calc(100vw - 100px);
   z-index: -1; 
}

header a {
   width: 100%;
}

.logo-imleader {
   /* flex: 1 0 0; */
   margin: 0 auto 0 10px;
   width: 142px;
}

.header__icon-un {
   margin: 0 15px 0 30px;
   width: 34px;
}

.header__icon-ods {
   margin: 0 10px 0 0;
   width: 68px;
}

@media (min-width: 780px) {
   .logo-imleader {
      /* flex: 1 0 0; */
      margin: 0 auto 0 30px;
      width: 173px;
   }

   .header__icon-un {
      margin: 0 30px;
      width: 44px;
   }

   .header__icon-ods {
      margin: 0 20px 0 0;
      width: 98px;
   }

   .mobile {
      display: none;
   }

   h1.mobile {
      margin: 2rem 0 0 1rem;
      display: none;
   }
}

.foto_descricao {
   display: flex;
   height: auto;
   /* background: violet; */
}

.foto {
   height: var(--foto-altura);
   width: var(--foto-largura);
   margin: 0;
}

/* Filtro */
.foto::before {
   content: '';
   display: block;
   background: hsl(330, 40%, 10%);
   mix-blend-mode: color;
   width: var(--foto-largura);
   height: var(--foto-altura);
}

.foto::after {
   content: '';
   display: block;
   position: relative;
   background: url("img/foto-rectangulo.svg") no-repeat top / contain;
   width: var(--foto-largura);
   height: var(--foto-triangulo);
   margin: -4px 0;
}

.foto.triangulo::after {
   content: '';
   display: block;
   position: relative;
   background: url("img/foto-triangulo.svg") no-repeat top / contain;
   width: var(--foto-largura);
   height: var(--foto-triangulo);
   margin: -4px 0;
}

.desktop {
   display: none;
}

.descricao {
   font-weight: 300;
   font-size: 1.3rem;
   color: #666;
   margin: 0 2rem 0 1.8rem;
   max-width: 50ch;
   line-height: 1.4;
}

@media (min-width: 780px) {

   .descricao {
      max-width: 45ch;
      line-height: 1.6;
      margin: auto 25% auto 1.8rem;
   }

   .desktop {
     display: block;
   }
}

@media (min-width: 970px) {

   .descricao {
      max-width: 50ch;
      line-height: 1.6;
      margin: auto 45% auto 1.8rem;
   }
}

.entrevistado {
   margin: var(--foto-triangulo) 2rem;
}

.entrevistado.mobile {
   margin: var(--foto-triangulo) 2rem 1rem;
}

.nome {
   font-size: 2.3rem;
   font-weight: lighter;
   color: #000;
   margin: 0 0 .3rem;
}

.entidade {
   font-weight: bold;
   color: hsl(var(--cor-bordeaux));
   max-width: 60ch;
   line-height: 1.3;
}




/* _______ Outras Pessoas _______ */

.outras-pessoas {
   position: relative;
   width: 200px;
   top: 0;
   right: 0;
   text-align: left;
   margin: 2rem 1.8rem;
}

@media (min-width: 780px) {
   .outras-pessoas {
      margin: -4rem 1.8rem 4rem;
   }
}

@media (min-width: 970px) {
   .outras-pessoas {
      position: absolute;
      top: 210px;
      right: 20%;
      text-align: right;
   }
}

.outras-pessoas h3, .outras-pessoas-2 h3 {
   font: 100 1.6rem/1 var(--font-um);
   padding: 0 0 2rem;
}

.outras-pessoas__box {
   display: block;
}

.outras-pessoas__foto img {
   width: 200px;
   height: 70px;
   object-fit: cover;
   object-position: 0 0;
   background: #004A6E;
}

.outras-pessoas__foto::before {
   content: '';
   display: block;
   background: hsl(var(--cor-azul-filtro));
   mix-blend-mode: color;
   width: 200px;
   height: 70px;
   position: absolute;
}

.outras-pessoas__nome {
   font: 100 1.5rem/1 var(--font-um);
   color: #000;
   margin: 1rem 0 .5rem;
}

.outras-pessoas__entidade {
   font-weight: bold;
   color: hsl(var(--cor-azul),1);
   max-width: 60ch;
   line-height: 1.3;
}

.outras-pessoas-2 {
   max-width: 290px;
   padding: 3rem 0;
}


/* _________ STUFF _________ */

.logo-monte {
   position: absolute;
   top: calc(var(--foto-altura) + var(--foto-triangulo));
   right: 1rem;
}

@media (min-width: 780px) {
   .logo-monte {
      right: 2rem;
      top: initial;
      bottom: 2rem;
      position: fixed;
   }

   .logo-monte img {
      width: 160px;
   }
}

.logos-financiamento.mobile {
   padding: 0 20px 0 0;
   margin: 3rem 1.8rem;
   font-size: .7rem;
}

.logos-financiamento p {
   padding: 0 0 .5rem 0;
   color: #888;
}

.logos-financiamento.desktop {
   display: none;
}

.texto {
   width: clamp(30ch, 80%, 60ch);
   margin: 3rem 1.8rem;
   font-size: 1.1rem;
   font-family: var(--font-um);
   font-weight: lighter;
   line-height: 1.5;
}

.texto em {
   display: block;
   margin: 1rem 0;
   padding: 1.8rem 1rem;
   font-weight: lighter;
   font-size: 1.3rem;
   line-height: 1.3;
   color: var(--border-em);
   /* background: var(--cor-azul); */
   border-left: var(--border-em);
   border-right: var(--border-em);
   position: relative;
   left: 0px;
}

.tip{
   text-decoration: underline 5px var(--cor-nota);
   outline-offset: 3px;
}

.nota {
   font-size: .8rem;
   display: block;
   margin: 1rem 0 2rem;
   border-left: 10px solid var(--cor-nota);
   padding: 0 0 0 .5rem;
   max-width: 60ch;
}

audio {
   width: 100px;
   height: 20px;
}

audio::before {
   display: block;
   border-left: 5px solid hsl(var(--cor-bordeaux));
}

.audio-txt {
   text-decoration: underline dotted hsl(var(--cor-bordeaux)) 1.5px;
   text-underline-offset: 5px;
}

@media (min-width: 780px) {

   .logos-financiamento.mobile {
      display: none;
   }

   .logos-financiamento.desktop {
      position: absolute;
      top: 80px;
      right: 3rem;
      display: block;
      font-size: .7rem;
      text-align: right;
      color: #888;
   }

   .texto {
      width: clamp(50ch, 90%, 60ch);
      margin: 10rem auto;
   }

   .texto em {
      display: block;
      margin: 1rem 0;
      padding: 1.8rem 4rem;
      font-weight: lighter;
      font-size: 1.4rem;
      line-height: 1.5;
   }
}

p.copyright {
   text-align: center;
   font-size: .8rem;
   display: block;
   /* padding: 2rem 0; */
}

hr {
   color: transparent;
   height: 10px;
   background: hsl(var(--cor-azul), .2);
   margin: 4rem 0 0;
}