/* ==========================================================================
   ARTEMIS INVESTIMENTOS - MASTER STYLESHEET
   100% Visual Fidelity to Original Artemis Investimentos / Safra Invest
   High-performance Core Web Vitals 90+ optimized
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Typography & Global Resets
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: #083050;
  margin-top: 0;
  font-weight: 400;
  letter-spacing: -0.5px;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.skip-link {
  position: absolute;
  top: -9999px;
  left: -9999px;
  background: #083050;
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
}
.skip-link:focus {
  top: 10px;
  left: 10px;
}

/* --------------------------------------------------------------------------
   2. Header (#masthead)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid #ECECEC;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.header-logos {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.header-logo-artemis {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.logo-safra-wrap {
  display: flex;
  align-items: center;
}

.header-logo-safra {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #083050;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: #BDA632;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #083050;
  cursor: pointer;
  padding: 6px;
}

.mobile-menu {
  background-color: #ffffff;
  border-top: 1px solid #f1f1f1;
  padding: 16px 0 24px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #083050;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
}
.mobile-nav-link:hover {
  color: #BDA632;
}

/* --------------------------------------------------------------------------
   3. Hero Section (SmartSlider Exact Clone)
   -------------------------------------------------------------------------- */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background-color: #083050;
}

.slider-viewport {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.slide-content-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px 0;
}

.slide-text-box {
  margin-left: auto;
  max-width: 560px;
  text-align: left;
  padding-top: 50px;
}

.slide-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 52px;
  font-weight: 400;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  margin: 0;
}

.slide-btn-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  padding-bottom: 24px;
}

.hero-cta-btn {
  display: inline-block;
  background-color: #083050;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.hero-cta-btn:hover {
  background-color: #BDA632;
  color: #083050;
  transform: translateY(-2px);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 12px;
  opacity: 0.75;
  transition: opacity 0.3s ease, transform 0.2s ease;
}
.slider-arrow:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.15);
}
.slider-arrow-prev {
  left: 24px;
}
.slider-arrow-next {
  right: 24px;
}

/* --------------------------------------------------------------------------
   4. Quem Somos / Artemis Investimentos (.about-split-section)
   -------------------------------------------------------------------------- */
.about-split-section {
  width: 100%;
  background-color: #ffffff;
  overflow: hidden;
}

.split-container {
  display: flex;
  width: 100%;
  min-height: 580px;
}

.split-media {
  width: 50%;
  min-height: 580px;
  position: relative;
  overflow: hidden;
}

.split-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.split-content {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 80px;
  background-color: #ffffff;
}

.split-content-inner {
  max-width: 540px;
  width: 100%;
}

.artemis-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 45px;
  font-weight: 400;
  color: #083050;
  margin: 0 0 28px;
  line-height: 1.2;
}

.artemis-body-text p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 200;
  line-height: 1.7;
  color: #151515;
  margin-bottom: 20px;
}
.artemis-body-text strong {
  font-weight: 600;
  color: #151515;
}

/* --------------------------------------------------------------------------
   5. Selo Safra (.selo-safra-section)
   -------------------------------------------------------------------------- */
.selo-safra-section {
  padding: 60px 0 70px;
  background-color: #ffffff;
}

.selo-main-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 45px;
  font-weight: 400;
  color: #083050;
  text-align: center;
  margin: 0 0 45px;
  letter-spacing: -1px;
}

.safra-navy-box {
  background-color: #083050;
  border-radius: 4px;
  padding: 50px 60px;
  max-width: 1140px;
  margin: 0 auto 50px;
}

.safra-navy-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: center;
}

.safra-white-logo {
  height: 48px;
  width: auto;
  margin-bottom: 24px;
  display: block;
}

.safra-navy-text p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
  color: #ffffff;
  margin-bottom: 16px;
}

.safra-seal-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.safra-seal-img {
  width: 270px;
  height: auto;
  display: block;
}

.quote-wrap {
  text-align: center;
  margin-bottom: 45px;
}

.quote-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 400;
  color: #083050;
  margin: 0;
  letter-spacing: -1px;
}

.safra-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1140px;
  margin: 0 auto;
}

.metric-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 36px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.metric-box-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #4b4f58;
  margin: 0 0 12px;
}

.metric-box-divider {
  width: 40px;
  height: 2px;
  background-color: #dbdbdb;
  margin: 0 auto 18px;
}

.metric-box-tag {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.metric-box-currency {
  font-size: 26px;
  font-weight: 700;
  color: #083050;
}

.metric-box-val {
  font-size: 57px;
  font-weight: 700;
  color: #083050;
  line-height: 1;
}

.metric-box-period {
  font-family: 'Montserrat', sans-serif;
  font-size: 34px;
  font-weight: 300;
  color: #BDA632;
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   6. Investimentos & Soluções (.investimentos-full-section)
   -------------------------------------------------------------------------- */
.investimentos-full-section {
  padding: 60px 0 70px;
  background-color: #ffffff;
}

.investimentos-main-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 45px;
  font-weight: 400;
  color: #083050;
  text-align: center;
  margin: 0 0 45px;
  letter-spacing: -1px;
}

.flipbox-3col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto 40px;
}

.eael-flip-card {
  perspective: 1000px;
  height: 200px;
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  border-radius: 6px;
}

.eael-flip-card:hover .flip-inner,
.eael-flip-card:focus .flip-inner {
  transform: rotateY(180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.flip-front {
  background-color: #083050;
  color: #ffffff;
}

.flip-back {
  background-color: #BDA632;
  color: #ffffff;
  transform: rotateY(180deg);
}

.flip-content {
  text-align: center;
}

.flip-ico {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
  color: #ffffff;
}

.flip-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.35;
  margin: 0;
}

.flip-action-text {
  font-size: 20px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.investimentos-bottom-btn-wrap {
  text-align: center;
  margin-top: 10px;
}

.investimentos-navy-btn {
  display: inline-block;
  background-color: #083050;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 18px 36px;
  border-radius: 15px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.investimentos-navy-btn:hover {
  background-color: #BDA632;
  color: #083050;
}

/* --------------------------------------------------------------------------
   7. Nossa Equipe (.equipe-full-section)
   -------------------------------------------------------------------------- */
.equipe-full-section {
  padding-top: 60px;
  background-color: #ffffff;
}

.equipe-main-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 45px;
  font-weight: 400;
  color: #083050;
  text-align: center;
  margin: 0 0 45px;
  letter-spacing: -1px;
}

.equipe-split-wrap {
  display: flex;
  width: 100%;
  min-height: 600px;
}

.equipe-media-col {
  width: 50%;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.equipe-handshake-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.equipe-content-col {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 80px 60px;
  background-color: #ffffff;
}

.equipe-content-inner {
  max-width: 540px;
  width: 100%;
}

.equipe-paragraphs p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 200;
  line-height: 1.7;
  color: #151515;
  margin-bottom: 18px;
}

.cf7-style-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cf7-input, 
.cf7-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #333333;
  background-color: #fafafa;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.cf7-input:focus, 
.cf7-textarea:focus {
  border-color: #083050;
  background-color: #ffffff;
}

.cf7-textarea {
  resize: vertical;
  min-height: 120px;
}

.cf7-submit-wrap {
  margin-top: 4px;
}

.cf7-submit-btn {
  background-color: #083050;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 34px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.cf7-submit-btn:hover {
  background-color: #BDA632;
  color: #083050;
}

.form-feedback {
  padding: 12px;
  border-radius: 4px;
  font-size: 14px;
  margin-top: 8px;
}
.form-feedback.success {
  background-color: #DCFCE7;
  color: #166534;
  border: 1px solid #BBF7D0;
}

/* --------------------------------------------------------------------------
   8. Footer (.site-footer)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #083050;
  color: #ffffff;
  padding: 60px 0 24px;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
}

.footer-center-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.footer-artemis-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.footer-safra-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.footer-three-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-col-ouvidoria {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 36px;
}

.footer-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 18px;
}

.footer-desc p {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-cep {
  margin-top: 14px;
}

.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.footer-gold-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #C5A869;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-gold-link:hover {
  color: #ffffff;
}

.footer-link-icon {
  flex-shrink: 0;
}

.ouvidoria-num {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.ouvidoria-special {
  font-size: 14px;
  color: #ffffff;
}

.ouvidoria-schedule {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom-bar {
  margin-top: 50px;
  text-align: center;
}

.footer-bottom-line {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.15);
  margin-bottom: 24px;
}

.footer-bottom-copy {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* --------------------------------------------------------------------------
   9. Floating WhatsApp Pill (.wa-floating-widget)
   -------------------------------------------------------------------------- */
.wa-floating-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
}

.wa-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #00C853;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 9999px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 200, 83, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-pill-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 200, 83, 0.6);
}

.wa-pill-icon {
  flex-shrink: 0;
}

.wa-pill-text {
  letter-spacing: 0.2px;
}

/* --------------------------------------------------------------------------
   10. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .split-container, 
  .equipe-split-wrap {
    flex-direction: column;
  }

  .split-media, 
  .split-content, 
  .equipe-media-col, 
  .equipe-content-col {
    width: 100%;
  }

  .split-media, 
  .equipe-media-col {
    height: 400px;
    min-height: 400px;
  }

  .split-content, 
  .equipe-content-col {
    padding: 40px 24px;
  }

  .safra-navy-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .safra-white-logo {
    margin: 0 auto 20px;
  }

  .flipbox-3col-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-three-cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-col-ouvidoria {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .header-logo-safra {
    display: none;
  }

  .hero-slider-section {
    height: 520px;
  }

  .slide-heading {
    font-size: 32px;
  }

  .slide-text-box {
    padding-top: 20px;
  }

  .artemis-heading,
  .selo-main-title,
  .investimentos-main-title,
  .equipe-main-title {
    font-size: 30px;
  }

  .safra-navy-box {
    padding: 30px 20px;
  }

  .quote-heading {
    font-size: 22px;
  }

  .safra-metrics-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .flipbox-3col-grid {
    grid-template-columns: 1fr;
  }

  .slider-arrow {
    display: none;
  }
}
