/* ===========================
   ROMA - Soluções Personalizadas
   CSS com animações fluidas
   =========================== */

/* === VARIÁVEIS === */
:root {
  --azul-marinho: #1F2E45;
  --dourado-claro: #D4B68A;
  --dourado-medio: #B99663;
  --dourado-escuro: #8C6A3C;
  --preto: #000000;
  --branco: #FFFFFF;
  
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  
  --transition: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 4px 24px rgba(31, 46, 69, 0.08);
  --shadow-hover: 0 8px 32px rgba(31, 46, 69, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--azul-marinho);
  background: var(--branco);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* === KEYFRAMES === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shine {
  0%, 100% {
    opacity: 1;
    transform: translateX(0);
  }
  50% {
    opacity: 0.7;
    transform: translateX(2px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
  }
}

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

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUnderline {
  0%, 100% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
}

/* === UTILITÁRIOS === */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--dourado-medio);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--azul-marinho);
  opacity: 0.7;
  text-align: center;
  margin-bottom: 3rem;
}

/* Reveal Animation - Disabled */
.reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Botões */
.btn-primary {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(135deg, var(--dourado-medio), var(--dourado-escuro));
  color: var(--branco);
  font-weight: 600;
  font-size: 0.938rem;
  border-radius: 4px;
  transition: all 0.3s var(--transition);
  box-shadow: var(--shadow-soft);
}

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

.btn-large {
  padding: 16px 40px;
  font-size: 1.063rem;
  margin-top: 1rem;
}

.btn-outline {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid var(--dourado-medio);
  color: var(--dourado-escuro);
  font-weight: 600;
  font-size: 0.938rem;
  border-radius: 4px;
  transition: all 0.3s var(--transition);
}

.btn-outline:hover {
  background: var(--dourado-medio);
  color: var(--branco);
  transform: translateY(-2px);
}

/* Tags e Pills */
.tag, .pill {
  display: inline-block;
  padding: 4px 12px;
  background: var(--dourado-claro);
  color: var(--azul-marinho);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #F5F5F5;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  transition: all 0.3s var(--transition);
  overflow: visible;
}

.header-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem;
  flex-direction: row;
  position: relative;
  min-height: 100px;
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  left: 2rem;
  margin-right: 0;
  margin-left: 0;
  z-index: 10;
  max-width: 300px;
}

.logo {
  height: 84px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.logo-subtitle {
  font-size: 0.688rem;
  color: var(--dourado-claro);
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 4px;
  text-align: right;
  white-space: nowrap;
}

/* Navigation */
.nav {
  flex: 1;
  margin-left: 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}

.nav-list .dropdown-wrapper {
  margin-left: auto;
}

.nav-link {
  position: relative;
  color: var(--azul-marinho);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s var(--transition);
  padding: 4px 0;
}

.nav-link.btn-primary {
  color: var(--branco);
  background: linear-gradient(135deg, var(--dourado-claro), var(--dourado-escuro));
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-link.btn-primary:hover {
  background: linear-gradient(135deg, var(--dourado-medio), var(--dourado-escuro));
  color: var(--branco);
}

.nav-link.btn-primary::after {
  display: none;
}

.nav-link:not(.btn-primary)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--dourado-medio);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--transition);
}

.nav-link:not(.btn-primary):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

/* Dropdown */
.dropdown-wrapper {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
}

.dropdown-toggle svg {
  transition: transform 0.3s var(--transition);
}

.dropdown-wrapper.active .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--branco);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  list-style: none;
  padding: 0.5rem 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s var(--transition);
  z-index: 1000;
}

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

.dropdown-menu li {
  margin: 0;
}

.dropdown-title {
  display: block;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--dourado-medio);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #E0E0E0;
  margin-bottom: 0.25rem;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--azul-marinho);
  font-size: 0.938rem;
  transition: all 0.2s var(--transition);
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: var(--cinza-claro);
  color: var(--dourado-medio);
}

.dropdown-menu .dropdown-orcamento {
  border-top: 1px solid #E0E0E0;
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  font-weight: 600;
  color: var(--dourado-medio);
}

.nav-toggle span {
  width: 28px;
  height: 3px;
  background: var(--azul-marinho);
  border-radius: 2px;
  transition: all 0.3s var(--transition);
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 64px;
  height: 64px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  animation: pulse 2s infinite;
  transition: transform 0.3s var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  animation: none;
}

/* === HERO SLIDESHOW === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  margin-top: 80px;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s var(--transition);
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: all;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--branco);
  z-index: 10;
  width: 90%;
  max-width: 900px;
  padding: 2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--dourado-claro);
  margin-bottom: 1.5rem;
  line-height: 1.3;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.roma-highlight {
  color: var(--dourado-claro);
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.shine-letter {
  display: inline-block;
  animation: shine 3s ease-in-out infinite;
  position: relative;
  color: var(--dourado-claro);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 2rem;
  opacity: 0.95;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  font-weight: 400;
  line-height: 1.6;
}

/* Hero Controls */
.hero-controls {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 20;
}

.hero-prev,
.hero-next {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--branco);
  font-size: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--transition);
  cursor: pointer;
}

.hero-prev:hover,
.hero-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.hero-bullets {
  display: flex;
  gap: 12px;
}

.hero-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s var(--transition);
}

.hero-bullet.active {
  background: var(--dourado-claro);
  transform: scale(1.3);
}

/* === MARQUEE === */
.marquee-wrapper {
  background: var(--azul-marinho);
  color: var(--branco);
  padding: 1.5rem 0;
  overflow: hidden;
}

.marquee {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: flex;
  gap: 4rem;
  animation: marquee 60s linear infinite;
  will-change: transform;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.marquee:hover .marquee-content {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-weight: 600;
  font-size: 1.063rem;
  letter-spacing: 0.5px;
  flex: 0 0 auto;
}

.marquee-icon {
  font-size: 1.5rem;
}

/* === CAROUSEL SECTION === */
.carousel-section {
  padding: 6rem 0;
  background: #F8F9FA;
}

.carousel-wrapper {
  position: relative;
  margin-top: 3rem;
}

.carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 1rem 0;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 340px;
  background: var(--branco);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s var(--transition);
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.product-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.product-info {
  padding: 1.5rem;
}

.product-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--dourado-claro);
  color: var(--azul-marinho);
  font-size: 0.688rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.product-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dourado-medio);
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dourado-escuro);
}

.product-price-label {
  font-size: 0.813rem;
  color: var(--azul-marinho);
  opacity: 0.6;
  display: block;
  margin-bottom: 4px;
}

/* Carousel Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: var(--branco);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  color: var(--azul-marinho);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: all 0.3s var(--transition);
  z-index: 10;
}

.carousel-btn:hover {
  background: var(--dourado-medio);
  color: var(--branco);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: -24px;
}

.carousel-next {
  right: -24px;
}

/* === PROCESS SECTION === */
.process-section {
  padding: 6rem 0;
  background: var(--branco);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-card {
  text-align: center;
  padding: 2.25rem;
  background: #F8F9FA;
  border-radius: 12px;
  transition: all 0.4s var(--transition);
  border: 2px solid transparent;
}

.process-card:hover {
  border-color: var(--dourado-medio);
  transform: translateY(-8px);
}

.process-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--dourado-claro), var(--dourado-medio));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--branco);
  animation: float 3s ease-in-out infinite;
}

.process-card:nth-child(2) .process-icon {
  animation-delay: 0.5s;
}

.process-card:nth-child(3) .process-icon {
  animation-delay: 1s;
}

.process-card:nth-child(4) .process-icon {
  animation-delay: 1.5s;
}

.process-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dourado-medio);
  margin-bottom: 0.75rem;
}

.process-description {
  font-size: 0.938rem;
  color: var(--azul-marinho);
  opacity: 0.7;
  line-height: 1.6;
}

/* === BESTSELLERS === */
.bestsellers-section {
  padding: 6rem 0;
  background: #F8F9FA;
}

.bestsellers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.bestseller-card {
  position: relative;
  background: var(--branco);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.4s var(--transition);
  display: block;
  text-decoration: none;
  color: inherit;
  opacity: 1;
  transform: translateY(0);
}

.bestseller-card.hidden {
  display: none !important;
  opacity: 0;
}

.bestseller-card:not(.hidden):hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--shadow-hover);
}

.bestseller-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
}

.bestseller-image {
  width: 100%;
  height: 320px;
  object-fit: contain;
  background: #ffffff;
}

.bestseller-info {
  padding: 1.5rem;
}

.bestseller-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dourado-medio);
  margin-bottom: 0.75rem;
}

.bestseller-price {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--dourado-escuro);
  margin-bottom: 0.25rem;
}

/* === HISTORY SECTION === */
.history-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #F8F9FA 0%, var(--branco) 100%);
}

.history-content {
  max-width: 900px;
  margin: 0 auto 4rem;
  text-align: center;
}

.history-exact {
  color: var(--azul-marinho);
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.8;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.history-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--dourado-medio);
  margin-bottom: 2rem;
  text-align: center;
}

.history-subtitle {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--dourado-medio);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.history-exact p {
  margin-bottom: 1.5rem;
  color: var(--azul-marinho);
}

.history-values {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.history-values li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--azul-marinho);
}

.history-values li::before {
  content: "-";
  position: absolute;
  left: 0;
  font-weight: 700;
}

.history-intro {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--azul-marinho);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.history-highlight {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: var(--dourado-escuro);
  opacity: 1;
  padding: 2rem;
  background: var(--branco);
  border-radius: 16px;
  border-left: 4px solid var(--dourado-medio);
  box-shadow: var(--shadow-soft);
  margin-top: 2rem;
}

.mission-vision-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.mvv-card {
  background: var(--branco);
  padding: 2.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s var(--transition);
  border: 2px solid transparent;
}

.mvv-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--dourado-claro);
}

.mvv-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--dourado-claro), var(--dourado-medio));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--branco);
  animation: float 3s ease-in-out infinite;
}

.mvv-card:nth-child(2) .mvv-icon {
  animation-delay: 0.5s;
}

.mvv-card:nth-child(3) .mvv-icon {
  animation-delay: 1s;
}

.mvv-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dourado-medio);
  margin-bottom: 1rem;
}

.mvv-description {
  font-size: 1rem;
  color: var(--azul-marinho);
  opacity: 0.8;
  line-height: 1.7;
}

.values-list {
  list-style: none;
  text-align: left;
  padding: 0;
  margin-top: 1rem;
}

.values-list li {
  font-size: 1rem;
  color: var(--azul-marinho);
  opacity: 0.8;
  line-height: 1.8;
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.values-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--dourado-medio);
  font-weight: 700;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .history-highlight {
    padding: 1.5rem;
  }
  
  .mission-vision-values {
    grid-template-columns: 1fr;
  }
  
  .mvv-card {
    padding: 2rem;
  }
}

/* === PORTFOLIO === */
.portfolio-section {
  padding: 6rem 0;
  background: var(--branco);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0 3rem;
}

.filter-btn {
  padding: 10px 24px;
  background: transparent;
  border: 2px solid var(--dourado-medio);
  color: var(--dourado-escuro);
  font-weight: 600;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--dourado-medio);
  color: var(--branco);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.portfolio-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s var(--transition);
}

.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-item {
  background: #ffffff;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  transition: transform 0.5s var(--transition);
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(31, 46, 69, 0.95), transparent);
  color: var(--branco);
  transform: translateY(100%);
  transition: transform 0.4s var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-overlay h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.portfolio-overlay p {
  font-size: 0.938rem;
  opacity: 0.9;
}

/* === TESTIMONIALS === */
.testimonials-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--azul-marinho) 0%, #2A3F5F 100%);
  color: var(--branco);
}

.testimonials-section .section-title,
.testimonials-section .section-subtitle {
  color: var(--branco);
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 3rem auto 2rem;
  overflow: hidden;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  display: none;
}

.testimonial-card.active {
  display: block;
  animation: fadeIn 0.6s var(--transition);
}

.testimonial-stars {
  color: var(--dourado-claro);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 4px;
}

.testimonial-text {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
  opacity: 0.95;
}

.testimonial-author strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.testimonial-author span {
  font-size: 0.938rem;
  opacity: 0.8;
}

.testimonials-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--branco);
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s var(--transition);
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* === CTA SECTION === */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--azul-marinho) 0%, rgba(180, 150, 106, 0.2) 100%);
}

.cta-content {
  max-width: 1000px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--branco);
  text-align: center;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.125rem;
  color: var(--branco);
  opacity: 0.9;
  text-align: center;
  margin-bottom: 3rem;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.cta-whatsapp {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
}

.cta-whatsapp h3 {
  color: var(--branco);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.cta-whatsapp .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.cta-info {
  color: var(--branco);
  opacity: 0.8;
  font-size: 0.938rem;
}

.cta-form {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
}

.cta-form h3 {
  color: var(--dourado-medio);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
  width: 100%;
}

.cta-form input,
.cta-form select,
.cta-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E0E0E0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.938rem;
  transition: border-color 0.3s var(--transition);
}

.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
  outline: none;
  border-color: var(--dourado-medio);
}

.cta-form textarea {
  resize: vertical;
  min-height: 100px;
}

.cta-form button[type="submit"] {
  width: 100%;
  margin-top: 1rem;
}

.form-success {
  display: none;
  padding: 1rem;
  background: #4CAF50;
  color: var(--branco);
  border-radius: 4px;
  text-align: center;
  margin-top: 1rem;
  animation: fadeIn 0.5s var(--transition);
}

.form-success.show {
  display: block;
}

/* === FOOTER === */
.footer {
  background: var(--azul-marinho);
  color: var(--branco);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.813rem;
  color: var(--dourado-claro);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-description {
  font-size: 0.938rem;
  opacity: 0.8;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--dourado-claro);
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--branco);
  opacity: 0.8;
  font-size: 0.938rem;
  transition: all 0.3s var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--dourado-claro);
  transform: translateX(4px);
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  font-size: 0.938rem;
  opacity: 0.8;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--transition);
}

.footer-social a:hover {
  background: var(--dourado-medio);
  transform: translateY(-4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-badges {
  display: flex;
  gap: 1rem;
}

.badge {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 0.813rem;
}

.footer-copyright {
  font-size: 0.875rem;
  opacity: 0.7;
}

/* === LIGHTBOX === */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
  animation: fadeIn 0.3s var(--transition);
}

.lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--branco);
  font-size: 2rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--branco);
  font-size: 2rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s var(--transition);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .header-content {
    flex-direction: row;
    justify-content: center;
    position: relative;
  }
  
  .logo-wrapper {
    order: 2;
    margin-left: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .nav {
    order: 1;
    margin-right: auto;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #F5F5F5;
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 2.5rem 2rem;
    gap: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s var(--transition);
    align-items: center;
    text-align: center;
  }
  
  .nav-list li {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .nav-list li .nav-link {
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    padding: 0.75rem 1.5rem;
  }

  .nav-list .dropdown-wrapper {
    margin-left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .nav-list .dropdown-wrapper .nav-link {
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    padding: 0.875rem 2rem;
  }
  
  .nav.active .nav-list {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .dropdown-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 0.75rem;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0;
    gap: 0.5rem;
  }
  
  .dropdown-menu li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .dropdown-menu a {
    color: var(--azul-marinho);
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 1rem;
    padding: 0.625rem 1rem;
  }
  
  .hero {
    min-height: 500px;
  }
  
  .hero-controls {
    bottom: 16px;
    gap: 16px;
  }
  
  .hero-prev,
  .hero-next {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .carousel-btn {
    display: none;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
  }
  
  .bestsellers-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo {
    margin: 0 auto 0.5rem;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 1rem;
  }
  
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 56px;
    height: 56px;
  }
  
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .lightbox-prev {
    left: 8px;
  }
  
  .lightbox-next {
    right: 8px;
  }
}

/* === PREFERS REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .marquee-content {
    animation: none;
  }
  
  .whatsapp-float {
    animation: none;
  }
  
  .process-icon {
    animation: none;
  }
  
  .shine-letter {
    animation: none;
  }
}

/* === PRODUCT DETAIL PAGE === */
.product-detail-section {
  padding: 4rem 0;
}

.product-detail-card {
  --product-card-bg: linear-gradient(135deg, #f5f7fb 0%, #ffffff 70%);
  background: var(--product-card-bg);
  border-radius: 24px;
  box-shadow: 0 35px 80px rgba(15, 23, 42, 0.16);
  padding: clamp(2rem, 5vw, 3.75rem);
  overflow: visible;
  max-width: 100%;
  box-sizing: border-box;
  transition: background 0.35s var(--transition), box-shadow 0.35s var(--transition);
}

.product-detail-card .product-detail-grid {
  margin-top: 0;
  gap: clamp(2rem, 6vw, 4rem);
}

@media (max-width: 768px) {
  .product-detail-card {
    border-radius: 18px;
    padding: clamp(1.5rem, 6vw, 2.5rem);
  }
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
  align-items: start;
  width: 100%;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-main-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  transition: background 0.35s var(--transition);
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.product-thumbnails-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-thumbnails {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.5rem 0;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex: 1;
  -ms-overflow-style: none;
}

.product-thumbnails::-webkit-scrollbar {
  display: none;
}

.product-thumbnail {
  flex: 0 0 100px;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s var(--transition);
  opacity: 0.7;
  background: none;
  padding: 0;
  display: block;
}

.product-thumbnail:hover,
.product-thumbnail.active {
  opacity: 1;
  border-color: var(--dourado-medio);
  transform: scale(1.05);
}

.product-thumbnail {
  background: #ffffff;
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

/* Botões de navegação do carrossel de thumbnails */
.product-thumbnails-btn {
  position: relative;
  width: 36px;
  height: 36px;
  background: var(--branco);
  border: 2px solid var(--dourado-medio);
  border-radius: 50%;
  color: var(--dourado-medio);
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--transition);
  flex-shrink: 0;
  opacity: 1;
  z-index: 2;
}

.product-thumbnails-btn:hover:not(:disabled) {
  background: var(--dourado-medio);
  color: var(--branco);
  transform: scale(1.1);
  box-shadow: var(--shadow-soft);
}

.product-thumbnails-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.product-thumbnails-prev {
  order: -1;
}

.product-thumbnails-next {
  order: 1;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
  .product-thumbnails-wrapper {
    gap: 0.25rem;
  }
  
  .product-thumbnails-btn {
    width: 32px;
    height: 32px;
    font-size: 1.25rem;
  }
  
  .product-thumbnails {
    gap: 0.75rem;
  }
}

.product-info-detail {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-height: none;
  overflow: visible;
  width: 100%;
}

.product-color-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

/* Tecidos (linhas) - maiores que as caixas de cor */
.product-fabric-preview {
  width: 100%;
  aspect-ratio: 1.5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  margin-bottom: 1rem;
  max-height: 250px;
}

.product-fabric-preview-label {
  padding: 0.75rem 1rem;
  background: var(--dourado-claro);
  color: var(--azul-marinho);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-fabric-preview-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.product-fabric-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.product-fabric-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0;
  width: 100%;
}

.product-fabric-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--azul-marinho);
  opacity: 0.7;
  margin-bottom: 0.25rem;
}

.fabric-picker {
  display: flex;
  gap: 1rem;
  flex-wrap: nowrap;
  align-items: flex-start;
  overflow-x: auto;
  padding: 0.5rem 0;
  width: 100%;
}

.fabric-swatch {
  position: relative;
  flex: 0 0 100px;
  min-width: 100px;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s var(--transition);
  opacity: 0.7;
  background: #ffffff;
  padding: 0;
  display: block;
  flex-shrink: 0;
}

.fabric-swatch img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.fabric-swatch:hover,
.fabric-swatch.is-active {
  opacity: 1;
  border-color: var(--dourado-medio);
  transform: scale(1.05);
}

/* Mini carrossel dentro do fabric-swatch */
.fabric-swatch-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.fabric-swatch-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.fabric-swatch-carousel-item {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-width: 0;
}

.fabric-swatch-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fabric-swatch-controls {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  opacity: 1;
  pointer-events: none;
  z-index: 30;
  box-sizing: border-box;
}

.fabric-swatch-btn {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--branco);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--transition);
  z-index: 35;
  pointer-events: all !important;
  position: absolute;
  margin: 0;
  padding: 0;
  line-height: 1;
  opacity: 0.9;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  user-select: none;
  -webkit-user-select: none;
}

.fabric-swatch-prev {
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
}

.fabric-swatch-next {
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
}

.fabric-swatch-btn:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.95);
  transform: translateY(-50%) scale(1.2);
  opacity: 1;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.fabric-swatch-prev:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.2);
}

.fabric-swatch-next:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.2);
}

.fabric-swatch-btn:disabled {
  opacity: 0.2;
  cursor: not-allowed;
  background: rgba(0, 0, 0, 0.3);
}

.fabric-swatch-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: var(--branco);
  font-size: 0.5rem;
  font-weight: 600;
  text-align: center;
  padding: 0.25rem 0.125rem 0.125rem;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  z-index: 4;
  pointer-events: none;
  line-height: 1.1;
}

.fabric-swatch:not([data-fabric-line]) .fabric-swatch-label {
  padding: 0.375rem 0.125rem 0.125rem;
}

.fabric-swatch-label-inline {
  position: absolute;
  top: 0.25rem;
  left: 0.25rem;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  color: var(--branco);
  font-size: 0.5rem;
  font-weight: 600;
  text-align: center;
  padding: 0.125rem 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-radius: 3px;
  z-index: 6;
  pointer-events: none;
  line-height: 1.1;
  max-width: calc(100% - 0.5rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fabric-swatch-indicators {
  position: absolute;
  bottom: 0.375rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.2rem;
  z-index: 12;
  pointer-events: all;
}

.fabric-swatch-indicator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--transition);
  padding: 0;
}

.fabric-swatch-indicator.active {
  background: var(--dourado-claro);
  width: 10px;
  border-radius: 2px;
}

.product-options-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px 12px;
  margin-top: 0.5rem;
  width: 100%;
}

.product-options-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--azul-marinho);
}

.product-color-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--azul-marinho);
  opacity: 0.7;
}

.product-color-picker {
  display: flex;
  gap: 0.75rem;
}

.product-color-swatch {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--branco);
  border: 2px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
  transition: transform 0.25s var(--transition), box-shadow 0.25s var(--transition), border-color 0.25s var(--transition);
  position: relative;
  overflow: hidden;
}

.product-color-swatch::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 8px;
  background: var(--swatch-color, #1f2933);
}

.product-color-swatch:is(:hover, :focus-visible) {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.18);
  border-color: rgba(15, 23, 42, 0.2);
}

.product-color-swatch.is-active {
  border-color: var(--dourado-medio);
  box-shadow: 0 18px 32px rgba(192, 148, 79, 0.28);
}

.product-color-picker:focus-within .product-color-swatch.is-active {
  outline: 2px solid var(--dourado-medio);
  outline-offset: 2px;
}

.product-category {
  font-size: 0.875rem;
  color: var(--dourado-escuro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
}

.product-title-detail {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--dourado-medio);
  margin: 0;
}

.product-company-name {
  font-size: 1rem;
  color: var(--azul-marinho);
  opacity: 0.8;
  width: 100%;
}

.product-price-detail {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.product-price-label {
  font-size: 0.875rem;
  color: var(--azul-marinho);
  opacity: 0.6;
}

.product-price-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dourado-escuro);
}

.product-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--dourado-claro);
  color: var(--azul-marinho);
  font-size: 0.813rem;
  font-weight: 600;
  border-radius: 20px;
  margin-right: 0.5rem;
}

.product-description,
.product-specifications,
.product-personalization {
  padding-top: 1.5rem;
  border-top: 1px solid #E0E0E0;
  width: 100%;
}

.product-description h3,
.product-specifications h3,
.product-personalization h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dourado-medio);
  margin-bottom: 0.75rem;
}

.product-description p,
.product-specifications p,
.product-personalization p {
  font-size: 1rem;
  color: var(--azul-marinho);
  opacity: 0.8;
  line-height: 1.7;
}

.product-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  width: 100%;
}

/* === PRODUCT SIZE SELECT === */
.product-info-detail select[name="size"],
.product-detail-card select[name="size"] {
  width: 100%;
  padding: 14px 18px;
  background: var(--branco);
  border: 2px solid var(--dourado-medio);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--azul-marinho);
  cursor: pointer;
  transition: all 0.3s var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23B99663' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px;
  padding-right: 45px;
  box-shadow: 0 2px 8px rgba(192, 148, 79, 0.1);
}

.product-info-detail select[name="size"]:hover,
.product-detail-card select[name="size"]:hover {
  border-color: var(--dourado-escuro);
  box-shadow: 0 4px 12px rgba(192, 148, 79, 0.2);
  transform: translateY(-1px);
}

.product-info-detail select[name="size"]:focus,
.product-detail-card select[name="size"]:focus {
  outline: none;
  border-color: var(--dourado-medio);
  box-shadow: 0 0 0 3px rgba(192, 148, 79, 0.15), 0 4px 12px rgba(192, 148, 79, 0.2);
}

.product-info-detail select[name="size"] option,
.product-detail-card select[name="size"] option {
  padding: 12px;
  background: var(--branco);
  color: var(--azul-marinho);
  font-weight: 500;
}

.product-info-detail select[name="size"] option:first-child,
.product-detail-card select[name="size"] option:first-child {
  color: rgba(31, 46, 69, 0.5);
  font-weight: 400;
}

@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .product-actions {
    flex-direction: column;
  }
  
  .product-actions .btn-primary,
  .product-actions .btn-outline {
    width: 100%;
  }
  
  .product-info-detail select[name="size"],
  .product-detail-card select[name="size"] {
    padding: 12px 16px;
    padding-right: 40px;
    font-size: 0.938rem;
  }
  
  .fabric-picker {
    gap: 0.5rem;
  }
  
  .product-fabric-options {
    gap: 0.5rem;
  }
  
  .product-info-detail {
    gap: 1.25rem;
  }
}

/* === PERFORMANCE OPTIMIZATION === */
.hero-slide img,
.product-image,
.bestseller-image,
.portfolio-item img {
  content-visibility: auto;
}
