/* ==========================================================================
   Home Page Styles - Oi TV
   ========================================================================== */

/* Simplon Norm Font Face */
@font-face {
    font-family: 'Simplon Norm';
    src: url('/blackoitv/fonts/simplonbp-light-webfont.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Simplon Norm';
    src: url('/blackoitv/fonts/simplonbp-regular-webfont.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Simplon Norm';
    src: url('/blackoitv/fonts/simplonbp-medium-webfont.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Simplon Norm';
    src: url('/blackoitv/fonts/simplonbp-bold-webfont.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Variables */
:root {
  --color-primary: #00a70e;
  --color-primary-dark: #008c0b;
  --color-primary-light: #85e000;
  --color-secondary: #272b30;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #f4f4f4;
  --color-gray-500: #585858;
  --color-gray-600: #595959;
  --color-gray-700: #303030;
  --color-white: #ffffff;
  --color-text: #1e1e1e;
  --gradient-primary: linear-gradient(32.86deg, #f2fd00 3.61%, #00a70e 103.15%);
  --gradient-cta: linear-gradient(249.45deg, #00a70e 8.57%, #f2fd00 158.88%);
  --font-family: "Simplon Norm", "Simplon", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-family-norm: "Simplon Norm", "Simplon", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--color-white);
}

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

/* ==========================================================================
   Header
   ========================================================================== */
.home-header {
  background: var(--color-secondary);
  height: 100px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.home-header__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 138px;
  height: 100%;
}

.home-header__content {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
}

.home-header__logo {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  height: 100%;
}

.home-header__logo img {
  width: 125px;
  height: 71px;
  aspect-ratio: 125/71;
  object-fit: cover;
}

.home-header__nav {
  display: flex;
  gap: 48px;
  justify-content: center;
}

.home-header__nav-link {
  color: var(--color-white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 300;
  transition: color 0.3s ease;
}

.home-header__nav-link:hover {
  color: var(--color-primary-light);
}

/* Mobile Menu Toggle (Hidden on Desktop) */
.home-header__menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.home-header__menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
}

.home-header__menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.home-header__menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.home-header__menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* WhatsApp Button (Hidden on Desktop) */
.home-header__whatsapp {
  display: none;
  width: 40px;
  height: 40px;
  background: #25D366;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  z-index: 1001;
}

.home-header__whatsapp:hover {
  transform: scale(1.05);
}

.home-header__whatsapp svg {
  width: 22px;
  height: 22px;
}

/* Mobile Menu */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100%;
  background: #272b30;
  z-index: 1200;
  transition: left 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu__header {
  display: flex;
  justify-content: flex-end;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu__close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.mobile-menu__close:hover {
  opacity: 0.7;
}

.mobile-menu__close svg {
  width: 24px;
  height: 24px;
}

.mobile-menu__content {
  flex: 1;
  padding: 24px 0;
  overflow-y: auto;
}

.mobile-menu__link {
  display: block;
  padding: 16px 24px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: background 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu__link:hover,
.mobile-menu__link:active {
  background: rgba(0, 167, 14, 0.1);
  color: #85e000;
}

@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-overlay {
    display: none !important;
  }
}

/* ==========================================================================
   Top Banner
   ========================================================================== */
.top-banner {
  background: var(--color-primary);
  padding: 14px 60px 14px 20px;
  text-align: center;
  position: relative;
}

.top-banner__text {
  color: var(--color-white);
  font-size: 14px;
  font-weight: 300;
  margin: 0;
  padding: 0 20px;
}

.top-banner__text strong {
  font-weight: 500;
}

.top-banner__close {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-white);
  font-size: 28px;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.top-banner__close:hover {
  opacity: 0.7;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  background-image: url("/home/assets/images/Banner-padrao-desk.jpg");
  background-size: cover;
  background-position: center;
  height: 750px;
  position: relative;
}
@media (max-width: 768px) {
  .hero {
    background-image: url("/home/assets/images/Banner-padrao-mobile.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 700px;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
}
.hero__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 109px;
  height: 100%;
  display: flex;
  align-items: center;
}
@media (max-width: 768px) {
  .hero__container {
    padding: 0;
    height: 100%;
    width: 100%;
    max-width: 100%;
    position: relative;
  }
}
.hero__content {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
}
@media (max-width: 768px) {
  .hero__content {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 40px;
  }
}
.hero__text-wrapper {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 600px;
}
@media (max-width: 1024px) {
  .hero__text-wrapper {
    left: 30px;
    max-width: 500px;
  }
}
@media (max-width: 768px) {
  .hero__text-wrapper {
    position: absolute;
    left: 32px;
    top: 40px;
    transform: none;
    width: calc(100% - 64px);
    max-width: calc(100% - 64px);
    padding-top: 0;
  }
}
.hero__title {
  font-family: var(--font-family-norm);
  font-size: 48px;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 24px;
  text-align: left;
}
@media (max-width: 1024px) {
  .hero__title {
    font-size: 42px;
  }
}
@media (max-width: 768px) {
  .hero__title {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 16px;
  }
}
.hero__title-line {
  display: block;
  font-family: var(--font-family-norm);
  margin-bottom: 4px;
}
.hero__title-line:last-child {
  margin-bottom: 0;
}
.hero__title-line--white {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.65em;
}
.hero__title-line--yellow {
  color: #FFFF00;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 2px;
}
@media (max-width: 768px) {
  .hero__title-line--yellow {
    line-height: 1.0;
    margin-bottom: 1px;
  }
}
.hero__cta {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 30px;
  font-family: var(--font-family-norm);
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  background-color: #60C33A;
  color: #ffffff;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(96, 195, 58, 0.3);
  background-color: #6FC043;
}
.hero__cta:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(96, 195, 58, 0.3);
}
@media (max-width: 768px) {
  .hero__cta {
    font-size: 16px;
    padding: 12px 28px;
  }
}

/* ==========================================================================
   Plans Section
   ========================================================================== */
.home-plans {
  background: var(--color-gray-100);
  padding: 80px 0;
}

.home-plans__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Tabs */
.home-plans__tabs {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 24px;
}

.home-plans__tab {
  background: none;
  border: none;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-gray-500);
  cursor: pointer;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.home-plans__tab--active {
  color: var(--color-primary);
}

.home-plans__tab--active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
}

.home-plans__tab:hover {
  color: var(--color-primary);
}

/* WhatsApp Float Button */
.home-plans__whatsapp-float {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 999;
}

.home-plans__whatsapp-float img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 167, 14, 0.3);
  transition: transform 0.3s ease;
}

.home-plans__whatsapp-float:hover img {
  transform: scale(1.1);
}

/* Plan Cards Grid */
.home-plans__grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .home-plans__grid {
    flex-direction: column;
    align-items: center;
  }
}

/* À La Carte Categories */
.home-plans__alacarte-wrapper {
  width: 100%;
}

/* Mobile version - hidden on desktop */
.home-plans__alacarte-mobile {
  display: none;
}

/* Desktop version - visible on desktop */
.home-plans__alacarte-desktop {
  display: block;
}

@media (min-width: 769px) {
  .home-plans__alacarte-mobile {
    display: none !important;
  }
  
  .home-plans__alacarte-desktop {
    display: block !important;
  }
}

.home-plans__category-section {
  margin-bottom: 48px;
}

.home-plans__category-section:last-child {
  margin-bottom: 0;
}

.home-plans__category-row {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 48px;
  flex-wrap: nowrap;
}

.home-plans__category-row .home-plans__category-group {
  display: flex;
  flex-direction: column;
}

.home-plans__category-row .home-plans__category-group .home-plans__category-cards {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.home-plans__category-row .home-plan-card {
  margin-top: 0;
  align-self: flex-start;
}

.home-plans__category-group {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  align-items: flex-start;
}

.home-plans__category-title {
  color: #00A70E;
  text-align: left;
  font-family: "Simplon Norm", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin: 0 0 24px 0;
  white-space: nowrap;
}

.home-plans__category-cards {
  display: flex;
  flex-direction: row;
  gap: 32px;
  flex-wrap: nowrap;
  align-items: flex-start;
}

.home-plans__category-group .home-plan-card {
  align-self: flex-start;
}

/* À La Carte Cards - Reduced height */
.home-plans__alacarte-wrapper .home-plan-card {
  min-height: 320px;
}

.home-plans__alacarte-wrapper .home-plan-card__body {
  min-height: 220px;
}

@media (max-width: 1024px) {
  .home-plans__category-row {
    flex-wrap: wrap;
  }
  
  .home-plans__category-cards {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .home-plans__category-row {
    flex-direction: column;
  }

  /* Carousel Container */
  .home-plans__grid-container {
    position: relative;
    padding: 0;
    overflow: visible;
    width: 100%;
  }

  .home-plans__grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 16px;
    padding: 10px 16px 20px 16px;
    scroll-padding-left: 16px;
  }

  .home-plans__grid::-webkit-scrollbar {
    display: none;
  }

  .home-plans__grid .home-plan-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: calc(100vw - 64px);
    max-width: 300px;
    min-width: 260px;
  }

  /* Cards stacked vertically on mobile (À La Carte) */
  .home-plans__category-cards {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 24px;
    padding: 0 16px;
    overflow: visible;
  }
  
  /* À La Carte - Mobile Carousel */
  .home-plans__alacarte-mobile {
    display: block !important;
    position: relative;
    padding: 0;
  }
  
  .home-plans__alacarte-desktop {
    display: none !important;
  }
  
  .home-plans__alacarte-wrapper {
    padding: 0 !important;
  }
  
  .home-plans__alacarte-carousel {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 16px;
    padding: 10px 16px 20px 16px;
    scroll-padding-left: 16px;
    width: 100%;
  }
  
  .home-plans__alacarte-carousel::-webkit-scrollbar {
    display: none;
  }
  
  .home-plans__alacarte-card-wrapper {
    flex: 0 0 auto !important;
    scroll-snap-align: start !important;
    width: calc(100vw - 64px) !important;
    max-width: 300px !important;
    min-width: 260px !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
  }
  
  .home-plans__alacarte-mobile-category {
    color: #00A70E;
    font-family: "Simplon Norm", sans-serif;
    font-size: 20px;
    font-weight: 500;
    text-align: left;
    margin: 0 0 12px 0;
    padding: 0;
    line-height: 1;
    white-space: nowrap;
  }
  
  .home-plans__alacarte-card-wrapper .home-plan-card {
    width: 100% !important;
    flex: 1 !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  
  /* Override any desktop styles that might affect mobile carousel */
  .home-plans__alacarte-mobile .home-plans__category-section,
  .home-plans__alacarte-mobile .home-plans__category-row,
  .home-plans__alacarte-mobile .home-plans__category-group,
  .home-plans__alacarte-mobile .home-plans__category-cards {
    display: none !important;
  }
  
  /* Hide WhatsApp floating buttons on mobile */
  .home-plans__whatsapp-float,
  .home-plans__whatsapp-float-fixed {
    display: none !important;
  }
  
  a[href*="wa.me"].fixed,
  a[href*="wa.link"].fixed,
  a[href*="bit.ly/OfertaSiteOiTV"].fixed {
    display: none !important;
  }
  
  /* Hide any fixed WhatsApp button in bottom-right corner on mobile */
  a.fixed.bottom-6.right-6 {
    display: none !important;
  }

  /* Carousel Navigation Area */
  .carousel-nav-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px;
    margin-top: 16px;
  }

  /* Carousel Indicators */
  .carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }
  
  .carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D1D5DB;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .carousel-indicator.active {
    background: #00A70E;
    width: 24px;
    border-radius: 4px;
  }
  
  /* Carousel Arrow */
  .carousel-arrow {
    width: 47px;
    height: 47px;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  
  .carousel-arrow:hover {
    transform: scale(1.1);
  }
}

/* Plan Card - Exact Figma specifications */
.home-plan-card {
  width: 263.627px;
  min-height: 450px;
  height: auto;
  border-radius: 22.21px;
  background: linear-gradient(32.86deg, #F2FD00 3.61%, #00A70E 103.15%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.home-plan-card__header {
  padding: 21.78px 0 0 23.18px;
  text-align: left;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px;
  min-height: 65px;
  height: auto;
}

.home-plan-card__period {
  display: block;
  font-family: "Simplon Norm", sans-serif;
  font-size: 13.519px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.27px;
  margin: 0;
  color: #FFF;
  white-space: nowrap;
}

.home-plan-card__name {
  display: block;
  font-family: "Simplon Norm", sans-serif;
  font-size: 33.798px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -1.014px;
  margin: 0;
  color: #FFF;
  white-space: nowrap;
}

/* Header with images - À La Carte (horizontal layout) */
.home-plan-card__header--with-images {
  padding: 0 19.25px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 65px;
  height: 65px;
}

.home-plan-card__header--with-images .home-plan-card__period {
  display: inline-block;
  color: #FFF;
  font-family: "Simplon Norm", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.54px;
  flex-shrink: 0;
  margin: 0;
  white-space: nowrap;
}

.home-plan-card__header-images {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: nowrap;
  height: 100%;
}

.home-plan-card__header-image {
  width: 70px;
  height: auto;
  object-fit: contain;
  display: block;
}

.home-plan-card__header-separator {
  color: #FFF;
  font-family: "Simplon Norm", sans-serif;
  font-size: 18px;
  font-weight: 500;
  margin: 0 4px;
  line-height: 1;
}

/* ÉTNICOS Card - Header in one line */
.home-plan-card__header--etnicos {
  padding: 0 19.25px !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px;
  min-height: 65px;
  height: auto;
}

.home-plan-card__header--etnicos .home-plan-card__period {
  color: #FFF;
  font-family: "Simplon Norm", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.54px;
}

.home-plan-card__name--inline {
  display: inline-block !important;
  color: #FFF;
  font-family: "Simplon Norm", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.54px;
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .home-plan-card__period {
    font-size: 13.519px;
    letter-spacing: -0.27px;
  }
  
  .home-plan-card__name {
    font-size: 33.798px;
    letter-spacing: -1.014px;
  }
}

.home-plan-card__body {
  background-color: #ffffff;
  min-height: 353.433px;
  height: auto;
  border-radius: 16.416px;
  margin: 0 6px 6px;
  padding: 22px 14px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.home-plan-card__channels {
  font-family: var(--font-family-norm);
  font-size: 31.6px;
  font-weight: 500;
  letter-spacing: -0.63px;
  color: #00a70e;
  margin-top: auto;
  margin-bottom: 0;
  line-height: normal;
}

.home-plan-card__hd {
  font-family: var(--font-family-norm);
  font-size: 15.8px;
  font-weight: 700;
  letter-spacing: -0.32px;
  color: #00a70e;
  margin-bottom: 12px;
  line-height: normal;
}

.home-plan-card__description {
  font-family: var(--font-family-norm);
  font-size: 11.5px;
  font-weight: 300;
  color: #585858;
  line-height: 1.23;
  margin-bottom: 12px;
  min-height: 29px;
}

.home-plan-card__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
  margin-top: 12px;
  margin-bottom: 12px;
  padding: 12px 0;
  min-height: 50px;
}

.home-plan-card__logos img {
  max-height: 34px;
  width: auto;
  max-width: 38px;
  object-fit: contain;
}

/* ÉTNICOS card - logos above channel count */
.home-plan-card--etnicos .home-plan-card__logos {
  margin-top: 0;
  margin-bottom: 4px;
  padding: 0;
}

/* Pós-Pago Cards - Logo Layout Organization */
/* DIVERSÃO: 4 em cima, 3 embaixo (7 imagens total) */
.home-plan-card__logos--diversao {
  width: 194px; /* 4 imagens * 38px + 3 gaps * 14px = 152px + 42px */
  margin-left: auto;
  margin-right: auto;
}

.home-plan-card__logos--diversao img {
  flex: 0 0 calc((100% - 42px) / 4); /* 4 imagens com 3 gaps de 14px */
  max-width: calc((100% - 42px) / 4);
  max-height: 34px; /* Mantém altura original */
  width: auto;
}

/* FAMÍLIA: 4 em cima, 4 embaixo (8 imagens total) */
.home-plan-card__logos--familia {
  width: 194px; /* 4 imagens * 38px + 3 gaps * 14px = 152px + 42px */
  margin-left: auto;
  margin-right: auto;
}

.home-plan-card__logos--familia img {
  flex: 0 0 calc((100% - 42px) / 4); /* 4 imagens com 3 gaps de 14px */
  max-width: calc((100% - 42px) / 4);
  max-height: 34px; /* Mantém altura original */
  width: auto;
}

/* FUTEBOL TOTAL: 3 em cima, 3 embaixo (6 imagens total) */
.home-plan-card__logos--futebol {
  width: 142px; /* 3 imagens * 38px + 2 gaps * 14px = 114px + 28px */
  margin-left: auto;
  margin-right: auto;
}

.home-plan-card__logos--futebol img {
  flex: 0 0 calc((100% - 28px) / 3); /* 3 imagens com 2 gaps de 14px */
  max-width: calc((100% - 28px) / 3);
  max-height: 34px; /* Mantém altura original */
  width: auto;
}

/* EMOÇÃO TOTAL: 4 em cima, 4 embaixo (8 imagens total) */
.home-plan-card__logos--emocao {
  width: 194px; /* 4 imagens * 38px + 3 gaps * 14px = 152px + 42px */
  margin-left: auto;
  margin-right: auto;
}

.home-plan-card__logos--emocao img {
  flex: 0 0 calc((100% - 42px) / 4); /* 4 imagens com 3 gaps de 14px */
  max-width: calc((100% - 42px) / 4);
  max-height: 34px; /* Mantém altura original */
  width: auto;
}

.home-plan-card__promotional-text {
  color: #585858;
  text-align: center;
  font-family: "Simplon Norm";
  font-size: 13.519px;
  font-style: normal;
  font-weight: 300;
  line-height: 123%; /* 16.629px */
  margin-bottom: 16px;
  padding: 0 16px;
}

/* DIVERSÃO card - reduce spacing between promotional text and channel logos */
.home-plan-card--diversao .home-plan-card__promotional-text {
  margin-bottom: -4px;
}

.home-plan-card__price {
  margin-bottom: 16px;
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.home-plan-card__price--stacked {
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.home-plan-card__price-value {
  display: inline-block;
  font-family: var(--font-family-norm);
  font-size: 32.1px;
  font-weight: 500;
  letter-spacing: -0.64px;
  color: #303030;
  line-height: normal;
}

.home-plan-card__price-info {
  display: inline-block;
  font-family: var(--font-family-norm);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: -0.32px;
  color: #303030;
  line-height: normal;
}

.home-plan-card__cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: linear-gradient(266deg, #00A70E 8.57%, #F2FD00 158.88%);
  color: #ffffff;
  font-family: var(--font-family-norm);
  font-size: 13.6px;
  font-weight: 500;
  letter-spacing: -0.27px;
  height: 38px;
  width: 100%;
  margin: 0;
  border-radius: 19px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.home-plan-card__cta-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.home-plan-card__cta:hover,
.home-plan-card__cta:focus {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.home-plan-card__link {
  display: block;
  margin-top: 10px;
  margin-bottom: 0;
  font-family: var(--font-family-norm);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.24px;
  color: #303030;
  text-decoration: none;
}

.home-plan-card__link:hover {
  text-decoration: underline;
}

.home-plan-card__specialist {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  border: 1px solid #00A70E;
  color: #00A70E;
  font-family: var(--font-family-norm);
  font-size: 13.6px;
  font-weight: 500;
  letter-spacing: -0.27px;
  height: 38px;
  border-radius: 19px;
  text-decoration: none;
  margin-top: 12px;
  transition: all 0.3s ease;
  width: 100%;
}

.home-plan-card__specialist:hover,
.home-plan-card__specialist:focus {
  background: #f5f5f5;
  border-color: #008c0b;
  color: #008c0b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 167, 14, 0.15);
}

.home-plan-card__disclaimer {
  color: #595959;
  font-family: "Simplon Norm";
  font-size: 9px;
  font-style: normal;
  font-weight: 300;
  line-height: 100%; /* 9px */
  margin-top: 8px;
  text-align: center;
}

/* ==========================================================================
   Details Section
   ========================================================================== */
.home-details {
  background: var(--color-white);
  padding: 80px 0;
}

.home-details__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.home-details__title {
  font-size: 30px;
  font-weight: 500;
  color: var(--color-primary);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 16px;
}

.home-details__subtitle {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-gray-500);
  text-align: center;
  margin-bottom: 48px;
}

.home-details__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.home-detail-card {
  background: var(--color-gray-200);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
}

.home-detail-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
}

.home-detail-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-detail-card__title {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 24px;
}

.home-detail-card__text {
  font-size: 16px;
  font-weight: 300;
  color: var(--color-text);
  line-height: 20px;
}

/* ==========================================================================
   Regulations Section
   ========================================================================== */
.home-regulations {
  background: var(--color-gray-100);
  padding: 80px 0;
  font-family: var(--font-family-norm);
}

.home-regulations__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.home-regulations__title {
  font-size: 30px;
  font-weight: 500;
  color: var(--color-primary);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 48px;
  font-family: var(--font-family-norm);
}

.home-regulations__card {
  background: var(--color-white);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 1px 3px rgba(101, 123, 103, 0.03);
  max-width: 900px;
  margin: 0 auto;
}

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

.home-regulations__item {
  padding: 8px 0;
}

.home-regulations__link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-gray-500);
  text-decoration: none;
  transition: color 0.2s ease;
  font-family: var(--font-family-norm);
}

.home-regulations__link:hover {
  color: var(--color-primary);
}

.home-regulations__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.home-regulations__note {
  font-size: 14px;
  font-weight: 300;
  color: var(--color-gray-500);
  text-align: center;
  margin-top: 32px;
  font-family: var(--font-family-norm);
}

.home-regulations__note a {
  color: var(--color-gray-500);
  text-decoration: none;
  cursor: pointer;
}

.home-regulations__note a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Regulamentos Antigos (Expandable Section) */
.home-regulations__old {
  background: var(--color-white);
  border-radius: 24px;
  padding: 48px;
  margin-top: 24px;
  box-shadow: 0 1px 3px rgba(101, 123, 103, 0.03);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.home-regulations__old-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-gray-700);
  margin-bottom: 24px;
  font-family: var(--font-family-norm);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.home-footer {
  background: var(--color-secondary);
  padding: 48px 0 24px;
  color: var(--color-white);
  font-family: var(--font-family-norm);
}

.home-footer__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 128px;
}

.home-footer__content {
  display: grid;
  grid-template-columns: 200px 130px 250px 1fr;
  gap: 60px;
  margin-bottom: 32px;
}

.home-footer__column {
  display: flex;
  flex-direction: column;
}

.home-footer__title {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.home-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}

.home-footer__contact-item svg {
  flex-shrink: 0;
}

.home-footer__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.home-footer__icon--whatsapp {
  width: 28px;
  height: 28px;
}

.home-footer__icon--phone {
  width: 16px;
  height: 16px;
}

.home-footer__info {
  margin-top: 16px;
  font-size: 14px;
  line-height: 20px;
}

.home-footer__info strong {
  font-weight: 500;
}

.home-footer__info span {
  font-weight: 300;
}

.home-footer__link {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 47px;
  text-decoration: none;
  line-height: 32px;
}

.home-footer__link:last-child {
  margin-bottom: 0;
}

.home-footer__link:hover {
  color: var(--color-primary-light);
}

.home-footer__social-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 24px;
}

.home-footer__social-icons {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.home-footer__social-icons a {
  display: block;
}

.home-footer__social-icons img {
  height: 20px;
  width: auto;
}

.home-footer__legal {
  display: flex;
  flex-direction: column;
}

.home-footer__legal-link {
  display: block;
  font-size: 13px;
  font-weight: 300;
  color: var(--color-white);
  text-decoration: none;
  line-height: 28px;
}

.home-footer__legal-link:hover {
  color: var(--color-primary-light);
}

.home-footer__column--logo {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.home-footer__logo-img {
  height: 80px;
  width: auto;
}

.home-footer__bottom {
  text-align: center;
  margin-top: 16px;
  padding-top: 16px;
  width: 100%;
}

.home-footer__copyright {
  font-size: 12px;
  font-weight: 300;
  color: var(--color-white);
  text-align: center;
  margin: 0;
  display: block;
}

.home-footer__disclaimer {
  margin-top: 16px;
  padding-top: 16px;
  width: 100%;
  text-align: left;
}

.home-footer__disclaimer-text {
  font-size: 12px;
  font-weight: 300;
  color: var(--color-white);
  text-align: left;
  margin: 0;
  display: block;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .home-header__container {
    padding: 0 40px;
  }
}

@media (max-width: 1280px) {
  .home-footer__container {
    padding: 0 40px;
  }
  
  .home-footer__content {
    gap: 32px;
  }
}

@media (max-width: 1024px) {
  .home-details__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .home-footer__content {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  
  .home-footer__column--logo {
    grid-column: span 2;
    justify-content: center;
    margin-top: 24px;
  }
}

@media (max-width: 768px) {
  /* Mobile Header */
  .home-header {
    height: 70px;
  }
  
  .home-header__container {
    padding: 0 16px;
  }
  
  .home-header__content {
    justify-content: space-between;
  }
  
  .home-header__menu-toggle {
    display: flex;
    position: static;
  }
  
  .home-header__logo {
    position: static;
    flex: 1;
    justify-content: center;
  }
  
  .home-header__logo img {
    width: 100px;
    height: auto;
  }
  
  .home-header__nav {
    display: none;
  }
  
  .home-header__whatsapp {
    display: flex;
    position: static;
  }
  
  /* Mobile Banner */
  .top-banner {
    padding: 12px 50px 12px 16px;
    text-align: left;
  }
  
  .top-banner__text {
    font-size: 12px;
    line-height: 1.4;
    padding: 0;
  }
  
  .top-banner__close {
    right: 16px;
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  
  .home-plans__tabs {
    gap: 24px;
  }
  
  .home-plans__tab {
    font-size: 16px;
  }
  
  .home-details__grid {
    grid-template-columns: 1fr;
  }
  
  .home-footer__container {
    padding: 0 16px;
  }
  
  .home-footer__content {
    grid-template-columns: 1fr !important;
    gap: 32px;
    display: flex !important;
    flex-direction: column !important;
  }
  
  .home-footer__column {
    width: 100% !important;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
  }
  
  .home-footer__column:last-child {
    margin-bottom: 0;
  }
  
  .home-footer__column--logo {
    grid-column: 1 !important;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    margin-bottom: 16px;
    order: 999;
    text-align: center;
  }
  
  .home-footer__logo {
    justify-content: center;
  }
  
  .home-footer__disclaimer {
    text-align: center !important;
    margin-top: 0;
    padding-top: 0;
  }
  
  .home-footer__disclaimer-text {
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .home-header__container {
    padding: 0 20px;
  }
}

/* Plans Disclaimer */
.home-plans__disclaimer {
  text-align: center;
  margin-top: 24px;
  color: #666;
  font-size: 12px;
}

.home-plans__disclaimer p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.home-plans__disclaimer .asterisk {
  font-weight: bold;
  font-size: 16px;
  color: #333;
}

