/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (REFERENCE MATCHED)
   ========================================================================== */
:root {
  /* Exact colors from the reference */
  --nav-bg: #162a56;       /* Deep Navy Blue */
  --text-white: #ffffff;
  --text-dark: #000000;
  --body-bg: #ffffff;
  
  --grey-header-bg: #e5e5e5; /* Light grey title banner */
  --btn-grey-bg: #dddddd;    /* Grey button */
  
  --footer-bar-bg: #f0f2f5;
  --footer-border: #e0e0e0;
  --link-blue: #162a56;
  
  /* Details Screen Colors */
  --banner-bg: #1c2b59;      /* Rounded Message Banner color */
  
  /* Fonts */
  --font-family: Arial, Helvetica, sans-serif;
}

/* ==========================================================================
   BASE RESET
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: var(--font-family);
  background-color: var(--body-bg);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Page Views Toggle */
.page-view {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-view.hidden {
  display: none !important;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  background-color: var(--nav-bg);
  width: 100%;
  padding: 12px 0;
}

.navbar-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 20px 24px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link {
  color: var(--text-white);
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}

.nav-link:hover {
  text-decoration: underline;
}

/* Secondary header (details page) link size adjustments */
.navbar-secondary .navbar-container {
  max-width: 1200px;
  padding: 0 20px;
}

.navbar-secondary .nav-menu {
  gap: 20px 24px;
}

.navbar-secondary .nav-link {
  font-size: 14px;
  line-height: 1.5;
}

.navbar-secondary .chevron-icon {
  width: 9px;
  height: 9px;
}

.nav-link-home {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-link-home svg {
  width: 22px;
  height: 22px;
  color: var(--text-white);
}

.chevron-icon {
  width: 9px;
  height: 9px;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

/* ==========================================================================
   MAIN CONTENT AREA
   ========================================================================== */
.main-content {
  padding: 24px 0 50px;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.details-main-content {
  align-items: flex-start;
  padding: 72px 0 70px;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.info-container {
  width: 100%;
  border-radius: 4px;
}

/* Gray Header Bar */
.info-header {
  background-color: var(--grey-header-bg);
  padding: 10px 20px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.info-header h2 {
  font-size: 19px;
  font-weight: bold;
  color: var(--text-dark);
  margin: 0;
}

/* Info Body Texts */
.info-body {
  padding: 0 10px;
  font-size: 15px;
  color: var(--text-dark);
}

.paragraph-spacing {
  margin-bottom: 24px;
  line-height: 1.5;
}

.font-bold {
  font-weight: bold;
}

/* Bullet list styling */
.bullets-list {
  margin-bottom: 24px;
  padding-left: 20px;
}

.bullets-list li {
  margin-bottom: 8px;
  line-height: 1.4;
  list-style-type: disc;
}

/* ==========================================================================
   BUTTON "PAGAR" (EXACT MATCH)
   ========================================================================== */
.cta-container {
  display: flex;
  justify-content: center;
  margin: 40px 0 20px;
}

.btn-pagar {
  background-color: var(--btn-grey-bg);
  color: var(--text-dark);
  border: none;
  font-family: var(--font-family);
  font-size: 24px;
  font-weight: bold;
  padding: 16px 80px;
  border-radius: 40px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s, transform 0.1s;
}

.btn-pagar:hover {
  background-color: #cccccc;
}

.btn-pagar:active {
  transform: scale(0.98);
}

/* ==========================================================================
   VIEW 2: DETAILS SCREEN STYLING (FITTED TO REFERENCE 2)
   ========================================================================== */
.container-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  max-width: 860px;
}

.message-banner {
  background-color: #707070;
  color: #ffffff;
  padding: 44px 56px;
  border-radius: 34px;
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.12;
  max-width: 760px;
  width: 100%;
  min-height: 150px;
  margin-bottom: 58px;
}

.logos-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.logos-reference {
  display: block;
  width: 100%;
  height: auto;
}

/* ==========================================================================
   FOOTER (REFERENCE MATCHED)
   ========================================================================== */
.footer {
  margin-top: auto;
  width: 100%;
}

/* Grey Horizontal Bar */
.footer-bar {
  background-color: var(--footer-bar-bg);
  border-top: 1px solid var(--footer-border);
  border-bottom: 1px solid var(--footer-border);
  padding: 16px 0;
}

.footer-bar-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

#view-details .footer-bar {
  width: 100%;
  margin: 0;
  padding: 16px 0;
}

#view-details .footer-bar-content {
  max-width: 1000px;
  padding: 0 20px;
}

#view-details .copyright,
#view-details .terms-link {
  font-size: 13.5px;
}

#view-details .social-section {
  padding: 20px 0;
}

#view-details .social-links {
  gap: 72px;
}

#view-details .social-icon {
  width: 44px;
  height: 44px;
}

#view-details .social-icon svg {
  width: 20px;
  height: 20px;
}

.copyright {
  font-size: 13.5px;
  font-weight: bold;
  color: var(--link-blue);
  flex-grow: 1;
  text-align: center;
}

.terms-link {
  font-size: 13.5px;
  font-weight: bold;
  color: var(--link-blue);
  text-decoration: none;
  white-space: nowrap;
}

.terms-link:hover {
  text-decoration: underline;
}

/* Social icons section */
.social-section {
  padding: 20px 0;
  display: flex;
  justify-content: center;
  background-color: #ffffff;
}

.social-links {
  display: flex;
  gap: 30px;
}

.social-icon {
  width: 44px;
  height: 44px;
  background-color: var(--link-blue);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, transform 0.2s;
  text-decoration: none;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.social-icon:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 768px) {
  .nav-menu {
    gap: 10px 14px;
    justify-content: center;
  }
  
  .navbar-secondary .nav-menu {
    justify-content: center;
  }
  
  .nav-link {
    font-size: 13px;
  }
  
  .navbar-secondary .nav-link {
    font-size: 12px;
  }
  
  .info-header h2 {
    font-size: 16px;
  }
  
  .btn-pagar {
    font-size: 20px;
    padding: 12px 50px;
  }
  
  .footer-bar-content {
    flex-direction: column;
    text-align: center;
  }
  
  .copyright {
    text-align: center;
  }
  
  /* Details responsive design */
  .navbar-secondary .navbar-container {
    padding: 0 16px;
  }

  .details-main-content {
    padding: 44px 0 56px;
  }

  .message-banner {
    border-radius: 24px;
    font-size: 18px;
    min-height: 0;
    padding: 28px 22px;
    margin-bottom: 42px;
  }
  
  .logos-wrapper {
    max-width: 300px;
  }

  #view-details .footer-bar-content {
    padding: 0 20px;
  }

  #view-details .social-links {
    gap: 28px;
  }
}
