html { font-size: 16px; }
body { background: #FFFFFF; color: #8E8E93; font-family: 'Source Sans Pro', sans-serif; font-weight: 300; font-size: 1rem; display: flex; min-height: 100vh; flex-direction: column; }

h1, h2, h3, h4, h5, h6, figure { color: #000000; font-family: "Source Sans Pro", sans-serif; font-weight: 400; margin: 0 0 20px 0; }

a, a:hover { color: #000000; cursor: pointer; }

b, strong { font-weight: 700; }

.form-control:focus { box-shadow: none !important; border-color: inherit !important; }
.btn-primary, .btn-primary:focus, .btn-primary:hover, .btn-primary:active { background-color: #8E8E93 !important; border-color: #8E8E93 !important; box-shadow: none !important; }

#navbar { transition: all 1s ease; padding: 5px 0; z-index: 2; }

#navbar .navbar-brand img { height: 60px; width: auto; }

#navbar li { position: relative; }
#navbar li a { color: rgba(0, 0, 0, 0.3); padding: 30px 12px; font-size: 13px; font-family: 'Source Sans Pro', sans-serif; font-weight: 600; letter-spacing: 0; position: relative; }
#navbar li a:hover, #navbar li.active a { Color: #000000; }
#navbar li a:after { position: absolute; bottom: 25px; left: 0; right: 0; content: ''; width: calc(100% - 36px); height: 2px; background: #8E8E93; margin: 0 auto; opacity: 0; -webkit-transition: -webkit-transform 0.3s, opacity 0.3s; transition: transform 0.3s, opacity 0.3s; -webkit-transform: translate3d(0, -10px, 0); transform: translate3d(0, -10px, 0); border: 0; }
#navbar li.active a:after, #navbar li a:hover:after { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }

#navbar li.dropdown { position: relative; }
#navbar li.dropdown .dropdown-menu { width: 140px; -webkit-box-shadow: 0px 14px 33px -9px rgba(0, 0, 0, 0.75); -moz-box-shadow: 0px 14px 33px -9px rgba(0, 0, 0, 0.75); box-shadow: 0px 14px 33px -9px rgba(0, 0, 0, 0.75); z-index: 1002; visibility: hidden; opacity: 0; position: absolute; top: calc(100% - 10px); left: 0; text-align: left; background: #000; padding: 20px; -webkit-border-radius: 4px; -moz-border-radius: 4px; -ms-border-radius: 4px; border-radius: 4px; -webkit-transition: 0s; -o-transition: 0s; transition: 0s; }
#navbar li.dropdown .dropdown-menu:before { bottom: 100%; left: 40px; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; border-bottom-color: #000; border-width: 8px; margin-left: -8px; }
#navbar li.dropdown .dropdown-menu li { display: block; margin-bottom: 7px; }
#navbar li.dropdown .dropdown-menu li:last-child { margin-bottom: 0; }
#navbar li.dropdown .dropdown-menu li a { padding: 2px 0; display: block; color: #999999; line-height: 1.2; text-transform: none; font-size: 13px; letter-spacing: 0; background: none !important; }
#navbar li.dropdown .dropdown-menu li a:hover { color: #FFFFFF; background: none; }
#navbar li.dropdown .dropdown-menu li a:after { display: none; }

#navbar li .open-search { color: rgba(0, 0, 0, 0.3); margin-left: 12px; cursor: pointer; }

#main { border-top: 2px solid #E8E8E8; flex: 1 0 auto; }

#main .banner { background-position: center center; background-repeat: no-repeat; background-size: cover; height: 520px; width: 100%; display: flex; align-items: center; justify-content: center; }
#main .banner h1 { color: #FFFFFF; font-size: 3.5rem; letter-spacing: 0.05em; text-shadow: 0 0 3px rgba(0, 0, 0, 1); }

#main .page { padding: 70px 0 40px 0; }
#main .page .conteudo p { font-size: 1rem; line-height: 2em; }

#main .blog .alm-reveal { display: flex; flex-wrap: wrap; }
#main .blog .post { border: 1px solid #ced4da; width: 100%; height: 100%; display: flex; flex-wrap: wrap; justify-content: center; align-content: flex-start; text-decoration: none; border-radius: 10px; }
#main .blog .post .thumbnail { background-size: cover; background-repeat: no-repeat; background-position: center center; width: 100%; height: 350px; display: block; border-top-left-radius: 10px; border-top-right-radius: 10px; }
#main .blog .post .conteudo { padding: 20px; display: flex; flex-wrap: wrap; height: calc(100% - 350px); width: 100%; }
#main .blog .post .conteudo h3 { font-weight: 400; font-size: 1.1rem; line-height: 1.4em; width: 100%; }
#main .blog .post .conteudo .data { font-size: 11px; color: #8E8E93; }
#main .blog .post .conteudo .resumo { font-size: 12px; }

#main .titulo-post h1 { margin-bottom: 30px; line-height: 1em; text-transform: uppercase; }

#main .titulo-agenciados { padding: 70px 0; }
#main .titulo-agenciados h1 { margin: 0; line-height: 1em; text-transform: uppercase; }

#main .lista-agenciados { display: flex; flex-wrap: wrap; justify-content: flex-start; }
#main .lista-agenciados .agenciado { width: calc(100% / 6); height: 400px; background-size: cover; background-position: center center; background-repeat: no-repeat; display: flex; -webkit-filter: grayscale(100%); filter: grayscale(100%); text-decoration: none; }
#main .lista-agenciados .agenciado span { display: flex; overflow: hidden; height: 0; width: 100%; justify-content: center; align-items: center; background: rgba(255, 255, 255, 0.7); opacity: 0; transition: opacity 0.5s; font-family: "Source Sans Pro", sans-serif; font-weight: 500; text-transform: uppercase; font-size: 1.6rem; text-align: center; padding: 0 20px; letter-spacing: 0.02em; }
#main .lista-agenciados .agenciado:hover > span { height: 100%; opacity: 1;  }

#main .single-agenciado { padding: 20px 0 30px 0; }
#main .single-agenciado .gallery .large-image { width: 100%; height: 650px; background-repeat: no-repeat; background-size: cover; background-position: center; }
#main .single-agenciado .gallery .thumbs { margin-top: 8px; }
#main .single-agenciado .gallery .thumbs .row { margin: 0 -3px; }
#main .single-agenciado .gallery .thumbs .row > div { padding: 0 3px; margin-bottom: 6px; }
#main .single-agenciado .gallery .thumbs .row > div img { cursor: pointer; }
#main .single-agenciado .gallery .thumbs .row > div .video-thumb { width: 100%; height: 100%; min-height: 132px; background-size: cover; background-repeat: no-repeat; background-position: center center; }
#main .single-agenciado .gallery .thumbs .row > div .video-thumb a { height: 100%; width: 100%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.3); }
#main .single-agenciado .gallery .thumbs .row > div .video-thumb a img { max-width: 50%; height: auto; }
#main .single-agenciado .conteudo { padding-left: 20px; font-size: 0.9rem; line-height: 1.5em; }
#main .single-agenciado .conteudo p { margin-bottom: 0.6rem; line-height: 1.5em; }
#main .single-agenciado .conteudo h4 { font-size: 1.5rem; font-weight: bold; margin: 0; text-transform: uppercase; }
#main .single-agenciado .conteudo h1, 
#main .single-agenciado .conteudo h2, 
#main .single-agenciado .conteudo h3, 
#main .single-agenciado .conteudo h4, 
#main .single-agenciado .conteudo h5, 
#main .single-agenciado .conteudo h6 { color: #8E8E93; }
#main .single-agenciado .print-agenciado { margin-bottom: 20px; cursor: pointer; font-size: 16px; }

#main iframe { max-width: 100%; }

#main .single-modelo .banner { width: 100%; height: calc(100vh - 89px); justify-content: center; align-items: flex-end; position: relative; background-repeat: no-repeat; background-size: cover; background-position: center center; }
#main .single-modelo .banner .overlay { background: rgba(0, 0, 0, 0.1); position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
#main .single-modelo .banner .content { z-index: 2; position: relative; }
#main .single-modelo .banner .content h1 { text-shadow: none; margin: 0 0 2rem 0; text-transform: uppercase; letter-spacing: -0.06em; word-spacing: 0.1em; font-size: 8rem; line-height: 1; text-shadow: -2px -2px 2px rgba(0, 0, 0, 0.1); }

#main .single-modelo .bio p { padding-bottom: 0; margin-bottom: 0; font-family: 'Oxygen', sans-serif; }

#main .single-modelo .nome h1 { font-family: 'Oxygen', sans-serif; text-transform: uppercase; font-size: 4rem; font-weight: 400; letter-spacing: -0.03em; word-spacing: 0.06em; margin-bottom: 0; }

#main .single-modelo .medidas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; flex-direction: row; align-items: flex-start; justify-content: flex-start; }
#main .single-modelo .medidas li { margin: 0 6px; text-transform: uppercase; font-size: 13px; font-family: 'Oxygen', sans-serif; font-weight: 500; color: #000000; }
#main .single-modelo .medidas li:first-of-type { margin-left: 2px; }
#main .single-modelo .medidas li span { font-weight: 300; opacity: 0.4; }

#main .single-modelo .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; flex-direction: row; align-items: center; justify-content: center; }
#main .single-modelo .menu li { font-family: 'Oxygen', sans-serif; margin: 0 1rem; text-transform: uppercase; font-size: 1.3rem; font-weight: 700; }
#main .single-modelo .menu li a { transition: all 0.3s; }
#main .single-modelo .menu li a:hover { text-decoration: none; opacity: 0.3; }

#main .single-modelo .portfolio { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; gap: 8px; margin: 0 auto; }
#main .single-modelo .portfolio img { width: 100%; height: 100%; object-fit: cover; display: block; object-position: center center; max-height: 99vh; }
#main .single-modelo .portfolio img.horizontal { grid-column: span 2; }

.videos-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; align-items: stretch; }
.video-item { position: relative; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; cursor: pointer; }
.video-item.horizontal { grid-column: span 3; aspect-ratio: 16 / 9; }
.video-item iframe { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%); border: 0; pointer-events: none; max-width: none !important; }

.video-popup { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.75); justify-content: center; align-items: center; z-index: 1000; }
.video-popup.active { display: flex; }
.video-popup .popup-content { position: relative; width: 80%; max-width: 960px; z-index: 20; overflow: visible; }
.video-popup .popup-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.75); z-index: 10; cursor: pointer; }
.video-popup .close-btn { position: absolute; top: -20px; right: -20px; z-index: 30; font-size: 26px; color: white; background: rgba(0, 0, 0, 0.6); border: none; cursor: pointer; border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; transition: background 0.2s ease, transform 0.2s ease; }
.video-popup .close-btn:hover { background: rgba(255, 255, 255, 0.2); transform: scale(1.1); }
.popup-content iframe { width: 100%; height: 540px; max-height: 90vh; border: 0; }

#footer { border-top: 1px solid #E8E8E8; padding: 15px 0; }
#footer .direitos { font-size: 14px; }
#footer .redes-sociais { margin: 0; padding: 0; }
#footer .redes-sociais li { margin: 0; padding: 0; list-style: none; display: -moz-inline-stack; display: inline-block; zoom: 1; *display: inline; }
#footer .redes-sociais li a { display: -moz-inline-stack; display: inline-block; zoom: 1; *display: inline; color: #8E8E93; padding-left: 5px; padding-right: 5px; text-decoration: none; }
#footer .redes-sociais li a i { font-size: 20px; }

/* HOME */

body.home #navbar { padding: 19px 0; }
body.home #navbar .navbar-brand img { height: 50px; }
body.home #navbar li a { color: #000; font-size: 13px; background: none !important; }
body.home #navbar li .open-search { color: #000; }
body.home #main { position: absolute; top: 0; left: 0; width: 100%; }
body.home #main .masthead { height: 100vh; min-height: 500px; background-image: url('../img/background-home.jpg?v2'); background-size: cover; background-position: center; background-repeat: no-repeat; color: #FFFFFF; }
body.home #main .masthead h1 { color: #FFFFFF; letter-spacing: 0.05em; text-shadow: 0 0 3px rgba(0, 0, 0, 1); }

/* GERAL */

.modal-body { padding: 4px; }

.alignleft { float: left; }
.alignright { float: right; }
.aligncenter { clear: both; display: block; }

img, .size-auto, .size-full, .size-large, .size-medium, .size-thumbnail { max-width: 100%; height: auto; }

input:focus::-webkit-input-placeholder { color: transparent; }
input:focus:-moz-placeholder { color: transparent; }
input:focus::-moz-placeholder { color: transparent; }
textarea:focus::-webkit-input-placeholder { color: transparent; }
textarea:focus:-moz-placeholder { color: transparent; }
textarea:focus::-moz-placeholder { color: transparent; }

#search-popup { position: fixed; top: 0; left: 0; height: 100vh; width: 100%; background: #FFFFFF; z-index: 10000000; display: none; align-items: center; justify-content: center; flex-direction: row; flex-wrap: wrap; }
#search-popup.visible { display: flex; }
#search-popup .input-group .form-control { font-size: 2rem; border: 0; background: transparent; outline: 0; border-bottom: 1px solid #495057; border-radius: 0; color: #000000; padding: 1rem 0.7rem; }
#search-popup .input-group button { border: 0; border-bottom: 1px solid #495057; border-radius: 0; font-size: 1.4rem; line-height: 2rem; padding-right: 0.7rem; color: #000000; background: transparent !important; outline: 0 !important; box-shadow: none !important; }
#search-popup .input-group .form-control::placeholder { color: #000000; opacity: 1; }
#search-popup .input-group .form-control:-ms-input-placeholder { color: #000000; }
#search-popup .input-group .form-control::-ms-input-placeholder { color: #000000; }
#search-popup .close { position: absolute; top: 20px; left: 20px; color: black !important; opacity: 1; cursor: pointer; }

@media (max-width: 768px) {

  html { font-size: 14px; }

  body.home #navbar { padding: 10px 15px; }
  body.home #navbar li a { color: rgba(0, 0, 0, 0.3); }
  body.home #navbar .navbar-brand img { height: 50px; }

  #navbar { padding: 10px 15px; background: #FFFFFF; }
  #navbar .navbar-brand img { height: 50px; }
  #navbar .navbar-toggler { outline: 0 !important; }
  #navbar li a { padding: 10px 5px; }
  #navbar li a:after { bottom: 0; width: 100%; }

  #main .banner { height: 200px; }

  #main .page { padding: 25px 0; }

  #main .titulo-agenciados { padding: 40px 0; }
  #main .lista-agenciados .agenciado { width: 50%; height: 250px; }

  #main .single-agenciado { padding: 20px 0; }
  #main .single-agenciado .conteudo { padding-left: 0; margin-top: 20px; }

  #main .single-modelo .banner { height: auto; aspect-ratio: 16 / 10; }
  #main .single-modelo .nome h1 {font-size: 3rem; }
  #main .single-modelo .medidas { overflow: auto; text-align: center; }
  #main .single-modelo .medidas li { font-size: 11px; margin: 0 10px; }
  #main .single-modelo .menu { justify-content: space-between; font-size: 1rem; }
  #main .single-modelo .menu li { margin: 0; font-size: 1rem; }

}

@media (min-width: 768px) {
  
  #menu-principal { align-items: center; }

}

@media (min-width: 768px) and (max-width: 1200px) {

  #navbar .navbar-brand img { height: 50px; }

}

@media print {

  * { -webkit-print-color-adjust: exact; }

  body { padding-top: 42px; padding-bottom: 72px; }

  #navbar { display: block; text-align: center; }
  #navbar .navbar-brand { margin: 0 auto 10px auto; }
  #navbar .navbar-collapse { display: none !important; }
  #navbar .navbar-toggler { display: none !important; }

  #main .single-agenciado { padding-top: 40px; }

  #main .single-agenciado .print-agenciado { display: none; }

  #main .single-agenciado .gallery .video-thumb { display: none; }

  #main .single-agenciado .row > div .conteudo { padding-left: 0; }

  #footer { display: none; }

}