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

:root {
  

  --primary-blue: #1b4b8b;
  --dark-blue: #0f2d5a;
  --purple: #4a1a6f;
  --gold: #dba11d;
  --green: #1a934f;
  --orange: #ec9400;
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #f5f5f5;
  --border-color: #ddd;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #fff;
}

/* ===== FORM INPUT VISIBILITY (FIX) ===== */
input, textarea, select {
  color: #111;
  background-color: #fff;
}
input::placeholder, textarea::placeholder {
  color: #777;
}

/* ===== DOAÇÃO: labels visíveis no fundo branco ===== */
#lead-section #mc_embed_shell,
#lead-section #mc-embedded-subscribe-form {
  color: #111;
}
#lead-section #mc-embedded-subscribe-form label {
  color: #111;
}
#lead-section #mc-embedded-subscribe-form input {
  color: #111;
  background: #fff;
}

/* ===== HEADER TOP ===== */
.header-top {
  background: #000;
  color: white;
  padding: 8px 0;
  font-size: 12px;
  text-align: center;
}

.header-top a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  display: inline-block;
}

.header-top a:hover {
  color: var(--gold);
}

/* ===== HEADER ===== */
header {
  background: var(--primary-blue);
  color: white;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.logo img {
  height: 70px;
  width: auto;
}

.logo-text h2 {
  font-size: 16px;
  font-weight: bold;
  color: white;
}

.logo-text p {
  font-size: 11px;
  color: rgba(255,255,255,0.8);
}

nav {
  flex: 2;
  display: flex;
  justify-content: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

nav a:hover {
  color: var(--gold);
}

.cta-button {
  background: var(--gold);
  color: var(--primary-blue);
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
  display: inline-block;
  white-space: nowrap;
}

.cta-button:hover {
  background: #c99015;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  padding: 10px;
}

/* ===== CAROUSEL ===== */
.carousel {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple) 0%, #2a0f4f 100%);
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-content {
  text-align: center;
  color: white;
  z-index: 2;
  padding: 40px;
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
  max-width: 600px;
}

.carousel-label {
  font-size: 14px;
  color: var(--gold);
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.carousel-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  font-weight: bold;
}

.carousel-content p {
  font-size: 18px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  margin-bottom: 25px;
  line-height: 1.6;
}

.carousel-btn {
  background: var(--gold);
  color: var(--primary-blue);
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
  display: inline-block;
}

.carousel-btn:hover {
  background: #c99015;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 30px;
  padding: 15px 20px;
  cursor: pointer;
  z-index: 3;
  transition: background 0.3s;
}

.carousel-arrow:hover {
  background: rgba(0,0,0,0.8);
}

.carousel-arrow.prev {
  left: 20px;
}

.carousel-arrow.next {
  right: 20px;
}

.carousel-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dot.active {
  background: var(--gold);
}

/* ===== SECTIONS ===== */
section {
  padding: 60px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-label {
  text-align: center;
  color: var(--gold);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-title {
  text-align: center;
  font-size: 36px;
  color: var(--primary-blue);
  margin-bottom: 15px;
  font-weight: bold;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 40px;
  line-height: 1.8;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-light);
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 16px;
  font-weight: bold;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.product-info p {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.product-btn {
  width: 100%;
  padding: 12px;
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 14px;
}

.product-btn:hover:not(:disabled) {
  background: var(--dark-blue);
}

.product-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

input, textarea, select {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 5px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary-blue);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-button {
  width: 100%;
  padding: 15px;
  background: var(--gold);
  color: var(--primary-blue);
  border: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.form-button:hover:not(:disabled) {
  background: #c99015;
}

.form-button:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary-blue);
  color: white;
  padding: 40px 20px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h4 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--gold);
}

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

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

/* ===== UTILITIES ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .carousel-content h2 {
    font-size: 36px;
  }

  .carousel-content p {
    font-size: 16px;
  }

  section {
    padding: 40px 15px;
  }

  .section-title {
    font-size: 28px;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }

  nav ul {
    gap: 15px;
  }

  nav a {
    font-size: 12px;
  }
}

/* Mobile (320px - 767px) */
@media (max-width: 767px) {
  /* Header Mobile */
  .header-container {
    flex-wrap: wrap;
  }

  .logo {
    flex: 1;
    min-width: 200px;
  }

  .logo img {
    height: 50px;
  }

  .logo-text h2 {
    font-size: 13px;
  }

  .logo-text p {
    font-size: 9px;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-blue);
    width: 100%;
    z-index: 999;
    flex: 1 1 100%;
  }

  nav.active {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 20px 0;
  }

  nav a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  /* Carousel Mobile */
  .carousel {
    height: 300px;
  }

  .carousel-content {
    padding: 20px;
  }

  .carousel-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .carousel-label {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .carousel-content p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .carousel-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .carousel-arrow {
    padding: 10px 15px;
    font-size: 20px;
  }

  .carousel-arrow.prev {
    left: 10px;
  }

  .carousel-arrow.next {
    right: 10px;
  }

  .carousel-controls {
    bottom: 15px;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
  }

  /* Sections Mobile */
  section {
    padding: 30px 15px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 14px;
    margin-bottom: 25px;
  }

  /* Products Grid Mobile */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .product-image {
    height: 150px;
  }

  .product-info {
    padding: 15px;
  }

  .product-info h3 {
    font-size: 14px;
  }

  .product-info p {
    font-size: 12px;
  }

  .product-btn {
    padding: 10px;
    font-size: 12px;
  }

  /* Forms Mobile */
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  input, textarea, select {
    padding: 10px;
    font-size: 16px;
  }

  label {
    font-size: 14px;
  }

  .form-button {
    padding: 12px;
    font-size: 14px;
  }

  /* Footer Mobile */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-section h4 {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .footer-section a {
    font-size: 12px;
  }

  .footer-bottom {
    font-size: 11px;
  }

  .header-top {
    font-size: 10px;
  }

  .header-top a {
    margin: 0 5px;
  }
}

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .carousel {
    height: 250px;
  }

  .carousel-content h2 {
    font-size: 20px;
  }

  .carousel-content p {
    font-size: 12px;
  }

  .section-title {
    font-size: 20px;
  }

  .product-image {
    height: 120px;
  }

  .form-button {
    padding: 10px;
    font-size: 13px;
  }
}

/* ===== PRE-CHECKOUT (DESKTOP IMAGE FIT) ===== */
@media (min-width: 768px) {
  .precheckout-main-image {
    height: auto !important;
    max-height: 360px;
    object-fit: contain !important;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
