@import url("https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

/* ====== MkDocs Styles ====== */

.md-main__inner {
  margin: 0;
}

.md-content {
  display: none;
}

@media screen and (min-width: 60em) {
  .md-sidebar--secondary {
    display: none;
  }
}

@media screen and (min-width: 76.25em) {
  .md-sidebar--primary {
    display: none;
  }
}

/* ====== General Styles ====== */

:root {
  --layout-max-width: 1590px;
  --hero-max-width: 800px;
  --primary-color: #359794;
  --light-green-color: #83fac5;
  --dark-green-color: #082c2a;
  --grey-text-color: #d9d9d9;
  --dark-grey-text-color: #686b6b;
  --grey-bg-color: #dbdcdb;
  --green-bg-color: #429a98;
  --dark-bg-color: #1b1614;
  --blue-bg-color: #3a5372;
  --light-grey-bg-color: #f3f4f3;
}

* {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background-color: black;
}

/* ====== Helpers ====== */

@media only screen and (min-width: 991px) {
  .mobile-only {
    display: none;
  }
}

@media only screen and (max-width: 990px) {
  ::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  .desktop-only {
    display: none;
  }
}

/* ====== Grid ====== */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  grid-auto-rows: 1fr;
  gap: 32px;
  padding: 32px;
}

.grid-item {
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 990px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .grid-item {
    padding: 18px;
  }
}

/* ====== Textures ====== */

.black-top-right-texture-bg {
  background-image: url("../assets/black-top-right-texture.png");
  background-size: 40%;
  background-position: top right;
  background-repeat: no-repeat;
}

.black-bottom-left-texture-bg {
  background-image: url("../assets/black-bottom-left-texture.png");
  background-size: 45%;
  background-position: bottom left;
  background-repeat: no-repeat;
}

.light-gray-top-right-texture-bg {
  background-image: url("../assets/light-gray-top-right-texture.png");
  background-size: 40%;
  background-position: top right;
  background-repeat: no-repeat;
}

.light-gray-bottom-left-texture-bg {
  background-image: url("../assets/light-gray-bottom-left-texture.png");
  background-size: 45%;
  background-position: bottom left;
  background-repeat: no-repeat;
}

@media (max-width: 767px) {
  .black-top-right-texture-bg {
    background-size: 100%;
  }
  .black-bottom-left-texture-bg {
    background-size: 100%;
  }
  .light-gray-top-right-texture-bg {
    background-size: 100%;
  }
  .light-gray-bottom-left-texture-bg {
    background-size: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .black-top-right-texture-bg {
    background-size: 65%;
  }
}

/* ====== Buttons ====== */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.15s ease;
  border: 1px solid transparent;
  font-size: 16px;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #236564;
}

.btn-outline {
  border-color: var(--dark-bg-color);
  color: var(--dark-bg-color);
}

.btn-outline:hover {
  background-color: var(--dark-bg-color);
  border-color: var(--dark-bg-color);
  color: white;
}

.btn-outline:hover .material-icons {
  color: white;
}

.btn-outline-inverted {
  border-color: rgba(255, 255, 255, 0.6);
  color: white;
}

.btn-outline-inverted:hover {
  background-color: white;
  border-color: white;
  color: black;
}

.btn-outline-inverted:hover .material-icons {
  color: black;
}

/* ====== Hero ====== */

.hero {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: var(--hero-max-width);
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content h1 {
  color: white;
  font-weight: 700;
  font-size: 62px;
}

.hero-subtitle {
  max-width: 50%;
  font-weight: 300;
  font-size: 22px;
  line-height: 30px;
  color: var(--grey-text-color);
}

.hero-screenshot {
  margin-top: 60px;
  border-radius: 16px;
  background: #0f1115;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  padding-top: 12px;
}

.hero-screenshot img {
  width: 100%;
}

.open-video-btn-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
}

@media only screen and (max-width: 990px) {
  .hero-content {
    padding: 50px;
  }

  .hero-content h1 {
    font-size: 2.25rem;
    line-height: 2.8rem;
  }

  .hero-subtitle {
    max-width: 90%;
    font-size: 0.85rem;
    line-height: 1.1rem;
  }

  .hero-screenshot {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .open-video-btn-container {
    height: 110px;
  }
}

/* ====== Player de vídeo ====== */

dialog#videoDialog {
  width: min(900px, 92vw);
  border: none;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  background: #000; /* para harmonizar com o video */
}

dialog#videoDialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.video-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #0b0b0b;
  color: #fff;
}

.video-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.video-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 8px;
}

.video-close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.video-wrap {
  background: #000;
}

.video-wrap video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}

/* ====== Intro ====== */

.intro {
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.intro-content {
  width: 100%;
  max-width: var(--layout-max-width);
  padding: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 60px;
}

.intro-content h1 {
  color: black;
  font-size: 46px;
  line-height: 56px;
  font-weight: 800;
}

.intro-subtitle {
  max-width: 50%;
  font-weight: 400;
  font-size: 22px;
  line-height: 32px;
  color: black;
}

.intro-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.intro-row img {
  width: 70%;
}

@media only screen and (max-width: 990px) {
  .intro-content {
    padding: 30px;
    padding-bottom: 60px;
    gap: 40px;
  }

  .intro-content h1 {
    font-size: 1.75rem;
    line-height: 2.5rem;
  }

  .intro-subtitle {
    max-width: 90%;
    font-size: 0.85rem;
    line-height: 1.25rem;
  }

  .intro-row img {
    width: 50%;
  }
}

/* ====== Install ====== */

.install {
  background-color: var(--grey-bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.install-content {
  width: 100%;
  max-width: var(--layout-max-width);
  padding: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.install-content h1 {
  font-family: "Montserrat", sans-serif;
  color: black;
  font-size: 40px;
  line-height: 50px;
  font-weight: 800;
  align-self: flex-start;
}

.install-subtitle {
  font-family: "Montserrat", sans-serif;
  color: var(--dark-grey-text-color);
  font-weight: 400;
  font-size: 22px;
  line-height: 30px;
  align-self: flex-start;
}

.install-content img {
  width: 80%;
}

@media only screen and (max-width: 990px) {
  .install {
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 80px;
  }

  .install-content {
    padding: 30px;
  }

  .install-content h1 {
    font-size: 1.75rem;
    line-height: 2.5rem;
    padding: 0;
  }

  .install-subtitle {
    font-size: 0.85rem;
    line-height: 1.25rem;
  }

  .install-content img {
    width: 100%;
    margin-top: 60px;
  }
}

/* ====== Modules ====== */

.modules {
  background-color: var(--light-grey-bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.modules-content {
  width: 100%;
  max-width: var(--layout-max-width);
  padding: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modules-content h1 {
  font-family: "Raleway", sans-serif;
  color: var(--primary-color);
  font-size: 68px;
  font-weight: 800;
  text-align: center;
}

.modules-content h1.black {
  color: black;
  margin-top: -80px;
  margin-left: 32px;
}

.modules-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4%;
  padding: 60px;
}

.modules-card {
  background-color: white;
  width: 100%;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modules-card h3 {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modules-card h3 i {
  transform: scale(1.2);
}

.modules-card ul {
  list-style: none;
  padding: 0;
  font-size: 17px;
  line-height: 38px;
}

.modules-card li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modules-card li i {
  transform: scale(0.85);
}

.modules-card .btn {
  align-self: center;
}

.modules-footer {
  height: 120px;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modules-footer .black {
  color: black;
  font-weight: 700;
  font-size: 22px;
}

.modules-footer i {
  color: black;
  margin-left: 5px;
  transform: scale(0.9);
}

@media only screen and (max-width: 990px) {
  .modules-content {
    padding: 30px;
    padding-bottom: 0;
  }

  .modules-content h1 {
    font-size: 2.5rem;
    line-height: 2.35rem;
    padding: 0;
    margin: 0;
    margin-top: 40px;
  }

  .modules-content h1.black {
    padding: 0;
    margin: 0;
    font-size: 2.5rem;
    line-height: 2.35rem;
  }

  .modules-row {
    flex-direction: column;
    gap: 40px;
    padding: 0;
    margin-top: 60px;
  }

  .modules-card h3 {
    font-size: 1rem;
  }

  .modules-card ul {
    font-size: 0.8rem;
    line-height: 1.8rem;
  }

  .modules-footer {
    height: 150px;
    font-size: 1rem;
  }

  .modules-footer .black {
    font-size: 1rem;
  }

  .modules-footer i {
    margin-left: 2px;
    transform: scale(0.7);
  }
}

/* ====== Tech ====== */

.tech {
  background-color: var(--dark-bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.tech-content {
  width: 100%;
  max-width: var(--layout-max-width);
  padding: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.tech-content h1 {
  font-family: "Dosis", sans-serif;
  font-size: 64px;
  font-weight: 400;
  color: white;
}

.tech-subtitle {
  text-align: center;
  font-weight: 400;
  font-size: 22px;
  line-height: 30px;
  color: var(--grey-text-color);
}

.tech-logo {
  width: 180px;
  transition: 0.15s ease;
}

.tech-logo:hover {
  cursor: pointer;
  transform: scale(1.2);
}

@media only screen and (max-width: 990px) {
  .tech-content {
    padding: 30px;
    gap: 30px;
    text-align: center;
  }

  .tech-content h1 {
    font-size: 2.4rem;
    line-height: 3.2rem;
  }

  .tech-subtitle {
    font-size: 0.85rem;
    line-height: 1.25rem;
  }

  .tech-logo {
    width: 150px;
  }
}

/* ====== Protheus ====== */

.protheus {
  background-color: var(--dark-green-color);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.protheus-content {
  width: 100%;
  max-width: var(--layout-max-width);
  padding: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.protheus-header {
  align-self: flex-start;
}

.protheus-header h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 58px;
  font-weight: 700;
  color: var(--primary-color);
}

.protheus-header h1.second {
  color: white;
  transform: translateX(30%) translateY(-40%);
}

.protheus-subtitle {
  width: 35%;
  text-align: center;
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  color: white;
}

.protheus-content .grid-item {
  color: white;
  flex-direction: column;
  gap: 32px;
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
}

.protheus-content .grid-item i {
  transform: scale(2.8);
}

@media only screen and (max-width: 990px) {
  .protheus-content {
    padding: 30px;
    gap: 30px;
  }

  .protheus-header {
    align-self: center;
    text-align: center;
  }

  .protheus-header h1 {
    font-size: 1.75rem;
    line-height: 2.75rem;
  }

  .protheus-header h1.second {
    transform: none;
  }

  .protheus-header h1 .strong-label {
    color: white;
    font-weight: 700;
  }

  .protheus-subtitle {
    width: 90%;
    font-size: 0.85rem;
    line-height: 1.25rem;
  }

  .protheus-content .grid-item {
    gap: 20px;
    font-size: 20px;
  }

  .protheus-content .grid-item i {
    transform: scale(2.3);
  }
}

/* ====== Contact ====== */

.contact {
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.contact-content {
  width: 100%;
  max-width: var(--layout-max-width);
  padding: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 60px;
}

.contact-content h1 {
  color: black;
  font-size: 46px;
  line-height: 56px;
  font-weight: 800;
}

.contact-subtitle {
  max-width: 50%;
  font-weight: 400;
  font-size: 22px;
  line-height: 32px;
  color: black;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px;
}

.contact-logo {
  width: 180px;
  transition: 0.15s ease;
}

.contact-logo:hover {
  cursor: pointer;
  transform: scale(1.2);
}

@media only screen and (max-width: 990px) {
  .contact-content {
    padding: 30px;
    padding-bottom: 60px;
    gap: 40px;
  }

  .contact-content h1 {
    font-size: 1.75rem;
    line-height: 2.5rem;
  }

  .contact-subtitle {
    max-width: 90%;
    font-size: 0.85rem;
    line-height: 1.25rem;
  }

  .contact-row {
    flex-direction: column;
    gap: 20px;
  }

  .contact-logo {
    width: 140px;
  }
}
