/*
Theme Name: LPS Medtronic
Theme URI: https://medtronic.com
Author: Medtronic Team
Author URI: https://medtronic.com
Description: Template WordPress customizado para Medtronic Diabetes Latin America - Landing page de produtos Guardian 4 e i-Port Advance
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lps-medtronic
Tags: landing-page, health, medical, bootstrap
*/

/* Global Overrides */
:root {
  --primary-blue: #1010eb;
  --dark-navy: #140066;
  --accent-yellow: #ffe600;
}

body {
  font-family: "Avenir Next World", "Avenir", "Nunito Sans", sans-serif;
  overflow-x: hidden;
  margin: 0;
  /* Remove possível espaço extra ao redor da página */
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Custom Colors mapped to Bootstrap logic concepts where possible */
.text-primary-custom {
  color: var(--primary-blue) !important;
}

.text-secondary {
  color: var(--dark-navy) !important;
}

.bg-primary-custom {
  background-color: var(--primary-blue) !important;
}

.bg-dark-navy {
  background-color: var(--dark-navy) !important;
}

.btn-primary-custom {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: white;
}

.btn-primary-custom:hover {
  background-color: var(--dark-navy);
  border-color: var(--dark-navy);
  color: white;
}

.btn-registrar {
  border: 2px solid #fff;
  max-width: 382px;
  width: 100%;
  padding: 15px 45px;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
}

.title-produto {
  font-weight: 700;
  font-size: 32px;
  line-height: 46px;
  color: #140066;
}

.subtitle-produto {
  font-weight: 700;
  font-size: 13px;
  line-height: 24px;
  letter-spacing: 0%;
  text-transform: uppercase;

  color: #1010eb;
}

.container-description {
  max-width: 421px;
  width: 100%;
}

.product-description {
  color: #140066;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}

.product-disclaimer {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #140066;
}

.btn-color-product {
  display: inline-block;
  max-width: 260px;
  width: 100%;
  height: 50px;
  padding-top: 15px;
  padding-right: 40px;
  padding-bottom: 15px;
  padding-left: 40px;
  border-radius: 25px;
  border: 2px solid #1010eb;
  color: #1010eb;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0px;
  text-align: center;
  text-decoration: none;
  margin-top: 50px;
}

.text-dark-navy {
  color: var(--dark-navy) !important;
}

.bg-dark-navy {
  background-color: var(--dark-navy) !important;
}

/* Header */
.header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background-color: white !important;
}

.letter-spacing-1 {
  letter-spacing: 1px;
}

.links-header {
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
}

/* Hero Section */
.hero-section {
  background-color: #1010eb;
  padding-top: 100px !important;
  padding-bottom: 100px !important;
  /* Compensate for fixed header */
}

/* Override Bootstrap primary color */
.bg-primary {
  background-color: #1010eb !important;
}

.btn-primary {
  background-color: #1010eb !important;
  border-color: #1010eb !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--dark-navy) !important;
  border-color: var(--dark-navy) !important;
}

.text-primary {
  color: #1010eb !important;
}

.title-hero {
  font-weight: 600;
  font-size: 58px;
  line-height: 64px;
  vertical-align: middle;
  position: super;
}

.sub-title-hero {
  font-weight: 300;
  font-size: 58px;
  line-height: 64px;
  vertical-align: middle;
  max-width: 488px;
}

.description-hero {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}

.btn-hero-buy {
  max-width: 450px;
  width: 100%;
  height: auto;
  padding: 20px 50px;
  border: 2px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
}

.hero-buttons-container {
  width: 100%;
}

.hero-marketplace-container {
  width: 450px;
}

.hero-marketplace-container .btn-pill-group {
  flex: 1;
  min-width: 0;
  padding: 10px 12px 10px 8px;
}

.hero-marketplace-container .btn-pill-group .icon-circle {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin-right: 8px;
}

.display-3 {
  font-weight: 300;
  font-size: 48px;
  line-height: 50px;
}

.lead {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #140066;
}

.lead-brasil {
  width: 394px;
}

.btn-pill-group:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.mobile-padding-10 {
  padding: 10px !important;
}

.dashed {
  border-style: dashed !important;
}

/* Card Hover Effect */
.hover-lift {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Placeholder Utilities */
.placeholder-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e9ecef;
}

.borda-produtos {
  border: 1px solid #d9d9d9;
  padding: 45px 20px;
  border-radius: 20px;
}

.title-advance {
  text-align: left;
}

.text-advance {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0%;
  text-align: left;
}

.buy-card {
  border: 1px solid #d9d9d9 !important;
  max-width: 350px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Buy Section cards - Desktop font sizes */
#buy .buy-card h3 {
  font-size: 32px !important;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#buy .buy-card p {
  font-size: 16px !important;
}

/* Ensure image containers have consistent height */
#buy .buy-card .col-5,
#buy .buy-card .col-md-12:has(img) {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ensure description area has consistent height */
#buy .buy-card .col-7,
#buy .buy-card .col-md-12:has(p) {
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Buttons container at bottom */
#buy .buy-card .row.g-0:last-child {
  margin-top: auto;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .hero-section {
    padding-bottom: 0 !important;
  }

  .borda-produtos {
    border: none !important;
    padding: 20px;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
  }

  /* Make product images cover full width on mobile */
  #guardian4 .col-lg-6:first-child,
  #guardian4 + div .col-lg-6:first-child {
    padding: 0 !important;
  }

  #guardian4 .col-lg-6:first-child img,
  #guardian4 + div .col-lg-6:first-child img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* Make buttons smaller on mobile to fit side by side */
  .btn-pill-group {
    font-size: 0.85rem !important;
    padding: 0.35rem 1rem 0.35rem 0.35rem !important;
    margin-left: 0 !important;
  }

  /* Reduce spacing between sections on mobile */
  .py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  /* Increase gap between Buy Section cards on mobile */
  #buy .row {
    row-gap: 2rem !important;
  }

  /* Buy Section cards - mobile specific layout */
  #buy .buy-card .col-7 {
    text-align: left !important;
    padding-left: 0.75rem !important;
  }

  #buy .buy-card .col-5 img {
    max-height: 150px !important;
  }

  #buy .buy-card h3 {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
    text-align: left !important;
    text-decoration: none !important;
    font-weight: 700 !important;
  }

  #buy .buy-card h3 * {
    text-decoration: none !important;
  }

  #buy .buy-card p {
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
    text-align: left !important;
    text-decoration: none !important;
    font-weight: 400 !important;
  }

  #buy .buy-card p * {
    text-decoration: none !important;
  }
}

/* Partner Buttons Custom Styling */
/* Partner Buttons Customization */
.btn-partner-buy {
  height: 35px;
  padding-left: 0.5rem !important;
  padding-right: 1rem !important;
  white-space: nowrap;
  overflow: visible !important;
  text-overflow: ellipsis;
}

.dashed-line-arrow {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  border-top: 2px dashed #1010eb;
  /* Primary blue approx */
  transform: translateY(-50%);
  z-index: 0;
}

.dashed-line-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -5px;
  /* Adjust based on border thickness */
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #1010eb;
}

.btn-partner-buy .icon-circle {
  width: 30px;
  height: 30px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent !important;
}

.btn-partner-buy img {
  width: 35px !important;
  height: 35px !important;
  margin-right: 15px;
}

.btn-partner-buy i {
  font-size: 12px !important;
}

/* Comparison Section Specifics */
.stat-number {
  font-family: "Avenir Next World", "Avenir", sans-serif;
  font-weight: 300;
  /* Light */
  font-size: 48px;
  line-height: 50px;
  color: var(--primary-blue);
}

.comparison-desc {
  font-family: "Avenir Next World", "Avenir", sans-serif;
  font-weight: 400;
  /* Regular */
  font-size: 16px;
  line-height: 24px;
  color: var(--dark-navy);
}

/* Buy Section - Restore absolute positioning for icons */
section[style*="background-color: #000080"] .btn-partner-buy {
  padding-left: 2.5rem !important;
  overflow: hidden;
}

section[style*="background-color: #000080"] .btn-partner-buy .icon-circle {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

/* Mobile responsive adjustments for Buy section */
@media (max-width: 767px) {
  section[style*="background-color: #000080"] .btn-partner-buy {
    width: 100%;
    min-width: unset;
    height: 40px;
    font-size: 0.8rem;
  }

  /* Mobile Comparison Section Layout */
  .row.align-items-center.justify-content-center.text-center
    > div[class*="col-5"] {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .row.align-items-center.justify-content-center.text-center
    > div[class*="col-5"]
    img {
    margin: 0 !important;
    height: 100px !important;
    margin-bottom: 0.5rem !important;
  }

  .row.align-items-center.justify-content-center.text-center
    > div[class*="col-5"]
    > div {
    order: 2;
  }

  .row.align-items-center.justify-content-center.text-center
    > div[class*="col-5"]
    > img {
    order: 1;
  }

  /* VS positioning for mobile */
  .dashed-line-arrow {
    top: 100% !important;
  }

  .col-2.position-relative span {
    top: 0 !important;
  }

  /* Mobile: Left-align texts in comparison section */
  .text-lg-end.text-center,
  .text-center.text-lg-start {
    text-align: left !important;
  }

  .comparison-desc {
    text-align: left !important;
  }

  /* Mobile: Reduce spacing between sections */
  section.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .row.justify-content-center.mt-5 {
    margin-top: 2rem !important;
  }

  /* Mobile: Remove container/row padding for full-width images */
  .container,
  .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .row > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Add padding back to text content */
  .row > * > p,
  .row > * > h1,
  .row > * > h2,
  .row > * > h3,
  .row > * > div:not(.row) {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Hero Section: Fix button layout */
  section[style*="background"] .row.g-2 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  section[style*="background"] .row.g-2 > div {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }

  /* Hero buttons: Smaller for mobile */
  .btn-pill-group {
    font-size: 0.6rem !important;
    padding: 0.3rem 0.4rem !important;
  }

  .btn-pill-group .icon-circle {
    width: 24px !important;
    height: 24px !important;
  }

  /* Buy Section: Restore padding and fix layout */
  section[style*="background-color: #000080"] .container,
  section[style*="background-color: #000080"] .row {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  section[style*="background-color: #000080"] .row > div {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }

  /* Buy section buttons: Adjust for mobile */
  section[style*="background-color: #000080"] .btn-partner-buy {
    font-size: 0.6rem !important;
    padding: 0.35rem 0.4rem !important;
    padding-left: 1.8rem !important;
  }

  section[style*="background-color: #000080"] .btn-partner-buy .icon-circle {
    width: 24px !important;
    height: 24px !important;
  }

  section[style*="background-color: #000080"] .btn-partner-buy img {
    width: 18px !important;
    height: 18px !important;
  }
}

.footer-top-section {
  display: flex;
  gap: 75px;
  align-items: center;
  margin-bottom: 40px;
}

.footer-logo-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.divisor {
  width: 2px;
  min-height: 85px;
  background-color: #285eff;
  flex-shrink: 0;
}

.footer-links-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-link-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.title-footer-links {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.links-footer {
  color: #ffffff80;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-decoration: underline;
  text-decoration-style: solid;
}

.links-footer:hover {
  opacity: 0.8;
  color: #fff;
}

/* Manter compatibilidade com estilos antigos */
.social-links {
  display: flex;
  justify-content: center;
}

.links-footer-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

/* Footer responsive */
@media (max-width: 992px) {
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .footer-top-section {
    flex-direction: column;
    gap: 24px;
  }

  .divisor {
    width: 100%;
    height: 2px;
    min-height: 2px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Brasil Template Specific Styles */
.comfort-list ul {
  list-style: none;
  padding-left: 0;
}

.comfort-list ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
}

.comfort-list ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
}

.transition-hover {
  transition: all 0.3s ease;
}

.footer-privacy-text p {
  margin-bottom: 0.5rem;
  text-align: justify;
  width: 100%;
}

.btn-onde-comprar {
  width: 227px;
  height: 50px;
  color: #ffffff;
  font-weight: 700;
  font-style: Bold;
  font-size: 16px !important;
  line-height: 20px;
  letter-spacing: 0px;
  text-align: center;
  align-items: center;
  align-content: center;
}

.icon-banner-mobile p {
  margin-bottom: 0 !important;
  margin-left: 5px;
}

/* Responsive adjustments for Brasil template */
@media (min-width: 992px) {
  .btn-comfort-partner {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .pe-responsive-custom {
    margin-top: 40px;
  }
}

/* Hover effect for buy section buttons */
.hover-lift-sm {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.hover-lift-sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1) !important;
}

/* Brasil specific adjustments */
.bg-primary-custom .comfort-list ul li {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Buy section card styling */
section[style*="background-color: #140066"] .card {
  background: white;
}

.custom-container {
  max-width: 930px;
  margin-left: auto;
  margin-right: auto;
}

.display-6 {
  font-weight: 700;
  font-size: 32px;
  line-height: 46px;
}

.container-buy {
  width: 638px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  padding: 24px 16px 24px 16px;
}

.mobile-partners-item {
  background-color: #1010eb;
  border-color: #1010eb;
  width: 192px;
  height: 42px;
  padding: 0 0.25rem;
  margin-right: 15px;
  border-radius: 25px;
  display: flex;
  flex-wrap: wrap;
}

.txt-buy-btn {
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
  white-space: nowrap;
  margin-left: 10px;
}

.mobile-partners-item a {
  width: 42px;
  height: 42px;
  margin-left: -17px;
}

.mobile-partners-item a img {
  width: 42px;
  height: 42px;
}

.mobile-buy-section h2 {
  font-weight: 700;
  font-style: Bold;
  font-size: 32px;
  line-height: 46px;
  text-align: center;
  position: super;
  color: #140066;
  margin-top: 24px;
}

.mobile-buy-section p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  margin: 0 auto;
}

.inner-container-conforto {
  width: 1110px;
  height: 480px;
  opacity: 1;
  border-radius: 16px;
  margin: 0 auto;
  display: flex;
  padding: 29px 40px;
}

.img-left {
  width: 289px;
  height: 422px;
  border-radius: 10px;
}

.img-top-right {
  width: 290px;
  height: 200px;
  border-radius: 10px;
}

.img-bottom-right {
  width: 290px;
  height: 200px;
  border-radius: 10px;
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
  /* Hero Section Mobile */
  .title-hero {
    font-size: 32px !important;
    line-height: 1.2 !important;
    text-align: left !important;
  }

  .description-hero {
    font-size: 16px !important;
    text-align: left !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Alinhar textos do Hero à esquerda em mobile */
  .hero-text-col,
  .hero-text-col .col-lg-6 {
    text-align: left !important;
    align-items: flex-start !important;
    display: flex;
    flex-direction: column;
  }

  /* Ajuste específico para os botões de parceiros no hero mobile */
  .hero-partners-row {
    justify-content: flex-start !important;
  }

  .hero-partners-row .col-md-4 {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
  }

  /* Comparison Section Mobile */
  .comparison-section .row {
    text-align: center;
  }

  .comparison-numbers-row {
    justify-content: center !important;
    gap: 2rem !important;
  }

  /* Comfort Section Icons Stack */
  .comfort-icons-container .row {
    flex-direction: column;
    align-items: flex-start !important;
    /* Align icons left */
    gap: 1.5rem;
  }

  .comfort-icons-container .img-fluid {
    max-width: 150px;
  }

  /* Comfort Section Alignment Mobile */
  .comfort-list-col {
    text-align: left !important;
    padding-left: 15px !important;
  }

  .comfort-list ul {
    padding-left: 0;
  }

  .comfort-partners-list {
    justify-content: flex-start !important;
  }

  /* Buy Section Card Mobile */
  .container-buy {
    padding: 20px 11px;
  }

  .lead-brasil {
    width: 100% !important;
    font-size: 14px;
  }

  /* Ajuste para botões da seção Onde Comprar no mobile */
  .btn-partner-buy {
    max-width: 100% !important;
    width: 100% !important;
    margin-bottom: 10px;
  }

  /* Footer Mobile Alignment */
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  footer .text-start,
  footer .text-md-start {
    text-align: center !important;
  }

  footer .d-flex.justify-content-start {
    justify-content: center !important;
  }

  footer .d-flex.gap-3 {
    justify-content: center !important;
  }

  footer h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-img-col img {
    max-width: 70% !important;
    margin: 0 auto;
    display: block;
  }

  .icon-banner-mobile {
    width: 111px;
    height: 20px;
    align-content: center;
  }

  .icon-banner-mobile img {
    width: 20px !important;
    height: 20px !important;
    margin-left: -20px;
  }

  .icon-banner-mobile p {
    font-size: 10px;
    margin: 0;
    display: flex;
    align-items: center;
    white-space: nowrap;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 769px) {
  .icones-banner-mobile {
    width: 105px !important;
  }

  .mobile-buy-section {
    display: flex;
  }

  .mobile-buy-section h2 {
    font-size: 20px;
    text-align: left;
    line-height: 28px;
    position: super;
  }

  .mobile-buy-section p {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: left;
  }

  .mobile-buy-section img {
    width: 128px;
    height: 128px;
  }

  .mobile-partners-section {
    display: flex;
  }

  .inner-container-conforto {
    flex-direction: column;
    width: 100%;
    height: auto;
    padding: 20px;
    margin-top: 30px;
    border-radius: unset;
  }

  .mobile-comparison-stats-left {
    display: flex;
    flex-direction: column;
  }

  .mobile-comparison-stats-left img {
    width: 115px;
    height: 115px;
  }

  .mobile-comparison-stats-right {
    display: flex;
    flex-direction: column-reverse;
  }

  .mobile-comparison-stats-right img {
    width: 115px;
    height: 115px;
  }
}

@media (max-width: 430px) {
  /* Buy Section Card Mobile */
  .container-buy {
    max-width: 410px;
    width: 100%;
  }

  .mobile-partners-item {
    width: 111px;
    height: 20px;
    align-content: center;
  }

  .mobile-partners-item img {
    width: 20px !important;
    height: 20px !important;
  }

  .mobile-partners-item p {
    font-size: 10px;
    margin: 0;
    display: flex;
    align-items: center;
    margin-left: 5px;
  }

  .img-left {
    width: 159px;
    height: 231px;
  }

  .img-top-right {
    width: 159px;
    height: 110px;
  }

  .img-bottom-right {
    width: 159px;
    height: 110px;
  }
}
