/*
Theme Name: Prêmio ABMN
Theme URI: https://premio.abmn.com.br
Description: Descrição do tema
Author: DALLER
Author URI: https://daller.com.br
Author Email: daller.stech@gmail.com
Version: 1.0
Text Domain: premio-abmn
License: GNU General Public License v2 or later
+55 (17) 9 8149-8373
*/

@charset "UTF-8";

:root {
  --color-primary: #3acbc1;
  --color-base: #111414;
  --color-side: #ffe157;
  --color-white: #ffffff;
  --bg-gradient-primary: linear-gradient(90deg, #12312f 0%, #185e59 100%);
  --bg-gradient-hero: linear-gradient(0deg, #121313 64%, #070707 83%);
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  font-family: "Open Sans", sans-serif;
  background-color: #090b0a;
  color: var(--color-white);
}

.font-anton {
  font-family: "Anton", sans-serif !important;
}

.color-primary {
  color: var(--color-primary);
}

.color-base {
  color: var(--color-base);
}

.color-side {
  color: var(--color-side);
}

.color-white {
  color: var(--color-white);
}

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

.bg-base {
  background: var(--color-base);
}

.bg-side {
  background: var(--color-side);
}

.bg-gradient-primary {
  background: var(--bg-gradient-primary);
}

.bg-gradient-hero {
  background: var(--bg-gradient-hero);
}

.border-primary {
  border: 1px solid var(--color-primary);
}

.container {
  width: 1200px;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: none;
  float: none;
}

.bg-hero {
  background-image: url("assets/img/bg-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  width: 100%;
  position: relative;
}

.btn {
  padding: 8px 22px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 22px;
  font-weight: 600;
  text-decoration: none !important;
}

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

.menu-header {
  background-color: transparent;
}

.menu-header ul > li {
  position: relative;
  padding: 16px 0;
  cursor: pointer;
}

.menu-header .dropdown {
  position: absolute;
  top: 54px;
  left: 0;
  width: max-content;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--color-base);
  border-radius: 8px;
  visibility: hidden;
  opacity: 0;
  transition: all 0.25s ease-in-out;
  z-index: 9999;
  transform: translate(0, 17%);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-header > ul > li:hover {
  color: var(--color-primary);
}

.menu-header ul > li:hover .dropdown,
.menu-header ul > li:focus-within .dropdown {
  visibility: visible;
  opacity: 1;
  transform: translate(0, 0);
}

.menu-header ul > li > ul.dropdown > li {
  display: inline-block;
  position: relative;
  padding: 0;
  color: var(--color-white);
}

.menu-header ul > li > ul.dropdown > li:hover {
  color: var(--color-primary);
}

.date-and-location {
  transform: translateY(-20%);
}

.title {
  font-size: 40px;
  font-family: "Anton", sans-serif;
  color: var(--color-primary);
  text-transform: uppercase;
  line-height: 48px;
}

.title-page {
  font-size: 52px;
  font-family: "Anton", sans-serif;
  color: var(--color-white);
  text-transform: uppercase;
  line-height: 48px;
  text-align: center;
}

.subtitle {
  font-size: 24px;
  line-height: 28px;
  font-weight: bold;
  margin-bottom: 8px;
}

.bg-numbers,
.bg-page {
  background-image: url("https://premio.abmn.com.br/wp-content/themes/premio-abmn/assets/img/bg-page.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
  position: relative;
}

.bg-page {
  padding-top: 120px;
}

.scroll-x-hidden::-webkit-scrollbar {
  display: none;
}

.bg-header {
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.bg-header.activeScroll {
  background-color: #111414;
  border-bottom: 1px solid #191d1d;
  box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.5);
}

.bg-glass {
  background: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(16, 44, 42, 0.2) 0%,
      rgba(14, 53, 50, 0.2) 100%
    ) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.068);
  box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.carousel {
  display: flex;
  width: max-content;
  transform: translateX(0);
}

.corousel-transition-transform {
  transition: transform 0.5s ease-in-out;
}

.newsletter {
  margin-top: -80px;
  position: relative;
  z-index: 99;
}

.newsletter .asswp-newsletter-form {
  padding: 0;
}

.newsletter .asswp-privacy-consent .asswp-privacy-consent-checkbox {
  color: #ccdbda;
}

.newsletter .asswp-privacy-consent .asswp-privacy-consent-checkbox a {
  font-style: italic;
}

.newsletter .asswp-privacy-consent .asswp-privacy-consent-checkbox a:hover {
  color: var(--color-primary);
}

.newsletter .asswp-newsletter-form input[type="submit"] {
  font-weight: bold;
  border: 0px;
}

.newsletter .asswp-newsletter-form input {
  background: transparent;
  border: 1px solid #349791;
  color: var(--color-white);
  border-radius: 6px;
}

.newsletter .asswp-newsletter-form input:focus {
  outline: 1px solid var(--color-primary);
}

.footer a:hover {
  color: var(--color-primary);
}

.footer {
  padding-top: 72px;
}

.home .footer {
  padding-top: 0px;
}

#categorias,
#etapas,
#valores {
  scroll-margin-top: 80px;
}

#apresentacao,
#categorias,
#inscricoes,
#formato,
#julgamento,
#premiacao,
#calendario,
#disposicoes,
#o-premio,
#a-abmn,
#historico {
  scroll-margin-top: 140px;
}

.regulamento aside a:hover,
.regulamento aside a.active {
  color: var(--color-primary);
}

#modal {
  display: none;
}

#modal.active {
  display: flex;
}

.contato input,
.contato textarea {
  background: transparent;
  border: 1px solid #abbdbc;
  color: var(--color-base);
  border-radius: 6px;
  width: 100%;
  padding: 8px 12px;
}

#modal .contato textarea {
  height: 140px;
}

.contato input[type="submit"] {
  font-weight: bold;
  border: 0px;
  background-color: var(--color-base);
  color: var(--color-white);
  border-radius: 6px;
  width: max-content;
  padding: 8px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contato input[type="submit"]:hover {
  background-color: var(--color-primary);
  color: var(--color-base);
}

.contato input[type="checkbox"] {
  background: transparent;
  border: 1px solid #abbdbc;
  color: var(--color-base);
  border-radius: 4px;
  width: 18px;
  height: 18px;
}

.contato a:hover {
  color: var(--color-primary);
}

.input {
  background: transparent;
  border: 1px solid #abbdbc;
  color: var(--color-base);
  border-radius: 6px;
  padding: 8px 12px;
}

.inscricao .btn_submit,
.upload-cases .btn_submit {
  font-weight: bold;
  border: 0px;
  background-color: var(--color-base);
  color: var(--color-white);
  border-radius: 6px;
  width: max-content;
  padding: 8px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.associado-button.active,
.case-button.active,
.associado-button:hover,
.case-button:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.associado-button.active span,
.associado-button:hover span,
.case-button.active span,
.case-button:hover span {
  color: var(--color-white);
}

.inscricao .next-button {
  font-weight: bold;
  border: 0px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 6px;
  width: max-content;
  padding: 8px 24px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.bt-inscricao {
  font-weight: bold;
  border: 1px solid var(--color-side);
  background-color: var(--color-side);
  color: var(--color-base);
  border-radius: 6px;
  width: max-content;
  padding: 8px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bt-inscricao:hover {
  border-color: #9c9b60;
}

.bt-inscricao-stripe {
  font-weight: bold;
  border: 1px solid var(--color-side);
  background-color: var(--color-side);
  color: var(--color-base);
  border-radius: 6px;
  width: 100%;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bt-inscricao-stripe:hover {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  color: var(--color-white);
}

.message {
  padding: 8px 24px;
  width: 100%;
  text-align: center;
  font-weight: bold;
  border-radius: 0 0 6px 6px;
  display: none;
}

.message.active {
  display: block;
}

.message.success {
  background-color: #bbe6c8;
  color: #01b336;
}

.message.error {
  background-color: #ffe5e5;
  color: #ff0000;
}

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #3acbc1;
  border-top: 4px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#form-steps label {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid black;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

input[type="checkbox"]:checked {
  border: 1px solid var(--color-primary);
}

input[type="checkbox"]:checked::after {
  content: "✔";
  position: absolute;
  left: 2px;
  top: -2px;
  font-size: 14px;
  color: var(--color-primary);
}

#step-1,
#step-2,
#step-3 {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20%);
  height: 1px;
  transition: all 0.3s ease;
  overflow: hidden;
}

#step-1.active,
#step-2.active,
#step-3.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  height: auto;
  transition: all 0.3s ease;
  overflow: visible;
}

#step-1.active,
#step-2.active {
  padding-top: 40px;
}

.step-1.active,
.step-2.active,
.step-3.active {
  background-color: var(--color-primary);
}

.step-1.active span,
.step-2.active span,
.step-3.active span {
  color: var(--color-white);
}

.btn-header {
  padding: 5px 12px;
  border-radius: 18px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.inscricao label {
  font-size: 16px;
}

.regulamento-content a {
  color: var(--color-primary);
}

/* Área principal do conteúdo */
.content-area {
  line-height: 1.7;
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 2rem;
}

/* Títulos */
.content-area h1,
.content-area h2,
.content-area h3,
.content-area h4,
.content-area h5,
.content-area h6 {
  font-weight: bold;
  margin: 1.3em 0 0.8em;
  line-height: 1.3;
}

.content-area h1 {
  font-size: 1.75em;
}
.content-area h2 {
  font-size: 1.5em;
}
.content-area h3 {
  font-size: 1.3em;
}
.content-area h4 {
  font-size: 1.1em;
}
.content-area h5 {
  font-size: 1em;
}
.content-area h6 {
  font-size: 0.9em;
}

/* Parágrafos */
.content-area p {
  margin-bottom: 1.5em;
}

/* Listas */
.content-area ul,
.content-area ol {
  margin: 1em 0 1.5em 1.5em;
  padding-left: 1.2em;
}

.content-area ul {
  list-style-type: disc;
}

.content-area ol {
  list-style-type: decimal;
}

/* Links */
.content-area a {
  color: #0073aa;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.content-area a:hover {
  color: #005177;
}

/* Imagens */
.content-area img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5em auto;
}

/* Citações */
.content-area blockquote {
  border-left: 4px solid #ccc;
  padding-left: 1em;
  margin: 1.5em 0;
  font-style: italic;
  color: #555;
}

/* Tabelas */
.content-area table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
}

.content-area th,
.content-area td {
  border: 1px solid #dddddd;
  padding: 0.75em;
  text-align: left;
}

.content-area th {
  background-color: #f9f9f9;
  font-weight: bold;
}

/* Códigos */
.content-area code {
  background: #f4f4f4;
  padding: 2px 4px;
  font-family: monospace;
  font-size: 0.95em;
  border-radius: 4px;
}

/* Responsivo para vídeos e iframes */
.content-area iframe {
  max-width: 100%;
}

.content-area .wp-block-embed__wrapper,
.content-area .wp-block-video {
  margin: 1.5em 0;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.content-area .wp-block-embed__wrapper iframe,
.content-area .wp-block-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.sobre .content-area p {
  color: var(--color-white);
}

.upload-cases .added {
  background-color: #e1faeb;
  min-width: 300px;
}

.upload-cases .added span {
  color: #1c8546;
  font-size: 13px;
}

.highlight {
  opacity: 0.65 !important;
}

.com-classe {
  opacity: 0.2 !important;
}

.contato .wpcf7-form p {
  margin-bottom: 12px;
}

.babela-valores table,
.regulamento table {
  width: 100%;
}

@media screen and (max-width: 340px) {
  .btn-header {
    padding: 5px 10px;
    font-size: 11px;
  }
}

@media screen and (max-width: 380px) {
  .btn-header {
    padding: 5px 10px;
    font-size: 12px;
  }

  .inscricao label {
    font-size: 14px;
  }
  input[type="checkbox"] {
    width: 14px;
    height: 14px;
    min-width: 14px;
  }
  input[type="checkbox"]:checked::after {
    left: 2px;
    top: -2px;
    font-size: 12px;
  }
}

@media screen and (max-width: 767px) {
  .btn {
    padding: 5px 12px;
    font-size: 13px;
    border-radius: 20px;
  }

  .title {
    font-size: 30px;
    line-height: 38px;
  }

  .newsletter .asswp-privacy-consent {
    font-size: 13px;
  }

  .newsletter {
    margin-top: 40px;
  }
  .regulameto-content p,
  .regulameto-content li {
    font-size: 14px;
  }
  .contato input[type="submit"] {
    width: 100%;
  }
  .descricao-categoria p {
    font-size: 14px;
  }
}

@media screen and (max-width: 1023px) {
  .menu-header {
    background-color: var(--color-base);
    padding: 50px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
  }

  .menu-header.opened {
    transform: translateX(0);
    opacity: 1;
  }

  .menu-header .dropdown {
    position: relative;
    visibility: visible;
    opacity: 1;
    transform: translate(0, 0);
    top: 0;
    border: 0;
    padding: 10px 10px 10px 16px;
  }

  .menu-header ul > li {
    padding: 10px 0;
  }

  .menu-header ul > li > ul.dropdown > li {
    display: block;
  }
  .title-page {
    font-size: 46px;
    line-height: 44px;
  }

  .container {
    width: 94%;
    margin-left: auto;
    margin-right: auto;
  }
}
