/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /* Paleta padronizada do QRZap */
  --primary-color: #1800AD;        /* Azul principal */
  --primary-color-alt: #140099;    /* Azul mais escuro para hover */
  --secondary-color: #6c757d;      /* Cinza claro secundário */
  --accent-color: #1800AD;         /* Azul para destaques */
  
  /* Bootstrap custom colors */
  --bs-primary: #1800AD;
  --bs-primary-rgb: 24, 0, 173;
  
  /* Cores de texto e fundo - Tema Claro */
  --title-color: #000000;          /* Preto para títulos */
  --text-color: #333333;           /* Cinza escuro para texto */
  --text-color-light: #6c757d;     /* Cinza médio para texto secundário */
  --body-color: #ffffff;           /* Branco para fundo */
  --container-color: #ffffff;      /* Branco para containers */
  --border-color: #e0e0e0;         /* Cinza claro para bordas */
  
  /*========== Site sempre no modo claro ==========*/

  /*========== Font and typography ==========*/
  --body-font: 'Inter', sans-serif;
  --biggest-font-size: 2rem;
  --h1-font-size: 1.75rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.813rem;

  /*========== Font weight ==========*/
  --font-light: 300;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== Margins Bottom ==========*/
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;

  /*========== Border radius ==========*/
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 1.5rem;

  /*========== Shadows ==========*/
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

html {
  scroll-behavior: smooth;
  background-color: #ffffff !important;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: #ffffff !important;
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  line-height: 1.2;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

a:hover {
  color: var(--primary-color-alt);
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/*=============== FUNDOS PADRONIZADOS ===============*/
/* Fundos principais - Tema claro */
.container,
.section:not(.footer),
.header,
.nav,
.home,
.features,
.tester,
.about,
main,
section:not(.footer),
article,
div:not(.footer) {
  background-color: var(--body-color) !important; /* Branco */
}

/* Site sempre no modo claro - sem tema escuro */

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1200px;
  margin-left: 1rem;
  margin-right: 1rem;
}

@media screen and (min-width: 576px) {
  .container {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }
}

@media screen and (min-width: 768px) {
  .container {
    margin-left: 2rem;
    margin-right: 2rem;
  }
}

@media screen and (min-width: 1024px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
}

.grid {
  display: grid;
}

.section {
  padding: 4.5rem 0 2rem;
}

.section__title {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  text-align: center;
  margin-bottom: var(--mb-3);
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-3);
  text-align: center;
  color: var(--text-color);
}

.section__header {
  text-align: center;
  margin-bottom: var(--mb-3);
}

/*=============== LAYOUT ===============*/
.main {
  overflow: hidden;
}

/*=============== HEADER & NAV RESPONSIVO ===============*/
.header {
  width: 100%;
  background-color: var(--body-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

/* Navbar customizations */
.navbar {
  padding: 0.75rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: var(--font-bold);
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

/* Navbar links */
.navbar-nav .nav-link {
  font-weight: var(--font-medium);
  color: var(--text-color) !important;
  transition: all 0.3s ease;
  padding: 0.75rem 1rem !important;
  border-radius: 0.5rem;
  margin: 0 0.25rem;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
  background-color: rgba(24, 0, 173, 0.1);
  transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
  background-color: rgba(24, 0, 173, 0.15);
  font-weight: var(--font-semi-bold);
}

/* Navbar toggler */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(24, 0, 173, 0.25);
}

.navbar-toggler:hover {
  background-color: rgba(24, 0, 173, 0.1);
}

/* Dropdown menu */
.dropdown-menu {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 0.75rem;
  padding: 0.5rem;
  margin-top: 0.5rem;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95);
}

.dropdown-item {
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  font-weight: var(--font-medium);
  display: flex;
  align-items: center;
}

.dropdown-item:hover {
  background-color: rgba(24, 0, 173, 0.1);
  color: var(--primary-color);
  transform: translateX(5px);
}

.dropdown-item.active {
  background-color: rgba(24, 0, 173, 0.15);
  color: var(--primary-color);
  font-weight: var(--font-semi-bold);
}

.dropdown-item i {
  width: 16px;
  text-align: center;
  font-size: 0.9rem;
}

/* Ícones do menu mobile */
.navbar-nav .nav-link i {
  width: 20px;
  text-align: center;
  font-size: 1rem;
  opacity: 0.8;
}

.navbar-nav .nav-link:hover i {
  opacity: 1;
}

/* Divider do dropdown */
.dropdown-divider {
  margin: 0.5rem 0;
  border-color: rgba(24, 0, 173, 0.1);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

.nav__logo-img {
  width: 2rem;
  height: 2rem;
}

.nav__logo-text {
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
  color: var(--primary-color);
}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
}

.nav__link {
  color: var(--text-color);
  font-weight: var(--font-medium);
  transition: 0.3s;
  position: relative;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--primary-color);
}

.nav__link.active-link::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 1px;
}

.nav__close {
  position: absolute;
  right: 1.3rem;
  bottom: 0.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--title-color);
}

.nav__toggle {
  color: var(--title-color);
  font-weight: var(--font-medium);
  font-size: 1.1rem;
  cursor: pointer;
}

.nav__close:hover,
.nav__toggle:hover {
  color: var(--primary-color);
}

.nav__close-icon,
.nav__toggle-icon {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--primary-color);
}

/* Show menu */
.show-menu {
  bottom: 0;
}

/* Active link */
.active-link {
  color: var(--primary-color);
}

/*=============== HOME ===============*/
.home {
  padding: 6rem 0 2rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #ffffff !important;
}

/* Bootstrap home section adjustments */
.home .container {
  padding-top: 2rem;
}

.home .display-4 {
  font-size: 2.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .home .display-4 {
    font-size: 3.5rem;
  }
}

@media (min-width: 1200px) {
  .home .display-4 {
    font-size: 4rem;
  }
}

.home__container {
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.home__content {
  order: 1;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .home {
    padding: 9rem 0 2rem;
  }
  
  .home__container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .home__content {
    order: 1;
    text-align: left;
  }
}

.home__title {
  font-size: var(--biggest-font-size);
  line-height: 1.2;
  margin-bottom: var(--mb-1);
}

.gradient-text {
  color: var(--primary-color);
  font-weight: var(--font-bold);
}

.home__description {
  margin-bottom: var(--mb-2-5);
  font-size: var(--normal-font-size);
  line-height: 1.6;
}

.home__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-bottom: var(--mb-2-5);
}

@media screen and (min-width: 768px) {
  .home__buttons {
    flex-direction: row;
    justify-content: flex-start;
  }
}

.home__stats {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: var(--mb-2);
  flex-wrap: wrap;
}

@media screen and (min-width: 768px) {
  .home__stats {
    gap: 2rem;
    justify-content: flex-start;
  }
}

.stat {
  text-align: center;
}

.stat__number {
  display: block;
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  color: var(--primary-color);
  line-height: 1;
}

.stat__label {
  font-size: var(--small-font-size);
  color: var(--text-color);
}

.home__images {
  order: 2;
  justify-self: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.home__phone {
  width: 240px;
  height: 480px;
  background: var(--primary-color);
  border-radius: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  margin: 0 auto;
}

.home__phone-img {
  width: 220px;
  height: 460px;
  border-radius: 2rem;
  object-fit: cover;
}

@media screen and (min-width: 768px) {
  .home__phone {
    width: 280px;
    height: 560px;
    border-radius: 3rem;
  }
  
  .home__phone-img {
    width: 260px;
    height: 540px;
    border-radius: 2.5rem;
  }
  
  .home__phone-mockup-below {
    bottom: -80px;
  }
  
  .home__phone-mockup-below img {
    max-width: 250px !important;
  }
}

.home__phone-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home__phone-mockup-fixed {
  width: 240px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home__phone-mockup-fixed img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes float {
  0%, 100% {
    transform: translateX(-50%) translateY(0px);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}



@media screen and (min-width: 768px) {
  .home__images {
    min-height: 700px;
  }
  
  .home__phone-mockup-fixed {
    width: 280px;
    height: 560px;
  }
  
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/*=============== BUTTONS ===============*/
.button {
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.875rem 1.25rem;
  border-radius: var(--border-radius);
  font-weight: var(--font-medium);
  transition: 0.3s;
  box-shadow: var(--shadow);
  font-size: var(--small-font-size);
  text-align: center;
  justify-content: center;
  width: 100%;
}

@media screen and (min-width: 576px) {
  .button {
    width: auto;
    padding: 1rem 1.5rem;
    font-size: var(--normal-font-size);
  }
}

.button:hover {
  background-color: var(--primary-color-alt);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.button--secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.button--secondary:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.button--large {
  padding: 1.25rem 2rem;
  font-size: var(--normal-font-size);
}

/*=============== BOTÕES PADRONIZADOS ===============*/
/* Botões primários - Estado normal */
.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
  font-weight: var(--font-medium);
  transition: all 0.3s ease;
}

/* Ícones e texto brancos no estado normal */
.btn-primary svg,
.btn-primary span,
.btn-primary {
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* Botão primário hover - sempre no modo claro */
.btn-primary:hover {
  background-color: var(--body-color) !important; /* Fundo branco */
  border-color: var(--primary-color) !important; /* Borda azul */
  color: var(--primary-color) !important; /* Texto azul */
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover svg,
.btn-primary:hover span {
  color: var(--primary-color) !important;
  fill: var(--primary-color) !important;
}

/* Botão primário sempre no modo claro */

/* Botões outline - Estado normal */
.btn-outline-primary {
  color: var(--primary-color) !important;
  border-color: var(--primary-color);
  background-color: transparent;
  font-weight: var(--font-medium);
  transition: all 0.3s ease;
}

/* Hover para tema claro */
/* Botões outline hover - sempre no modo claro */
.btn-outline-primary:hover {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-light {
  color: #ffffff !important;
  border-color: #ffffff;
  background-color: transparent;
}

.btn-outline-light:hover {
  background-color: #ffffff !important;
  color: var(--primary-color) !important;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Botões outline sempre no modo claro */

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}


.button__icon {
  width: 1.2rem;
  height: 1.2rem;
  fill: #ffffff;
}

/*=============== FEATURES ===============*/
.features {
  background-color: #ffffff !important;
}

.features__container {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media screen and (min-width: 576px) {
  .features__container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
}

@media screen and (min-width: 768px) {
  .features__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .features__container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  background-color: var(--body-color);
  padding: 1.5rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
  transition: 0.3s;
}

@media screen and (min-width: 768px) {
  .feature {
    padding: 2rem;
  }
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Bootstrap card customizations */
.card {
  transition: all 0.3s ease;
  border: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg) !important;
}

.card-body {
  padding: 2rem;
}

@media (max-width: 768px) {
  .card-body {
    padding: 1.5rem;
  }
}

.feature__icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mb-1);
  font-size: 2rem;
  color: #fff;
}

/* Responsividade para ícones de features */
@media (max-width: 576px) {
  .feature__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
  }
  
  .feature__icon-svg {
    width: 1.8rem;
    height: 1.8rem;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .feature__icon {
    width: 70px;
    height: 70px;
  }
  
  .feature__icon-svg {
    width: 2rem;
    height: 2rem;
  }
}

.feature__icon-svg {
  width: 2.5rem;
  height: 2.5rem;
  fill: var(--primary-color);
}

.feature__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
}

.feature__description {
  color: var(--text-color);
  line-height: 1.6;
}

/*=============== TESTER ===============*/
.tester {
  background: var(--primary-color);
  color: #fff;
}

/* Bootstrap tester section customizations */
.bg-primary {
  background-color: var(--primary-color) !important;
}

.tester .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
  font-weight: var(--font-medium);
  transition: all 0.3s ease;
}

.tester .btn-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  color: black;
}

.tester__container {
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .tester__container {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
}

.tester__title {
  font-size: var(--h1-font-size);
  margin-bottom: var(--mb-1);
  color: #fff;
}

.tester__description {
  margin-bottom: var(--mb-2-5);
  font-size: var(--normal-font-size);
  opacity: 0.9;
}

.tester__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: var(--mb-2);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--small-font-size);
}

.info-item__icon {
  width: 1rem;
  height: 1rem;
  fill: var(--primary-color);
}

.tester__form {
  justify-self: center;
}

.tester__form .form-control {
  border: 2px solid #e9ecef;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.tester__form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.phone-mockup {
  width: 240px;
  height: 480px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-xl);
  margin: 0 auto;
}

.phone-mockup img {
  width: 220px;
  height: 460px;
  border-radius: 2rem;
  object-fit: cover;
}

@media screen and (min-width: 768px) {
  .phone-mockup {
    width: 300px;
    height: 600px;
    border-radius: 3rem;
  }
  
  .phone-mockup img {
    width: 280px;
    height: 580px;
    border-radius: 2.5rem;
  }
}

/*=============== ABOUT ===============*/
.about {
  background-color: #ffffff !important;
}

.about__container {
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .about__container {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
}

.about__title {
  font-size: var(--h1-font-size);
  margin-bottom: var(--mb-1);
  color: var(--title-color);
}

.about__description {
  margin-bottom: var(--mb-2);
  line-height: 1.6;
  color: var(--text-color);
}

.about__features {
  margin-bottom: var(--mb-2);
}

.about__feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--mb-1);
}

.about__feature-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  fill: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

/* Responsividade para ícones da seção sobre */
@media (max-width: 576px) {
  .about__feature-icon {
    width: 35px;
    height: 35px;
    padding: 6px;
  }
  
  .about__feature-icon svg {
    width: 1.2rem;
    height: 1.2rem;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .about__feature-icon {
    width: 38px;
    height: 38px;
    padding: 7px;
  }
}

.about__feature h4 {
  margin-bottom: 0.25rem;
  color: var(--title-color);
}

.about__feature p {
  color: var(--text-color);
  font-size: var(--small-font-size);
}

.about__contact h4 {
  margin-bottom: var(--mb-1);
  color: var(--title-color);
}

.about__contact p {
  margin-bottom: var(--mb-1);
  color: var(--text-color);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: var(--font-medium);
}

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

.contact-link__icon {
  width: 1.2rem;
  height: 1.2rem;
  fill: var(--primary-color);
}

.about__image {
  justify-self: center;
}

.about__image img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about__image img:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* Otimizações específicas para o banner QRZap */
.about__image img[src*="banner_qrzap"] {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  overflow: hidden;
}

/* Garantir que o banner não ultrapasse os limites */
.about__image {
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

/* Responsividade para o banner */
@media (max-width: 576px) {
  .about__image img[src*="banner_qrzap"] {
    max-width: 100%;
    max-height: 300px;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  .about__image {
    padding: 0 1rem;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .about__image img[src*="banner_qrzap"] {
    max-width: 100%;
    max-height: 350px;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .about__image img[src*="banner_qrzap"] {
    max-width: 100%;
    max-height: 450px;
    object-fit: contain;
  }
}

@media (min-width: 1025px) {
  .about__image img[src*="banner_qrzap"] {
    max-width: 100%;
    max-height: 550px;
    object-fit: contain;
  }
}

/*=============== LEGAL PAGES ===============*/
.legal {
  padding-top: 8rem;
  min-height: 100vh;
}

.legal__container {
  max-width: 800px;
  margin: 0 auto;
}

.legal__header {
  text-align: center;
  margin-bottom: var(--mb-3);
}

.legal__title {
  font-size: var(--h1-font-size);
  margin-bottom: var(--mb-1);
}

.legal__subtitle {
  color: var(--text-color);
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-1);
}

.legal__intro {
  font-size: var(--normal-font-size);
  line-height: 1.6;
  color: var(--text-color);
}

.legal__content {
  background-color: var(--body-color);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
}

.legal__section {
  margin-bottom: var(--mb-2-5);
}

.legal__section h2 {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-1);
  color: var(--title-color);
}

.legal__section h3 {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-75);
  margin-top: var(--mb-1-5);
  color: var(--title-color);
}

.legal__section p {
  margin-bottom: var(--mb-1);
  line-height: 1.6;
}

.legal__section ul {
  margin-bottom: var(--mb-1);
  padding-left: 1.5rem;
}

.legal__section li {
  margin-bottom: var(--mb-0-5);
  position: relative;
}

.legal__section li::before {
  content: '•';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: -1rem;
}

.legal__section a {
  color: var(--primary-color);
  text-decoration: underline;
}

.legal__section a:hover {
  color: var(--primary-color-alt);
}

.contact-info {
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-top: var(--mb-1);
}

.contact-info p {
  margin-bottom: var(--mb-0-5);
}

.contact-info a {
  color: var(--primary-color);
  font-weight: var(--font-medium);
}

/*=============== FOOTER ===============*/
.footer {
  background-color: #000000;
  color: #ffffff;
  padding: 3rem 0 1rem;
}

/* Bootstrap footer customizations */
.bg-dark {
  background-color: #000000 !important;
}

.footer .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff !important;
  transition: all 0.3s ease;
}

.footer .btn-outline-light:hover {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.footer__container {
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: var(--mb-2);
}

@media screen and (min-width: 576px) {
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 768px) {
  .footer__container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .footer__container {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer__logo {
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  margin-bottom: var(--mb-1);
  font-weight: var(--font-semi-bold);
  font-size: var(--h3-font-size);
  color: #ffffff;
}

.footer__logo img {
  width: 2rem;
  height: 2rem;
}

.footer__description {
  margin-bottom: var(--mb-1);
  line-height: 1.6;
  opacity: 0.8;
  color: #ffffff;
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: #ffffff;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  color: #fff;
  opacity: 0.8;
  transition: 0.3s;
}

.footer__link:hover {
  opacity: 1;
  color: var(--primary-color);
}

.footer__social {
  display: flex;
  column-gap: 1rem;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.footer__social-link:hover {
  background-color: var(--primary-color-alt);
  transform: translateY(-2px);
}

.footer__social-icon {
  width: 1.2rem;
  height: 1.2rem;
  fill: #fff;
}


.footer__copy {
  padding-top: 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copy p {
  margin-bottom: var(--mb-0-5);
  opacity: 0.8;
  color: #ffffff;
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.5rem;
  border-radius: 0.25rem;
  font-size: 1.25rem;
  box-shadow: var(--shadow);
  transition: 0.4s;
  z-index: var(--z-tooltip);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 767px) {
  .scrollup {
    right: 0.75rem;
    bottom: -20%;
    width: 40px;
    height: 40px;
  }
}

.scrollup:hover {
  background-color: var(--primary-color-alt);
  transform: translateY(-0.25rem);
}

.show-scroll {
  bottom: 5rem;
}

.scrollup__icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: #fff;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: 0.6rem;
  background-color: var(--border-color);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb {
  background-color: var(--text-color-light);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-color);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 350px) {
  .container {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }

  .home__title {
    font-size: 1.5rem;
  }

  .home__images {
    min-height: 500px;
  }

  .home__phone {
    width: 200px;
    height: 400px;
  }

  .home__phone-img {
    width: 180px;
    height: 380px;
  }

  .home__phone-mockup-fixed {
    width: 200px;
    height: 400px;
  }
  
}

/* Melhorias de responsividade para mobile */
@media screen and (max-width: 576px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .section {
    padding: 3rem 0 1.5rem;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .display-5 {
    font-size: 1.75rem !important;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .card-body {
    padding: 1.25rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .about__content {
    margin-bottom: 2rem;
  }
}

/*=============== RESPONSIVIDADE DO MENU ===============*/
/* Desktop - Menu horizontal */
@media screen and (min-width: 992px) {
  .navbar-nav {
    gap: 0.5rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0 0.25rem;
  }
  
  .dropdown-menu {
    min-width: 200px;
  }
}

/* Tablet - Menu adaptado */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .navbar-nav {
    gap: 0.25rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.9rem;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
}

/* Mobile - Menu colapsável melhorado */
@media screen and (max-width: 767px) {
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .navbar-brand img {
    width: 28px;
    height: 28px;
  }
  
  .navbar-collapse {
    background-color: var(--body-color);
    border-radius: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
  }
  
  .navbar-nav {
    gap: 0.5rem;
  }
  
  .navbar-nav .nav-link {
    padding: 1rem !important;
    margin: 0.25rem 0;
    text-align: center;
    border-radius: 0.75rem;
    font-size: 1rem;
  }
  
  .navbar-nav .nav-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(24, 0, 173, 0.2);
  }
  
  .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none;
    background-color: rgba(24, 0, 173, 0.05);
    border-radius: 0.75rem;
    margin: 0.5rem 0;
    padding: 0.5rem;
  }
  
  .dropdown-item {
    padding: 0.75rem 1rem;
    margin: 0.25rem 0;
    border-radius: 0.5rem;
  }
  
  .navbar-toggler {
    padding: 0.75rem;
    border-radius: 0.75rem;
  }
  
  .navbar-toggler-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}

/* Mobile pequeno */
@media screen and (max-width: 576px) {
  .navbar-brand {
    font-size: 1rem;
  }
  
  .navbar-brand img {
    width: 24px;
    height: 24px;
  }
  
  .navbar-nav .nav-link {
    padding: 0.875rem !important;
    font-size: 0.95rem;
  }
  
  .dropdown-item {
    padding: 0.625rem 0.875rem;
    font-size: 0.9rem;
  }
}

/* Animação para o overlay */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Melhorar a transição do menu */
.nav__menu {
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.nav__menu.show-menu {
  transform: translateY(0);
}


/* For large devices */
@media screen and (min-width: 1024px) {
  .home__title {
    font-size: 3rem;
  }

  .features__container {
    gap: 3rem;
  }

  .tester__container {
    gap: 4rem;
  }
}

/* For extra large devices */
@media screen and (min-width: 1200px) {
  .home__title {
    font-size: 3.5rem;
  }

  .section__title {
    font-size: 2.5rem;
  }
  
  .home__images {
    min-height: 800px;
  }
  
  .home__phone-mockup-fixed {
    width: 320px;
    height: 640px;
  }
  
}

/* Site sempre no modo claro - sem tema escuro */

/*=============== FOOTER PADRONIZADO ===============*/
/* Footer sempre preto com texto branco */
.footer {
  background-color: #000000 !important;
  color: #ffffff !important;
}

.footer * {
  color: #ffffff !important;
}

.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6 {
  color: #ffffff !important;
}

.footer p, .footer span, .footer div, .footer li {
  color: #ffffff !important;
}

.footer a {
  color: #ffffff !important;
}

.footer a:hover {
  color: #cccccc !important;
}

.footer .text-muted {
  color: #cccccc !important;
}

/*=============== ELEMENTOS DESTACADOS ===============*/
/* Palavras destacadas - Tema claro */
.text-primary {
  color: var(--primary-color) !important; /* Azul */
}

/* Garantir que text-primary seja sempre azul no tema claro */
.text-primary,
h1 .text-primary,
h2 .text-primary,
h3 .text-primary,
h4 .text-primary,
h5 .text-primary,
h6 .text-primary,
span.text-primary {
  color: var(--primary-color) !important; /* Azul */
}

/* Palavras destacadas sempre azuis no modo claro */

.text-muted {
  color: #6c757d !important;
}

/* Text-muted sempre cinza no modo claro */

/*=============== CAIXAS DE AVISO E INFORMAÇÃO ===============*/
/* Tema claro */
.warning-box h5,
.warning-box p,
.warning-box .fw-bold {
  color: #856404 !important; /* Amarelo escuro */
}

.info-box h3,
.info-box h5,
.info-box p,
.info-box li,
.info-box .fw-bold {
  color: #0c5460 !important; /* Azul escuro */
}

/* Bootstrap background overrides */
.bg-white {
  background-color: #ffffff !important;
}

/*=============== ÍCONES SVG PADRONIZADOS ===============*/
/* Ícones em fundos coloridos - sempre brancos */
.about__feature-icon,
.button__icon,
.scrollup__icon,
.footer__social-icon {
  fill: #ffffff !important;
}

/* Ícones de features - azul no tema claro */
.feature__icon-svg {
  fill: var(--primary-color) !important;
}

/* Ícones em fundos brancos - azul no tema claro */
.nav__toggle-icon,
.nav__close-icon,
.contact-link__icon,
.info-item__icon {
  fill: var(--primary-color) !important;
}

/* Hover states para ícones */
.nav__toggle:hover .nav__toggle-icon,
.nav__close:hover .nav__close-icon {
  fill: var(--primary-color-alt) !important;
}

.contact-link:hover .contact-link__icon {
  fill: var(--primary-color-alt) !important;
}

/* Ícones sempre azuis no modo claro */

/* Garantir que ícones não herdem cor do texto */
svg {
  fill: inherit;
}

/*=============== CORES PADRONIZADAS ===============*/
/* Textos principais - Tema claro */
h1:not(.text-primary):not(.text-muted):not(.text-white):not(.text-dark),
h2:not(.text-primary):not(.text-muted):not(.text-white):not(.text-dark),
h3:not(.text-primary):not(.text-muted):not(.text-white):not(.text-dark),
h4:not(.text-primary):not(.text-muted):not(.text-white):not(.text-dark),
h5:not(.text-primary):not(.text-muted):not(.text-white):not(.text-dark),
h6:not(.text-primary):not(.text-muted):not(.text-white):not(.text-dark) {
  color: var(--title-color) !important; /* Preto no tema claro */
}

/* Parágrafos e textos - Tema claro */
p:not(.text-primary):not(.text-muted):not(.text-white):not(.text-dark),
span:not(.text-primary):not(.text-muted):not(.text-white):not(.text-dark),
div:not(.text-primary):not(.text-muted):not(.text-white):not(.text-dark),
li:not(.text-primary):not(.text-muted):not(.text-white):not(.text-dark) {
  color: var(--text-color) !important; /* Cinza escuro no tema claro */
}

/* Links - Tema claro */
a:not(.text-primary):not(.text-muted):not(.text-white):not(.text-dark) {
  color: var(--primary-color) !important; /* Azul */
}

a:not(.text-primary):not(.text-muted):not(.text-white):not(.text-dark):hover {
  color: var(--primary-color-alt) !important; /* Azul mais escuro */
}

/* Site sempre no modo claro - sem tema escuro */

