/* =========================================
1. RESET E VARIÁVEIS GLOBAIS
 ========================================= */
:root {
  --color-orange: #ff5722;
  --color-orange-hover: #e64a19;
  --color-blue-dark: #1a0b52;
  --color-blue-btn: #2d1b70;
  --color-text-dark: #1f1f1f;
  --color-text-light: #666666;
  --color-white: #ffffff;
  --color-bg-light: #f9f9f9;
  --color-gray-border: #e0e0e0;
  --container-width: 1820px;
  --border-radius-pill: 16px;
  --border-radius-card: 16px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Poppins", sans-serif;
  color: var(--color-text-dark);
  background-color: var(--color-white);
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--border-radius-card);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-orange {
  background-color: var(--color-orange);
  color: var(--color-white);
}

.btn-orange:hover {
  background-color: var(--color-orange-hover);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--color-blue-btn);
  color: var(--color-white);
}

.btn-dark:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
}

/* =========================================
2. NAVBAR
========================================= */
.navbar {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 0 0 24px 24px;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 1);
}

.navbar.scrolled .logo-img {
  height: 40px;
  width: 40px;
  transition: all 0.3s ease-in-out;
}

.navbar.scrolled .nav-links a {
  font-size: 1rem;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo-img {
  height: 70%;
  width: 70%;
  transition: all 0.3s ease-in-out;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-blue-dark);
  font-weight: 500;
  font-size: 1.2rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--color-orange);
}

.nav-icons {
  display: flex;
  gap: 60px;
  align-items: center;
}

.nav-icons i {
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-blue-dark);
  transition: var(--transition);
}

.nav-icons i:hover {
  color: var(--color-orange);
}

.mobile-toggle,
.mobile-menu-left,
.mobile-inner-header {
  display: none;
}

.nav-header-mobile {
  display: contents;
}
.mobile-close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-blue-dark);
  cursor: pointer;
}

/* =========================================
   DROPDOWN MENU
========================================= */

.dropdown-trigger {
  position: relative;
  height: 100%;
}

.dropdown-menu {
  position: absolute;
  top: 40px;
  left: -20px;
  background-color: #fff;
  width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 15px 0;
  list-style: none;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 25px;
  font-size: 1rem;
  color: var(--color-text-light);
  font-weight: 400;
  transition:
    background 0.2s,
    color 0.2s;
}

.dropdown-menu li a:hover {
  background-color: #f5f5f5;
  color: var(--color-orange);
}

.dropdown-menu .divider {
  background-color: #eee;
  margin: 8px 0;
}

.dropdown-trigger:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-trigger.menu-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-trigger:hover .fa-chevron-down,
.dropdown-trigger.menu-open .fa-chevron-down {
  transform: rotate(180deg);
}

.fa-chevron-down {
  transition: transform 0.3s ease;
}

/* =========================================
   PÁGINA NOSSAS POLÍTICAS
========================================= */

.policies-section {
  padding: 60px 0 100px 0;
  background-color: #fff;
  color: #444; /* Cor base do texto cinza escuro */
}

/* --- HEADER: Título + Busca --- */
.policies-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 20px;
}

.policies-header .page-title {
  font-size: 3rem;
  color: var(--color-blue-dark);
  font-weight: 800;
  margin-bottom: 0;
  letter-spacing: -1px;
}

.policy-search-form {
  display: flex;
  align-items: center;
  border: 2px solid var(--color-blue-dark);
  border-radius: 50px;
  padding: 5px 5px 5px 25px;
  width: 100%;
  max-width: 400px;
  background: white;
}

.policy-search-form input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 0.9rem;
  color: #666;
  background: transparent;
}

.policy-search-form button {
  background: transparent;
  border: none;
  color: var(--color-blue-dark);
  font-weight: 800;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 0.9rem;
  border-left: 1px solid #eee; /* Opcional: separador sutil */
}

/* --- BLOCOS DE CONTEÚDO --- */
.policy-block {
  margin-bottom: 20px;
}

.policy-block h2 {
  font-size: 1.8rem;
  color: var(--color-blue-dark);
  font-weight: 800;
  margin-bottom: 20px;
}

.policy-block p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: justify; /* Alinhamento conforme estilo jurídico/formal */
}

/* Lista de Exceções */
.policy-list {
  list-style-type: none; /* Remove bolinhas padrão */
  padding-left: 0;
  margin-bottom: 20px;
}

.policy-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  line-height: 1.5;
  font-size: 0.95rem;
}

.policy-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: #444;
  font-weight: bold;
}

/* Box de Destaque (Dúvidas) */
.highlight-box {
  margin-top: 30px;
  font-weight: 500;
  color: var(--color-blue-dark);
}

.highlight-box strong {
  font-weight: 800;
  display: block;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

/* Divisor Fino */
.policy-divider {
  height: 1px;
  background-color: #e0e0e0;
  margin: 50px 0;
  width: 100%;
}

/* --- SEÇÃO PRIVACIDADE --- */
.privacy-title {
  font-size: 2rem !important; /* Um pouco maior que os outros H2 */
  margin-bottom: 30px !important;
}

.privacy-sub-block {
  margin-bottom: 30px;
}

.privacy-sub-block h3 {
  font-size: 1.3rem;
  color: var(--color-blue-dark);
  margin-bottom: 10px;
  font-weight: 600; /* Peso médio */
}

.update-date {
  font-size: 0.8rem;
  color: #888;
  margin-top: 40px;
  font-weight: 600;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
  .policies-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .policy-search-form {
    width: 100%;
    max-width: 100%;
  }

  .policies-header .page-title {
    font-size: 2.2rem;
  }

  .policy-block h2 {
    font-size: 1.5rem;
  }
}

/* =========================================
11. FOOTER
========================================= */
.footer {
  background-color: #f0f0f0;
  padding: 60px 0 20px;
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
  padding-top: 20px;
}

.footer-logo img {
  height: 80px;
  width: 80px;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  gap: 80px;
  margin-left: auto;
  margin-right: 60px;
}

.footer-links h4 {
  color: var(--color-blue-dark);
  margin-bottom: 15px;
  font-size: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: var(--color-blue-dark);
  transition: var(--transition);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--color-orange);
}

.social-links {
  text-align: left;
  border-left: 2px solid #1a0b52;
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-height: 100px;
}

.social-links p {
  font-weight: 400;
  color: var(--color-blue-dark);
}

.social-links a {
  color: var(--color-blue-dark);
  font-size: 1.8rem;
  transition: var(--transition);
  display: inline-block;
}

.social-links a:hover {
  color: var(--color-orange);
  transform: translateY(-3px);
}

.copyright {
  text-align: left;
  border-top: 1px solid #d1d1d1;
  padding-top: 30px;
  color: var(--color-blue-dark);
  font-size: 0.85rem;
  max-width: 100%;
  margin: 0 auto;
}

@media (max-width: 1025px) {
  .form-card {
    flex-direction: column;
    width: 100%;
    max-width: 500px;
  }

  .inputs-group {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .input-field {
    width: 100%;
  }

  .btn-submit {
    width: 100%;
    height: 45px;
  }

  .slider-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-links {
    text-align: center;
  }
}

/* =========================================
RESPONSIVIDADE E MOBILE MENU
========================================= */

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-blue-dark);
  cursor: pointer;
}

.nav-header-mobile {
  display: contents;
}

@media (max-width: 1025px) {
  .nav-content {
    justify-content: space-between;
    padding: 0 20px;
  }

  .logo-img {
    height: 60%;
    width: 60%;
  }

  .nav-header-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 1001;
  }

  .mobile-toggle {
    display: block;
    font-size: 1.8rem;
    color: var(--color-blue-dark);
    border: none;
    background: transparent;
    cursor: pointer;
  }

  .nav-menu-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
    z-index: 2000;
    overflow: hidden;
  }

  .nav-menu-wrapper.active {
    display: grid;
    grid-template-columns: 35% 65%;
    animation: slideIn 0.3s ease-out;
    background: transparent;
  }

  .nav-links {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
  }

  .nav-icons {
    justify-content: center;
    gap: 30px;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background-color: #f9f9f9;
    width: 100%;
    text-align: center;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown-trigger:hover .dropdown-menu {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .footer-logo {
    justify-content: center;
    display: flex;
  }

  .social-links {
    text-align: center;
  }

  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .footer-links {
    margin: 0;
    gap: 10px;
    justify-content: center;
    flex-direction: column;
  }

  .social-links {
    border-left: none;
    padding-left: 0;
    border-top: 2px solid #1a0b52;
    padding-top: 20px;
    width: 50%;
    align-items: center;
    text-align: center;
    min-height: auto;
  }
}

@media (max-width: 1025px) {
  .nav-content {
    justify-content: space-between;
    padding: 0 20px;
  }

  .nav-header-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 1001;
  }

  .mobile-toggle {
    display: block;
    font-size: 1.8rem;
    color: var(--color-blue-dark);
    border: none;
    background: transparent;
    cursor: pointer;
  }

  .nav-menu-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
    z-index: 2000;
    overflow: hidden;
  }

  .nav-menu-wrapper.active {
    display: grid;
    grid-template-columns: 35% 65%;
    animation: slideIn 0.3s ease-out;
    background: transparent;
  }

  .mobile-menu-left {
    display: none;
  }

  .mobile-promo-content h2 {
    font-size: 1.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
  }

  .mobile-promo-content h2 strong {
    font-weight: 800;
    font-size: 2.2rem;
  }

  .btn-outline-white {
    border: 1px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 30px;
  }

  .promo-arrow {
    border: 1px solid white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
  }

  .mobile-menu-right {
    display: flex;
    flex-direction: column;
    background-color: white;
    height: 100%;
    overflow-y: auto;
  }

  .mobile-inner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    flex-direction: row-reverse;
  }

  .mobile-logo-inner {
    height: 40px;
    width: 40px;
    display: none;
  }

  .mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .search-icon-mobile {
    font-size: 1.5rem;
    color: var(--color-blue-dark);
  }

  .nav-icons {
    display: flex;
    justify-content: space-around;
    padding: 30px 40px;
    gap: 20px;
  }

  .nav-icons i {
    font-size: 1.8rem;
  }

  .desktop-only {
    display: none !important;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 0 40px;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid #f5f5f5;
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-blue-dark);
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding: 0 0 20px 20px;
    display: none;
    background: white;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown-trigger.menu-open .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    font-size: 1rem;
    font-weight: 400;
    padding: 10px 0;
  }

  @media (max-width: 600px) {
    .nav-menu-wrapper.active {
      grid-template-columns: 10% 90%;
      background: transparent;
    }
    .mobile-menu-left {
      display: none;
    }
    .mobile-promo-content {
      display: none;
    }
    .mobile-menu-left::after {
      content: "\f060";
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      color: white;
      border: 1px solid white;
      border-radius: 50%;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: absolute;
      bottom: 20px;
    }
  }
  .nav-icons i {
    font-size: 1rem;
  }
  .nav-links a {
    font-size: 1rem;
  }
  .dropdown-menu li a {
    font-size: 0.8rem;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (min-width: 993px) {
  .mobile-menu-left,
  .mobile-inner-header {
    display: none !important;
  }

  .mobile-menu-right {
    display: flex;
    flex-direction: row-reverse;
    gap: 100px;
  }
}

@media (max-width: 1025px) {
  .nav-menu-wrapper.active {
    display: flex;
    justify-content: end;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    background: transparent;
  }

  .mobile-close-btn {
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #1a0b52;
  }

  .mobile-menu-right {
    background: white;
    height: 100vh;
    width: 70vw;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }
}

/* =========================================
   POPUPS (LOGIN & CARRINHO) - ESTILO VISUAL
========================================= */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.modal-title {
  font-size: 2rem;
  color: var(--color-blue-dark);
  font-weight: 800;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--color-blue-dark);
  cursor: pointer;
}

.login-box {
  background: white;
  width: 90%;
  max-width: 800px;
  padding: 40px 50px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: relative;
}

.login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-blue-dark);
  font-weight: 500;
}

.input-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
}

.login-middle-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.recaptcha-placeholder {
  border: 1px solid #ddd;
  background: #f9f9f9;
  padding: 10px 15px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 200px;
  color: #555;
  font-size: 0.8rem;
}

.login-btn-area {
  text-align: right;
}

.forgot-pass {
  display: block;
  color: var(--color-blue-dark);
  text-decoration: underline;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.btn-login {
  background-color: var(--color-blue-dark);
  color: white;
  padding: 12px 40px;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

.login-divider {
  height: 1px;
  background-color: #ddd;
  margin-bottom: 30px;
}

.login-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-text h3 {
  color: var(--color-blue-dark);
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.footer-text p {
  font-size: 0.9rem;
  color: #555;
  max-width: 400px;
}

.btn-register {
  background: transparent;
  border: 2px solid var(--color-blue-dark);
  color: var(--color-blue-dark);
  padding: 10px 30px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s;
}
.btn-register:hover {
  background: var(--color-blue-dark);
  color: white;
}

.cart-overlay-wrapper {
  justify-content: flex-end;
}

.cart-sidebar {
  background: white;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  padding: 30px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-overlay.active .cart-sidebar {
  transform: translateX(0);
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding-right: 10px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.cart-img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.cart-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cart-info {
  flex: 1;
}

.cart-info h4 {
  color: var(--color-blue-dark);
  font-size: 0.95rem;
  line-height: 1.2;
  margin-bottom: 5px;
}

.cart-desc {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 5px;
}

.cart-price {
  color: var(--color-blue-dark);
  font-weight: 800;
  font-size: 1.1rem;
}

.cart-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--color-blue-dark);
  border-radius: 16px;
  padding: 5px 10px;
  min-width: 100px;
}

.cart-qty button {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  color: var(--color-blue-dark);
  font-weight: 700;
  cursor: pointer;
}

.cart-qty span {
  font-weight: 700;
  color: var(--color-blue-dark);
}

.cart-footer-area {
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  color: var(--color-blue-dark);
  font-size: 1.2rem;
}
.cart-total-row .total-price {
  font-weight: 800;
}

.cart-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.btn-checkout {
  background-color: var(--color-blue-dark);
  color: white;
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .login-grid {
    grid-template-columns: 1fr;
  }
  .login-footer {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .login-box {
    padding: 20px;
    width: 95%;
  }
  .cart-sidebar {
    width: 100%;
  }
}
