@import "fonts.css";

/* ===== RESET E ESTILOS GLOBAIS ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'BradescoSans', serif;
}

body {
  font-family: 'BradescoSans', serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1440px !important;
  width: 100%;
  padding: 0;
  margin: 0 auto;
}

/* ===== ESTRUTURA PRINCIPAL ===== */
.main-content-section {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-section,
.diferenciais-section,
.academy-section,
.como-levar-section,
.form-section,
.faq-section {
  margin: 0 auto;
  border-radius: 0;
}

.diferenciais-section,
.academy-section,
.como-levar-section,
.form-section {
  padding: 40px;
}

.divider,
.divider-full,
.divider-right {
  margin: 20px 0;
}

/* ===== DIVISORES ===== */
.section-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, #cc092f, transparent);
  margin: 0 auto;
  max-width: 1440px;
}

.divider {
  height: 4px;
  background: linear-gradient(to right, transparent, #cc092f, transparent);
  margin: 40px 0;
}

.divider-full {
  height: 4px;
  width: 100%;
  background: #cc092f;
  margin: 40px 0;
  border-radius: 2px;
}

.divider-center,
.divider-center-white,
.divider-left-white {
  height: 4px;
  width: 80px;
  margin: 10px auto;
  border-radius: 2px;
}

.divider-center {
  background: #cc092f;
}

.divider-center-white {
  background: white;
}

.divider-left {
  background: #cc092f;
  height: 4px;
  width: 80px;
  margin: 10px 0;
  border-radius: 2px;
}

.divider-left-white {
  background: white;
}

.divider-right {
  height: 4px;
  width: 70%;
  background: #cc092f;
  margin: 40px 0 40px auto;
  border-radius: 2px;
}

.custom-white-divider {
  height: 4px;
  width: 80px;
  background: #ffffff;
  margin: 10px 0;
  border-radius: 3px;
  position: relative;
  z-index: 3;
}

/* ===== CARROSSEL ===== */
.carousel-section {
  padding: 40px 0;
  margin: 0 auto;
  position: relative;
  max-width: 1200px;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 0 60px;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
  gap: 15px;
  align-items: stretch;
}

.carousel-item {
  flex-shrink: 0;
  transition: all 0.3s ease;
  display: flex;
  flex: 0 0 calc(100% / 4.5 - 9px);
}

/* Garantir que todos os cards sejam visíveis */
.carousel-item:last-child {
  visibility: visible !important;
  opacity: 1 !important;
}

.carousel-card {
  background: #f0f1f5;
  border-radius: 16px;
  padding: 40px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: left;
  min-height: 250px;
  width: auto; /* width: 230px; */
  margin: 0 auto;
  position: relative;
}

.card-icon-container {
  margin-bottom: 16px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 38px;
}

.card-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.card-title {
  font-weight: 600;
  line-height: 1.2;
  width: 100%;
  margin: 0 0 16px 0;
  padding: 0;
  text-align: left;
}

.card-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.carousel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.carousel-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.carousel-button {
  background: white;
  color: #193f4d;
  border: 1px solid #193f4d;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-button:hover {
  background: #f0f0f0;
  border-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.carousel-button:active {
  transform: translateY(0);
}

/* ===== SEÇÃO DE VÍDEOS ===== */
.academy-section {
  background-color: #002a3a;
  color: white;
}

.academy-container {
  max-width: 1200px;
  margin: 0 auto;
}

.video-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 20px 0 40px;
}

.video-btn {
  background: #204553;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  min-width: 160px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.video-btn .btn-icon {
  filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%)
    hue-rotate(288deg) brightness(102%) contrast(102%);
}

.video-btn:hover {
  background: #e0e0e0;
  color: black;
}

.video-btn:hover .btn-icon,
.video-btn.active .btn-icon {
  filter: brightness(0) saturate(100%) invert(18%) sepia(20%) saturate(1123%)
    hue-rotate(156deg) brightness(93%) contrast(88%);
}

.video-btn.active {
  background: white;
  color: #204553;
}

.btn-icon {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.video-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  transition: all 0.3s ease;
  align-items: flex-start;
}

.video-main {
  flex: 1;
  min-width: 300px;
}

.video-player {
  width: 100%;
  height: 500px;
  background-color: #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.video-player iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== SIDEBAR DE VÍDEOS DINÂMICA ===== */
.sidebar-section-title {
  font-weight: 600;
  font-size: 16px;
  margin: 20px 0 10px 0;
  color: white;
  padding-bottom: 8px;
  border-bottom: 1px solid #30525e;
}

.sidebar-section-title:first-child {
  margin-top: 0;
}

.video-section,
.download-section {
  margin-bottom: 20px;
  display: block;
}

.video-sidebar-frame {
  flex: 0 0 300px;
  background-color: #193f4d;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: block;
}

.video-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.video-list-item {
  color: white !important;
  border: 1px solid transparent !important;
  margin-bottom: 8px !important;
  border-radius: 6px !important;
  padding: 10px !important;
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  border-bottom: none !important;
  opacity: 0.8;
}

.video-list-item:hover {
  background-color: #2a4d5a !important;
  border-color: #193f4d !important;
  opacity: 1;
}

.video-list-item.active {
  background-color: #2a4d5a !important;
  border-color: #193f4d !important;
  opacity: 1;
}

.video-thumbnail {
  width: 60px;
  height: 45px;
  border-radius: 4px;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.video-info {
  flex: 1;
}

.video-info h4 {
  font-size: 0.9rem;
  margin: 0;
  font-weight: normal;
  line-height: 1.3;
}

.video-list-item .video-info h4 {
  color: white !important;
  font-size: 13px !important;
  margin: 0 !important;
}

.video-info p {
  font-size: 0.85rem;
  color: #777;
}

.download-section {
  display: block;
}

.download-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  text-decoration: none;
  color: white;
  margin-bottom: 8px;
  visibility: visible;
  opacity: 0.8;
}

.download-link:hover {
  color: white;
  opacity: 1;
}

.download-left {
  display: flex;
  align-items: center;
}

.download-icon-extrato {
  height: 16px;
  width: 16px;
  margin-right: 8px;
}

.download-text {
  font-size: 14px;
}

/* ===== SEÇÃO COMO LEVAR ===== */
.como-levar-section {
  color: white;
  padding: 60px 0;
}

.implementacao-container {
  position: relative;
  overflow: hidden;
  padding: 60px 40px;
  background-image: url("../img/ComoLevarOpenCashHub.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-width: 1200px;
  min-height: 510px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.como-levar-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  max-width: 65%;
}

.card {
  flex: 1;
  min-width: 200px;
  background-color: #f0f1f5eb;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  color: #333;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-header {
  margin-bottom: 15px;
}

.card a {
  color: #565656;
  text-decoration: underline;
}

.card a:hover {
  color: #333;
}

/* ===== SEÇÃO FORMULÁRIO ===== */
.form-section {
  padding: 60px 0;
  display: none;
}


.form-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  align-items: center;
}

.form-image {
  flex: 1;
  min-width: 300px;
}

.form-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.form-content {
  flex: 1;
  max-width: 520px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  width: 100%;
}

.form-group input:focus {
  border-color: #cc092f;
  outline: none;
  box-shadow: 0 0 0 2px rgba(204, 9, 47, 0.2);
}

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:focus,
.form-group input:-webkit-autofill:focus-visible,
.form-group input:-webkit-autofill:hover {
  border: 1px solid #ddd !important;
  -webkit-text-fill-color: #333 !important;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-group a {
  color: #47484c;
  text-decoration: underline;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

.submit-btn {
  background-color: #335973;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 200px;
}

.submit-btn:hover {
  background-color: #a00724;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* .submit-btn:disabled {
  background-color: #cccccc !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  transform: none !important;
}

.submit-btn:disabled:hover {
  background-color: #cccccc !important;
  transform: none !important;
  box-shadow: none !important;
} */

/* ===== SEÇÃO FAQ ===== */
.faq-section {
  background-color: #f0f1f5;
  padding: 60px 0;
}

.faq {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 20px 0;
}

.faq-categories {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-btn {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background-color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  text-align: left;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  color: #333;
}

.category-btn:hover {
  background-color: #e0e0e0;
  color: #193f4d;
}

.category-btn.active {
  background-color: #193f4d;
  color: white;
}

.category-btn.active .btn-icon {
  filter: brightness(0) saturate(100%) invert(100%);
}

.category-btn:hover .btn-icon {
  filter: brightness(0) saturate(100%) invert(18%) sepia(20%) saturate(1123%)
    hue-rotate(156deg) brightness(93%) contrast(88%);
}

.category-btn.active:hover {
  background-color: #193f4d;
  color: white;
}

.category-btn.active:hover .btn-icon {
  filter: brightness(0) saturate(100%) invert(100%);
}

.category-btn .btn-icon {
  filter: brightness(0) saturate(100%);
  transition: all 0.3s ease;
}

.faq-content {
  flex: 2;
  min-width: 300px;
}

.faq-category-content {
  display: none;
}

.faq-category-content.active {
  display: block;
}

.faq-list {
  list-style: none;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: #f9f9f9;
}

.faq-question h4 {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
}

.faq-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #193f4d;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.arrow-icon {
  width: 30px;
  height: 30px;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  background-color: white;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 500px;
}

.faq-answer p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

/* Estilos para a visualização de confirmação */
.confirmation-view {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.confirmation-content {
  text-align: center;
  max-width: 500px;
  padding: 40px 0;
}

.confirmation-icon {
  margin-bottom: 10px;
}

.confirmation-icon img {
  width: 60px;
  height: 60px;
}

.confirmation-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.confirmation-message {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.confirmation-back-btn {
  background-color: #193f4d;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.confirmation-back-btn:hover {
  background-color: #2a4d5a;
  transform: translateY(-2px);
}

/* Transição suave entre as views */
.form-view,
.confirmation-view {
  transition: all 0.3s ease-in-out;
}

.title-word {
  font-weight: 100;
}

.footer {
  z-index: 10 !important;
  position: relative;
}

.container-bia-qrcode {
  height: 530px !important; 
}

.cookie-banner {
  display: none !important;
}