/*--------------------------------------------------------------
# Custom styles added for the bank version of the Aliança Online Finance template
--------------------------------------------------------------*/

/* Logo images (header + footer) */
.header-logo-img {
  max-height: 42px;
  width: auto;
}

.footer-logo-img {
  max-height: 42px;
  width: auto;
}

/* "Espace Client" account menu (header) */
.account-menu {
  position: relative;
  margin-left: 20px;
}

.account-menu .account-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-color);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.account-menu .account-btn i {
  font-size: 12px;
  transition: transform 0.3s;
}

.account-menu .account-btn:hover,
.account-menu.dropdown-active .account-btn {
  background-color: color-mix(in srgb, var(--accent-color), black 12%);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent-color), transparent 65%);
}

.account-menu:hover .account-btn i,
.account-menu.dropdown-active .account-btn i {
  transform: rotate(180deg);
}

.account-menu .account-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 220px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background-color: var(--nav-dropdown-background-color, #ffffff);
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  z-index: 9999;
}

.account-menu:hover .account-dropdown,
.account-menu.dropdown-active .account-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.account-menu .account-dropdown li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--nav-dropdown-color, #666666);
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.account-menu .account-dropdown li a i {
  color: var(--accent-color);
  font-size: 15px;
}

.account-menu .account-dropdown li a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
}

@media (max-width: 1199px) {
  .account-menu {
    margin-left: auto;
    margin-right: 12px;
  }

  .account-menu .account-btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  .account-menu .account-dropdown {
    right: 0;
    left: auto;
  }
}

/* Language dropdown inside main nav */
.navmenu .gtranslate_wrapper {
  padding: 6px 15px;
  min-height: 24px;
}

/* Process / steps sections (about.html, assurance.html) */
.process-step {
  padding: 30px 20px;
  height: 100%;
}

.process-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
}

.process-step h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--heading-color);
}

.process-step p {
  color: var(--default-color);
  font-size: 15px;
  margin: 0;
}

/* Page title with background image (used on interior pages) */
.page-title.page-title-img {
  background-size: cover;
  background-position: center;
  position: relative;
  color: #ffffff;
}

.page-title.page-title-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--heading-color), transparent 25%);
  opacity: 0.85;
}

.page-title.page-title-img .container {
  position: relative;
  z-index: 2;
}

.page-title.page-title-img h1,
.page-title.page-title-img .breadcrumbs ol li a,
.page-title.page-title-img .breadcrumbs ol li {
  color: #ffffff;
}

/* Legal/content pages */
.legal-content h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--default-color);
  line-height: 1.8;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-content .updated-date {
  font-style: italic;
  margin-bottom: 30px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

/* Service / insurance detail blocks used on services.html and assurance.html */
.detail-block {
  padding-top: 40px;
}

.detail-block:first-of-type {
  padding-top: 0;
}

.detail-block img {
  border-radius: 12px;
}

.detail-block ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.detail-block ul li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
}

.detail-block ul li i {
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--accent-color);
}
