/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --darkp-color: #1b1b1f;
  --white-color: #ffffff;
  --primary-color: #ffc107;
  --section-bg-color: #f9f9f9;
  --dark-color: #000000;
  --grey-color: #fcfeff;
  --text-secondary-white-color: rgba(255, 255, 255, 0.98);
  --title-color: #565758;
  --p-color: #717275;

  --body-font-family: "Noto Sans JP", sans-serif;

  --h1-font-size: 72px;
  --h2-font-size: 42px;
  --h3-font-size: 36px;
  --h4-font-size: 32px;
  --h5-font-size: 24px;
  --h6-font-size: 22px;
  --p-font-size: 20px;
  --copyright-text-font-size: 14px;
  --custom-link-font-size: 12px;

  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
  --font-weight-black: 900;
}

body,
html {
  height: 100%;
}

body {
  background: var(--white-color);
  font-family: var(--body-font-family);
  position: relative;
}

/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
  line-height: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
}

h1,
h2 {
  font-weight: var(--font-weight-black);
}

h1 {
  font-size: var(--h1-font-size);
  line-height: normal;
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: 20px;
  font-weight: 700px;
  letter-spacing: 0.5px;
}

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

a,
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--p-color);
  text-decoration: none;
}

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

::selection {
  background: var(--dark-color);
  color: var(--white-color);
}

.custom-underline {
  border-bottom: 2px solid var(--white-color);
  color: var(--white-color);
  padding-bottom: 4px;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  z-index: -100;
}

.custom-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.overlay {
  background: linear-gradient(to top, #000, transparent 90%);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/*---------------------------------------
  CUSTOM LINK               
-----------------------------------------*/
.custom-links {
  max-width: 230px;
}

.custom-link {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.custom-link::after {
  content: "";
  width: 0;
  height: 2px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
  background: currentColor;
}

.custom-link:hover::after {
  width: 100%;
  left: 0;
  right: auto;
}

.custom-link:hover,
.custom-link:hover::after {
  color: var(--white-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

/*---------------------------------------
  NAVIGATION               
-----------------------------------------*/

.logoimg img {
  margin: 0;
  padding: 0;
  width: 50px;
}
.navbar {
  z-index: 9;
  right: 0;
  left: 0;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-brand {
  color: var(--primary-color);
  font-size: 24px;
  font-weight: var(--font-weight-bold);
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 15px;
  padding-left: 15px;
}

.navbar-nav .nav-link::after {
  content: "\f140";
  font-family: bootstrap-icons;
  display: inline-block;
  margin-left: 10px;
  color: var(--primary-color);
  opacity: 0;
  -webkit-transition:
    opacity 0.3s,
    -webkit-transform 0.3s;
  -moz-transition:
    opacity 0.3s,
    -moz-transform 0.3s;
  transition:
    opacity 0.3s,
    transform 0.3s;
  -webkit-transform: translateY(10px);
  -moz-transform: translateY(10px);
  transform: translateY(10px);
}

.navbar-nav .nav-link:hover::after {
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

.navbar-nav .nav-link {
  color: var(--p-color);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  position: relative;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-item.active .nav-link::after {
  color: var(--primary-color);
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

.navbar-nav .nav-item.active .nav-link,
.nav-link:focus,
.nav-link:hover {
  color: var(--dark-color);
}

.nav-link:focus {
  color: var(--p-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition:
    top 300ms 50ms ease,
    -webkit-transform 300ms 350ms ease;
  transition:
    top 300ms 50ms ease,
    transform 300ms 350ms ease;
  transition:
    top 300ms 50ms ease,
    transform 300ms 350ms ease,
    -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition:
    top 300ms 350ms ease,
    -webkit-transform 300ms 50ms ease;
  transition:
    top 300ms 350ms ease,
    transform 300ms 50ms ease;
  transition:
    top 300ms 350ms ease,
    transform 300ms 50ms ease,
    -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--dark-color);
  width: 30px;
  height: 2px;
  content: "";
}

.navbar-toggler .navbar-toggler-icon:before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon:after {
  top: 8px;
}

/*---------------------------------------
  HERO              
-----------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
}

@media screen and (min-width: 992px) {
  .hero {
    height: 100vh;
  }

  .custom-video,
  .news-detail-image {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
  }

  .sticky-wrapper {
    position: relative;
    bottom: 76px;
  }
}

.heroText {
  position: absolute;
  z-index: 9;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
}
.heroText h1 {
  font-size: 40px !important;
}

/*---------------------------------------
  ABOUT & TEAM MEMBERS               
-----------------------------------------*/
.about-image,
.team-image {
  width: 100%;
  height: 100%;
  max-height: 635px;
  min-height: 475px;
  object-fit: cover;
}

/*---------------------------------------
  PORTFOLIO               
-----------------------------------------*/
.portfolio-thumb {
  position: relative;
  overflow: hidden;
}

.portfolio-info {
  margin: 20px;
}

/*---------------------------------------
  NEWS & EVENTS               
-----------------------------------------*/

.news,
.related-news {
  background: var(--section-bg-color);
}

.news-thumb {
  position: relative;
}

.news-category {
  background: var(--white-color);
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  padding: 4px 12px;
  display: inline-block;
}

.news-text-info {
  margin: 0 20px;
}

.news-title {
  margin-top: 15px;
  margin-bottom: 15px;
}

.news-title-link {
  color: var(--title-color);
  display: inline-block;
}

.news-title-link:hover {
  color: var(--dark-color);
}

.portfolio-image,
.news-image {
  display: block;
  transition: transform 0.6s ease-out;
}

.news-image-hover {
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  padding-bottom: 4px;
  height: 100%;
}

.news-image-hover::after {
  content: "";
  width: 0;
  height: 4px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
  background: #198754;
}

.news-image-hover-warning::after {
  background: #ffc107;
}

.news-image-hover-primary::after {
  background: #0d6efd;
}

.news-image-hover-success::after {
  background: #198754;
}

.news-image-hover:hover::after {
  width: 100%;
  left: 0;
  right: auto;
  z-index: 9;
}

.image-popup:hover .portfolio-image,
.news-image-hover:hover .news-image {
  transform: scale(1.02);
}

.news-two-column {
  min-height: 199px;
  margin-bottom: 16px;
}

.news-two-column .news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-share-link,
.social-share-link + span {
  color: rgba(255, 255, 255, 0.65);
}

/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 4rem;
  padding-bottom: 7rem;
}

/*---------------------------------------
  CONTACT              
-----------------------------------------*/
.contact-info {
  padding: 40px;
}

.contact-form .form-control {
  border-radius: 0;
  font-weight: var(--font-weight-normal);
  padding-top: 12px;
  padding-bottom: 12px;
}

.contact-form button[type="submit"] {
  background: var(--dark-color);
  border: none;
  border-radius: 100px;
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  padding: 16px;
  transition: all 0.6s ease-out;
}

.contact-form button[type="submit"]:hover {
  background: #0077b6;
}

.form-label {
  color: var(--p-color);
  font-weight: var(--font-weight-bold);
}

.map-iframe {
  display: block;
  filter: grayscale(100);
}

/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 1600px) {
  .news-two-column {
    min-height: 232.5px;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .team-thumb {
    left: 0;
    width: auto;
  }

  .news-two-column {
    height: auto !important;
    min-height: inherit;
  }

  .news .col-12 .news-two-column:first-child {
    margin-bottom: 38px;
  }
}

@media screen and (max-width: 767px) {
  .videoWrapper {
    height: 500px;
  }
  .custom-video {
    height: 500px;
    width: unset;
  }
  .news-detail-title {
    font-size: 36px;
  }
}

@media screen and (max-width: 360px) {
  h1 {
    font-size: 32px;
  }

  .heroText p {
    font-size: 14px;
  }
}

@media screen and (max-width: 359px) {
  .news-detail-title {
    font-size: 22px;
  }
}

/* FOOTER */
.footer {
  background: #fff;
  padding: 30px 10%;
  margin-top: 42px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  position: relative;
}

/* Coluna esquerda */
.footer-left {
  flex: 1;
  position: relative;
  padding: 20px;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  z-index: 2;
  position: relative;
}

.footer-menu li {
  margin: 10px 0;
}

.footer-menu a {
  font-size: 2rem;
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

.footer-menu a:hover {
  color: #0077b6;
}

.copyright {
  font-size: 1rem;
  color: #555;
  margin-top: 69px;
  position: relative;
  z-index: 2;
}

/* Logo no fundo */
.footer-logo {
  position: absolute;
  bottom: 0;
  left: 14%;
  transform: translateX(-50%);
  max-width: 250px;
  opacity: 0.4;
  z-index: 1;
  top: -10%;
}

/* Coluna direita */
.footer-right {
  flex: 1;
  max-width: 400px;
  position: relative;
  z-index: 2;
}
.footer-content {
  position: relative;
  z-index: 2; /* garante que fique acima da imagem */
}

.footer-bg-text {
  position: absolute;
  bottom: 0;
  right: -129px;
  max-width: 708px; /* ajuste conforme necessário */
  opacity: 0.4; /* deixa clarinho no fundo */
  z-index: 1;
  top: 33px;
}

.footer-right h3 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  margin-left: -156px;
}
.footer-text {
  margin-left: -149px;
  margin-right: 163px;
}

.newsletter-form {
  display: flex;
  margin: 15px 0;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px 0 0 8px;
  outline: none;
}

.newsletter-form button {
  padding: 12px 18px;
  border: none;
  background: #000;
  color: #fff;
  font-size: 1.2rem;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}

.newsletter-form button:hover {
  background: #0077b6;
}

.contact-info {
  margin: 15px 0;
  margin-left: 0px;
  font-size: 2.1rem;
  font-weight: bold;
  color: #000;
  margin-left: -178px;
  margin-top: -29px;
  font-size: 1.4rem;
  margin-bottom: -9px;
}

.contact-info a {
  color: #000;
}

.social-icons {
  margin-top: 10px;
  display: inline;
  left: 44px;
  position: relative;
}

.social-icons a {
  font-size: 1.5rem;
  color: #000;
  margin-right: 15px;
  text-decoration: none;
}

.social-icons a:hover {
  color: #0077b6;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  #email {
    width: 215%;
  }
  .footer {
    margin: 0 auto;
    padding: 0;
    margin-top: -27px;
  }

  .footer-right h3 {
    margin: 0 auto;
  }

  .footer-text {
    margin: 0 auto;
    padding: 30px 0;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .contact-info {
    margin: 0 auto;
    padding: 0;
  }

  .footer-content {
    margin-top: 87px;
  }

  .footer-logo {
    width: 311px;
    top: -22px;
  }

  .footer-bg-text {
    position: relative;
    transform: none;
    margin: 20px auto 0;
    opacity: 0.3;
    max-width: 350px;
    right: 0;
    top: 154px;
    display: none;
  }

  .footer-menu a {
    font-size: 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    border-radius: 8px;
    margin: 5px 0;
  }

  .footer-left {
    order: 2;
    margin-top: 34px;
  }

  .footer-right {
    order: 1;
  }

  .footer-right .social-icons {
    order: -1;
  }
  .social-icons {
    left: 0;
    top: 30px;
  }
}

/* Fundo do popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none; /* Oculto por padrão */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Caixa do popup */
.popup-content {
  background: #fff;
  padding: 20px 30px;
  border-radius: 12px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.4s ease;
}

/* Botão */
.popup-content button {
  margin-top: 20px;
  padding: 10px 20px;
  border: none;
  background: #000000;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}
.popup-content button:hover {
  background: #45a049;
}

/* Animação suave */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.duvidas-section {
  position: relative;
  text-align: center;
  padding: 20px 20px;
  overflow: hidden;
}

.duvidas-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
}

/* Ajuste do H2 */
.duvidas-section h2 {
  font-size: 2.1rem;
  font-weight: 600;
  color: #000;
  display: flex;
  flex-wrap: nowrap; /* impede quebra no meio */
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 43px;
  line-height: 1.3;
  white-space: nowrap; /* impede quebra */
}

.duvidas-section h2 img {
  width: 50px;
  height: 51px;
}

/* Botão */
.btn-duvidas {
  display: inline-block;
  padding: 20px 59px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0px 8px 18px rgba(43, 42, 43, 0.43);
  background: linear-gradient(
    45deg,
    rgb(173, 182, 185) 32%,
    rgb(95, 93, 95) 92%
  );
}

.btn-duvidas:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.duvidas-horario {
  font-size: 1.4rem;
  color: #080808;
  width: 383px;
  margin: 0 auto;
  margin-top: 0px;
  margin-top: 33px;
}

/* 📱 MOBILE */
@media (max-width: 768px) {
  .duvidas-content {
    padding: 20px 0px;
  }

  /* Permite quebra natural APENAS no mobile */
  .duvidas-section h2 {
    font-size: 1.9rem;
    flex-wrap: wrap; /* permite quebrar */
    white-space: normal; /* quebra bonita */
    text-align: center;
    gap: 0;
  }

  .duvidas-section h2 img {
    margin-bottom: -4px;
    width: 46px;
    height: 46px;
  }

  .btn-duvidas {
    width: 90%;
    max-width: 320px;
    padding: 14px;
    font-size: 15px;
  }
}
