@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&display=swap");

/* =========================================================
   MEGARIA — CSS GRIFE CLEAN
   Paleta: vermelho escuro + branco
   Substitua todo o conteúdo do seu style.css por este arquivo.
========================================================= */

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

:root {
  --red-deep: #180203;
  --red-dark: #2b0305;
  --red-main: #4d0609;
  --red-soft: #6b090f;
  --white: #ffffff;

  --text: var(--red-deep);
  --text-soft: rgba(24, 2, 3, 0.68);
  --text-muted: rgba(24, 2, 3, 0.48);

  --line: rgba(77, 6, 9, 0.14);
  --line-strong: rgba(77, 6, 9, 0.28);
  --white-line: rgba(255, 255, 255, 0.22);

  --shadow-soft: 0 18px 48px rgba(43, 3, 5, 0.08);
  --shadow-luxury: 0 34px 90px rgba(43, 3, 5, 0.14);

  --font-classic: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --transition: 0.32s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--text);
  font-family: var(--font-classic);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

body::selection {
  background: var(--red-main);
  color: var(--white);
}

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

button,
input,
select,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
}

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

main {
  padding-top: 72px;
}

/* =========================================================
   HEADER
========================================================= */

.header {
  width: 100%;
  height: 72px;
  padding: 0 6%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;

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

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header a {
  color: var(--red-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
}

.header a::after {
  content: "";
  width: 0;
  height: 1px;
  background: var(--red-main);
  position: absolute;
  left: 0;
  bottom: -7px;
  transition: var(--transition);
}

.header a:hover::after,
.header a.active::after {
  width: 100%;
}

.header a:hover,
.header a.active {
  color: var(--red-main);
}

.logo {
  font-size: 23px !important;
  font-weight: 500;
  letter-spacing: 11px !important;
  text-transform: uppercase;
}

/* =========================================================
   BOTÕES E LINKS
========================================================= */

.btn,
.btn-outline,
.btn-outline-dark,
.btn-small,
.btn-small-outline,
.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: var(--transition);
}

.btn,
.btn-small,
.search-btn {
  border: 1px solid var(--red-main);
  background: var(--red-main);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(77, 6, 9, 0.14);
}

.btn {
  padding: 15px 34px;
}

.btn-small {
  min-height: 38px;
  padding: 10px 18px;
  font-size: 11px;
}

.btn:hover,
.btn-small:hover,
.search-btn:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-outline,
.btn-outline-dark,
.btn-small-outline {
  background: transparent;
  border: 1px solid currentColor;
}

.btn-outline {
  color: var(--white);
  padding: 14px 32px;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--red-main);
  transform: translateY(-2px);
}

.btn-outline-dark {
  color: var(--red-main);
  padding: 14px 32px;
}

.btn-outline-dark:hover,
.btn-small-outline:hover {
  background: var(--red-main);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-small-outline {
  min-height: 38px;
  padding: 10px 18px;
  color: var(--red-main);
  font-size: 11px;
}

.text-link,
.product-card a,
.product-info a,
.recommendation-box a,
.mini-product a {
  color: var(--red-main);
  border-bottom: 1px solid var(--red-main);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transition: var(--transition);
}

.text-link:hover,
.product-card a:hover,
.product-info a:hover,
.recommendation-box a:hover,
.mini-product a:hover {
  color: var(--red-deep);
  letter-spacing: 1.8px;
}

/* =========================================================
   HERO / FUNDO DE GRIFE
========================================================= */

.hero,
.about-hero {
  min-height: calc(100vh - 72px);
  position: relative;
  overflow: hidden;
  padding: 110px 8%;

  display: flex;
  align-items: center;
  justify-content: center;
}

.silk-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(107, 9, 15, 0.9), transparent 34%),
    radial-gradient(circle at 82% 70%, rgba(24, 2, 3, 0.92), transparent 42%),
    linear-gradient(135deg, var(--red-deep) 0%, var(--red-dark) 36%, var(--red-main) 62%, var(--red-deep) 100%);
}

.silk-bg::before {
  content: "";
  position: absolute;
  inset: -22%;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.16), transparent 28%),
    radial-gradient(ellipse at 70% 80%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.08) 36%, transparent 58%);
  opacity: 0.74;
  transform: translate3d(calc(var(--moveX, 0) * 1px), calc(var(--moveY, 0) * 1px), 0) scale(1.08);
  animation: coutureGlow 16s ease-in-out infinite alternate;
}

.silk-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, transparent 0%, rgba(24, 2, 3, 0.34) 78%),
    linear-gradient(180deg, rgba(24, 2, 3, 0.04), rgba(24, 2, 3, 0.32));
}

@keyframes coutureGlow {
  from {
    transform: translate(-28px, -18px) scale(1.08);
  }

  to {
    transform: translate(28px, 20px) scale(1.12);
  }
}

.hero-content,
.about-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-align: center;
  color: var(--white);
}

.hero-content span,
.about-content span,
.collection-hero span,
.profile-header span,
.checkout-header span,
.fitting-header span,
.measurements-header span,
.intro span,
.section-title span,
.highlight-text span,
.auth-box span,
.glass-box span,
.product-description span,
.section-card span,
.technology-content span,
.tech-item strong {
  display: inline-block;
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-content h1,
.about-content h1,
.collection-hero h1,
.profile-header h1,
.checkout-header h1,
.fitting-header h1,
.measurements-header h1,
.cart-header h1 {
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.03em;
  margin: 24px 0;
}

.hero-content p,
.about-content p,
.collection-hero p,
.profile-header p,
.checkout-header p,
.fitting-header p,
.measurements-header p,
.cart-header p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.14rem;
  line-height: 1.9;
}

.hero-buttons {
  margin-top: 42px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* =========================================================
   SEÇÕES GERAIS
========================================================= */

.intro,
.collection-preview,
.collection-page,
.product-page,
.auth-page,
.measurements-page,
.fitting-page,
.cart-page,
.checkout-page,
.profile-page,
.about-page {
  background: var(--white);
}

.intro {
  max-width: 980px;
  margin: 0 auto;
  padding: 110px 8% 72px;
  text-align: center;
}

.intro span,
.section-title span,
.highlight-text span,
.auth-box span,
.product-description span,
.section-card span,
.technology-content span,
.tech-item strong,
.glass-box span {
  color: var(--red-main);
}

.intro h2,
.section-title h2,
.highlight-text h2,
.glass-box h2,
.form-section h2,
.upload-panel h2,
.garment-panel h2,
.simulation-panel h2,
.body-shape h2,
.cart-summary h2,
.checkout-summary h2,
.profile-sidebar h2,
.profile-card h2,
.section-card h2,
.technology-content h2 {
  color: var(--red-deep);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.intro h2,
.section-title h2,
.highlight-text h2 {
  margin: 18px 0;
}

.intro p,
.highlight-text p,
.feature-card p,
.product-info-section p,
.ai-info p,
.upload-panel p,
.recommendation-box p,
.description-text,
.auth-box p,
.section-card p,
.technology-content p,
.section-card li,
.ods-card p,
.footer p {
  color: var(--text-soft);
  line-height: 1.85;
}

.section-title {
  margin-bottom: 54px;
}

.center-btn {
  margin: 54px auto 0;
  display: table;
}

/* =========================================================
   CARDS / BLOCO DE DESTAQUE
========================================================= */

.features {
  padding: 38px 8% 112px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card,
.product-card,
.recommendation-box,
.product-info-section article,
.upload-panel,
.garment-panel,
.simulation-panel,
.cart-item,
.cart-summary,
.checkout-form-container,
.checkout-summary,
.profile-sidebar,
.profile-card,
.section-card,
.ods-card,
.ai-info article,
.measurements-container,
.mini-product {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(77, 6, 9, 0.04);
}

.feature-card,
.product-info-section article,
.ai-info article,
.section-card,
.ods-card {
  padding: 42px;
  transition: var(--transition);
}

.feature-card:hover,
.product-card:hover,
.product-info-section article:hover,
.ai-info article:hover,
.section-card:hover,
.ods-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: var(--line-strong);
}

.feature-card h3,
.product-card h3,
.product-info h3,
.recommendation-box h3,
.history-item h3,
.mini-product h3,
.ods-card h4 {
  color: var(--red-deep);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.1;
}

.highlight {
  padding: 112px 8%;
  background:
    linear-gradient(90deg, rgba(77, 6, 9, 0.04), var(--white) 52%),
    var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: center;
}

.fabric-panel {
  min-height: 460px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.12), transparent 28%),
    radial-gradient(circle at 80% 74%, rgba(255, 255, 255, 0.07), transparent 36%),
    linear-gradient(135deg, var(--red-deep), var(--red-main), var(--red-dark));
  box-shadow: var(--shadow-luxury);
}

.fabric-panel::before {
  content: "";
  position: absolute;
  inset: -18%;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255, 255, 255, 0.13), transparent 28%),
    linear-gradient(128deg, transparent 0%, rgba(255, 255, 255, 0.11) 46%, transparent 72%);
  animation: coutureGlow 14s ease-in-out infinite alternate;
}

.highlight-text {
  max-width: 540px;
}

/* =========================================================
   PRODUTOS / COLEÇÃO
========================================================= */

.collection-preview {
  padding: 112px 8%;
}

.product-grid,
.products-grid,
.ods-grid,
.favorite-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

.product-image,
.main-product-image,
.cart-image,
.history-thumb {
  background-size: cover;
  background-position: center;
  background-color: var(--red-dark);
  position: relative;
}

.product-image::after,
.main-product-image::after,
.cart-image::after,
.history-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(77, 6, 9, 0.08), rgba(77, 6, 9, 0.16));
  pointer-events: none;
}

.product-image {
  height: 390px;
}

.product-01 {
  background-image:
    linear-gradient(rgba(77, 6, 9, 0.12), rgba(77, 6, 9, 0.12)),
    url("https://images.unsplash.com/photo-1595777457583-95e059d581b8?q=80&w=900");
}

.product-02 {
  background-image:
    linear-gradient(rgba(77, 6, 9, 0.12), rgba(77, 6, 9, 0.12)),
    url("https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?q=80&w=900");
}

.product-03 {
  background-image:
    linear-gradient(rgba(77, 6, 9, 0.12), rgba(77, 6, 9, 0.12)),
    url("https://images.unsplash.com/photo-1539109136881-3be0616acf4b?q=80&w=900");
}

.product-04 {
  background-image:
    linear-gradient(rgba(77, 6, 9, 0.12), rgba(77, 6, 9, 0.12)),
    url("https://images.unsplash.com/photo-1485968579580-b6d095142e6e?q=80&w=900");
}

.product-card h3,
.product-info h3 {
  margin: 22px 24px 8px;
}

.product-card p,
.product-info p {
  color: var(--red-main);
  margin: 0 24px 20px;
  font-size: 1.05rem;
}

.product-card a {
  display: inline-block;
  margin: 0 24px 28px;
}

.collection-page,
.product-page,
.auth-page,
.measurements-page,
.fitting-page,
.cart-page,
.checkout-page,
.profile-page {
  padding: 128px 8% 90px;
}

.collection-hero,
.profile-header,
.checkout-header,
.fitting-header,
.measurements-header,
.cart-header {
  max-width: 820px;
  margin: 0 auto 72px;
  text-align: center;
}

.collection-hero span,
.profile-header span,
.checkout-header span,
.fitting-header span,
.measurements-header span {
  color: var(--red-main);
}

.collection-hero h1,
.profile-header h1,
.checkout-header h1,
.fitting-header h1,
.measurements-header h1,
.cart-header h1 {
  color: var(--red-deep);
}

.collection-hero p,
.profile-header p,
.checkout-header p,
.fitting-header p,
.measurements-header p,
.cart-header p {
  color: var(--text-soft);
}

.filters-section {
  margin-bottom: 54px;
}

.search-container {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}

.search-input,
.search-container input,
.auth-form input,
.form-group input,
.filters select,
.product-description select,
.garment-panel select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--red-deep);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.search-input:focus,
.search-container input:focus,
.auth-form input:focus,
.form-group input:focus,
.filters select:focus,
.product-description select:focus,
.garment-panel select:focus,
textarea:focus {
  border-color: var(--red-main);
  box-shadow: 0 0 0 4px rgba(77, 6, 9, 0.06);
}

.search-btn {
  padding: 0 28px;
  min-width: 130px;
}

.filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.favorite-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--white-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--red-main);
  font-size: 18px;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  transition: var(--transition);
}

.favorite-btn:hover {
  background: var(--red-main);
  color: var(--white);
}

.product-info {
  padding-bottom: 22px;
}

.product-info span {
  display: block;
  margin: 24px 24px 0;
  color: var(--red-main);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.product-actions {
  display: flex;
  gap: 12px;
  margin: 0 24px 28px;
  flex-wrap: wrap;
}

.product-actions a {
  margin: 0;
  border-bottom: none;
}

/* =========================================================
   BANNERS / VIDRO ESCURO
========================================================= */

.cta-provador,
.virtual-room-banner,
.lgpd-section {
  min-height: 430px;
  margin-top: 104px;
  background:
    linear-gradient(rgba(24, 2, 3, 0.66), rgba(24, 2, 3, 0.72)),
    url("https://images.unsplash.com/photo-1496747611176-843222e1e57c?q=80&w=1200");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-box {
  width: min(610px, 90%);
  padding: 60px;
  background: rgba(24, 2, 3, 0.72);
  backdrop-filter: blur(16px);
  border: 1px solid var(--white-line);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-luxury);
}

.glass-box span,
.glass-box h2 {
  color: var(--white);
}

.glass-box h2 {
  margin: 18px 0;
}

.glass-box p {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.85;
  margin-bottom: 30px;
}

/* =========================================================
   PÁGINA DE PRODUTO
========================================================= */

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: start;
}

.product-gallery {
  width: 100%;
}

.main-product-image {
  height: 640px;
}

.thumbnail-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.thumb {
  height: 132px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: var(--transition);
}

.thumb:hover {
  border-color: var(--red-main);
  transform: translateY(-2px);
}

.product-description h1 {
  color: var(--red-deep);
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 22px 0;
}

.price {
  color: var(--red-main);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 26px;
}

.size-box {
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recommendation-box {
  padding: 30px;
  margin: 30px 0;
}

.recommendation-box h3 {
  margin-bottom: 10px;
}

.recommendation-box a {
  display: inline-block;
  margin-top: 16px;
}

.product-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 32px 0;
}

.favorite-product {
  border: none;
  background: transparent;
  color: var(--red-main);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.product-info-section {
  margin-top: 104px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.product-info-section h2 {
  margin-bottom: 16px;
}

/* =========================================================
   LOGIN / FORMULÁRIOS
========================================================= */

.auth-container {
  min-height: 690px;
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-image {
  min-height: 690px;
  background:
    linear-gradient(rgba(77, 6, 9, 0.18), rgba(77, 6, 9, 0.18)),
    url("https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?q=80&w=900");
  background-size: cover;
  background-position: center;
}

.auth-box {
  padding: 84px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-box h1 {
  color: var(--red-deep);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1;
  margin: 18px 0;
}

.auth-box p {
  margin-bottom: 34px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-form label,
.form-group label {
  color: var(--red-main);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.auth-links {
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--red-main);
  font-size: 13px;
  font-weight: 600;
}

/* =========================================================
   MEDIDAS
========================================================= */

.measurements-container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 56px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.body-shape {
  margin: 42px 0;
}

.body-shape h2 {
  margin-bottom: 20px;
}

.shape-options,
.payment-options {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.shape-options label,
.payment-options label {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--red-deep);
  padding: 14px 18px;
  cursor: pointer;
  transition: var(--transition);
}

.shape-options label:hover,
.payment-options label:hover {
  border-color: var(--red-main);
  box-shadow: var(--shadow-soft);
}

input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--red-main);
}

.privacy-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 34px;
}

.measurements-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.recommendation-preview {
  margin-top: 72px;
  display: flex;
  justify-content: center;
}

.recommended-size {
  color: var(--red-main);
  font-size: 4rem;
  font-weight: 600;
  line-height: 1;
  margin: 20px 0;
}

/* =========================================================
   PROVADOR VIRTUAL
========================================================= */

.fitting-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.upload-panel,
.garment-panel,
.simulation-panel {
  padding: 38px;
}

.upload-panel h2,
.garment-panel h2,
.simulation-panel h2 {
  margin-bottom: 14px;
}

.upload-panel p {
  margin-bottom: 24px;
}

.upload-box {
  min-height: 230px;
  background: var(--white);
  border: 1px dashed var(--red-main);
  color: var(--red-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.upload-box:hover {
  background: var(--red-main);
  color: var(--white);
}

.upload-box span {
  font-size: 3.2rem;
}

.upload-box small {
  color: inherit;
  opacity: 0.82;
}

.preview-box {
  min-height: 250px;
  margin-top: 24px;
  background: rgba(77, 6, 9, 0.03);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.selected-garment {
  min-height: 286px;
  margin-top: 24px;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(135deg, var(--red-deep), var(--red-main));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.simulation-screen {
  min-height: 374px;
  margin-bottom: 24px;
  padding: 24px;
  background: rgba(77, 6, 9, 0.03);
  border: 1px solid var(--line);
  color: var(--text-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition);
}

.simulation-screen.active {
  background:
    linear-gradient(rgba(77, 6, 9, 0.42), rgba(24, 2, 3, 0.52)),
    url("https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?q=80&w=900");
  background-size: cover;
  background-position: center;
  color: var(--white);
  box-shadow: var(--shadow-luxury);
}

.status-text {
  margin-top: 18px;
  color: var(--red-main);
  font-size: 14px;
  font-weight: 600;
}

.ai-info {
  margin-top: 82px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.ai-info h2 {
  margin-bottom: 14px;
}

/* =========================================================
   CARRINHO / CHECKOUT
========================================================= */

.cart-container {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 34px;
}

.cart-item {
  padding: 24px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
}

.cart-image {
  height: 260px;
}

.cart-info h2 {
  color: var(--red-deep);
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.cart-info p {
  color: var(--text-soft);
  margin-bottom: 14px;
}

.cart-info span {
  color: var(--red-main);
  font-weight: 600;
}

.quantity-control {
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.quantity-control button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--red-main);
  background: transparent;
  color: var(--red-main);
  transition: var(--transition);
}

.quantity-control button:hover {
  background: var(--red-main);
  color: var(--white);
}

.remove-btn {
  border: none;
  background: transparent;
  color: var(--red-main);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.cart-summary,
.checkout-summary {
  height: fit-content;
  padding: 36px;
}

.cart-summary h2,
.checkout-summary h2 {
  margin-bottom: 26px;
}

.summary-line,
.summary-item,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  color: var(--text-soft);
}

.summary-line.total,
.summary-total {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--red-deep);
  font-weight: 600;
}

.cart-summary .btn {
  width: 100%;
  margin: 20px 0;
  text-align: center;
}

.checkout-container {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 34px;
}

.checkout-form-container {
  padding: 46px;
}

.form-section {
  margin-bottom: 46px;
}

.form-section h2 {
  margin-bottom: 24px;
}

.checkout-summary {
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.10), transparent 30%),
    linear-gradient(135deg, var(--red-deep), var(--red-main));
  color: var(--white);
  border-color: var(--white-line);
  box-shadow: var(--shadow-luxury);
}

.checkout-summary h2,
.checkout-summary .summary-line,
.checkout-summary .summary-item,
.checkout-summary .summary-total {
  color: var(--white);
}

.checkout-summary .summary-line,
.checkout-summary .summary-item {
  opacity: 0.86;
}

.checkout-summary .summary-total {
  border-color: var(--white-line);
}

.checkout-summary .glass-box {
  width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  backdrop-filter: none;
  box-shadow: none;
}

.checkout-summary p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  margin-top: 24px;
}

/* =========================================================
   PERFIL
========================================================= */

.profile-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 34px;
}

.profile-sidebar,
.profile-card {
  padding: 36px;
}

.profile-sidebar {
  height: fit-content;
  text-align: center;
}

.profile-avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--red-main);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

.profile-sidebar h2,
.profile-card h2 {
  margin-bottom: 14px;
}

.profile-sidebar p {
  color: var(--text-soft);
  margin-bottom: 24px;
}

.profile-content {
  display: grid;
  gap: 24px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.profile-grid div {
  border: 1px solid var(--line);
  padding: 20px;
  background: var(--white);
}

.profile-grid span {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.history-list {
  display: grid;
  gap: 18px;
}

.history-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.history-thumb {
  width: 88px;
  height: 112px;
  flex: 0 0 auto;
}

.history-item p {
  color: var(--text-soft);
}

.mini-product {
  padding: 18px;
}

.mini-product .history-thumb {
  width: 100%;
  height: 190px;
  margin-bottom: 14px;
}

.danger-zone {
  border-color: rgba(107, 9, 15, 0.42);
}

/* =========================================================
   SOBRE / TECNOLOGIA / ODS
========================================================= */

.mission-section {
  padding: 112px 8%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.section-card h2,
.technology-content h2 {
  margin: 18px 0;
}

.section-card li {
  list-style: none;
}

.technology-section {
  padding: 112px 8%;
  background:
    linear-gradient(90deg, var(--white), rgba(77, 6, 9, 0.04)),
    var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: center;
}

.tech-features {
  margin-top: 34px;
  display: grid;
  gap: 18px;
}

.tech-item {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.ods-section {
  padding: 112px 8%;
}

.ods-card h3 {
  color: var(--red-main);
  font-size: 2.4rem;
  font-weight: 600;
}

.ods-card h4 {
  margin: 14px 0;
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
  padding: 82px 8%;
  background: var(--red-deep);
  color: var(--white);
}

.footer h2 {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 11px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.footer p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.76);
}

.footer-links {
  margin-top: 32px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.86;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
}

/* =========================================================
   ANIMAÇÕES DO SCRIPT
========================================================= */

.hidden {
  opacity: 0;
  transform: translateY(28px);
  transition: 0.8s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

.favorited {
  color: var(--red-main) !important;
}

/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 1100px) {
  .nav-left,
  .nav-right {
    display: none;
  }

  .header {
    justify-content: center;
    padding: 0 20px;
  }

  .features,
  .product-grid,
  .products-grid,
  .product-info-section,
  .fitting-container,
  .mission-section,
  .ods-grid {
    grid-template-columns: 1fr 1fr;
  }

  .highlight,
  .product-detail,
  .auth-container,
  .cart-container,
  .checkout-container,
  .profile-container,
  .technology-section,
  .ai-info {
    grid-template-columns: 1fr;
  }

  .auth-image {
    min-height: 420px;
  }

  .filters {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 720px) {
  main {
    padding-top: 66px;
  }

  .header {
    height: 66px;
  }

  .logo {
    font-size: 17px !important;
    letter-spacing: 7px !important;
  }

  .hero,
  .about-hero {
    min-height: calc(100vh - 66px);
    padding: 84px 6%;
  }

  .hero-content h1,
  .about-content h1,
  .collection-hero h1,
  .profile-header h1,
  .checkout-header h1,
  .fitting-header h1,
  .measurements-header h1,
  .cart-header h1 {
    font-size: 2.7rem;
  }

  .hero-content p,
  .about-content p,
  .collection-hero p,
  .profile-header p,
  .checkout-header p,
  .fitting-header p,
  .measurements-header p,
  .cart-header p {
    font-size: 1rem;
  }

  .collection-page,
  .product-page,
  .auth-page,
  .measurements-page,
  .fitting-page,
  .cart-page,
  .checkout-page,
  .profile-page {
    padding: 104px 6% 64px;
  }

  .intro,
  .collection-preview,
  .highlight,
  .mission-section,
  .technology-section,
  .ods-section {
    padding-left: 6%;
    padding-right: 6%;
  }

  .features,
  .product-grid,
  .products-grid,
  .product-info-section,
  .fitting-container,
  .mission-section,
  .ods-grid,
  .filters,
  .form-grid,
  .profile-grid,
  .ai-info {
    grid-template-columns: 1fr;
  }

  .search-container {
    display: grid;
    grid-template-columns: 1fr;
  }

  .search-btn {
    width: 100%;
  }

  .auth-box,
  .measurements-container,
  .checkout-form-container,
  .cart-summary,
  .checkout-summary,
  .profile-sidebar,
  .profile-card,
  .glass-box {
    padding: 32px;
  }

  .product-image {
    height: 330px;
  }

  .main-product-image {
    height: 500px;
  }

  .thumbnail-row {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

  .cart-image {
    height: 300px;
  }

  .footer h2 {
    font-size: 1rem;
    letter-spacing: 7px;
  }
}

@media (max-width: 420px) {
  .hero-buttons,
  .product-buttons,
  .measurements-actions,
  .auth-links {
    flex-direction: column;
  }

  .btn,
  .btn-outline,
  .btn-outline-dark {
    width: 100%;
  }

  .main-product-image {
    height: 420px;
  }

  .product-image {
    height: 290px;
  }
}

/* =========================================================
   PÁGINA DE ESTILOS — MEGARIA
========================================================= */

.styles-page {
  background: var(--white);
}

.styles-hero {
  min-height: 520px;
  padding: 120px 8%;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.12), transparent 32%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08), transparent 36%),
    linear-gradient(135deg, var(--red-deep), var(--red-main), var(--red-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.styles-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 2, 3, 0.04), rgba(24, 2, 3, 0.42));
  pointer-events: none;
}

.styles-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.styles-hero span,
.styles-intro span,
.styles-cta span {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.styles-hero h1 {
  margin: 24px 0;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.styles-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.14rem;
  line-height: 1.85;
}

.styles-intro {
  max-width: 900px;
  margin: 0 auto;
  padding: 96px 8% 52px;
  text-align: center;
}

.styles-intro span,
.styles-cta span {
  color: var(--red-main);
}

.styles-intro h2,
.styles-cta h2 {
  color: var(--red-deep);
  margin: 18px 0;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.styles-intro p,
.styles-cta p {
  color: var(--text-soft);
  line-height: 1.85;
}

.styles-grid {
  padding: 30px 8% 112px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.style-card {
  min-height: 360px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--red-deep);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  overflow: hidden;
}

.style-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(77, 6, 9, 0.04), transparent 62%);
  opacity: 0;
  transition: var(--transition);
}

.style-card:hover {
  background: var(--red-main);
  color: var(--white);
  transform: translateY(-7px);
  box-shadow: var(--shadow-luxury);
  border-color: var(--red-main);
}

.style-card:hover::before {
  opacity: 1;
}

.style-number {
  color: var(--red-main);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.style-card:hover .style-number {
  color: var(--white);
  opacity: 0.82;
}

.style-card h2 {
  margin: 34px 0 16px;
  color: inherit;
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}

.style-card p {
  color: var(--text-soft);
  line-height: 1.72;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.style-card:hover p {
  color: rgba(255, 255, 255, 0.82);
}

.style-tags {
  margin: 26px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.style-tags span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  color: var(--red-main);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: var(--transition);
}

.style-card:hover .style-tags span {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.style-card a {
  width: fit-content;
  color: var(--red-main);
  border-bottom: 1px solid var(--red-main);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.style-card:hover a {
  color: var(--white);
  border-color: var(--white);
}

.styles-cta {
  margin: 0 8% 112px;
  padding: 74px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(135deg, var(--red-deep), var(--red-main));
  color: var(--white);
  text-align: center;
}

.styles-cta span,
.styles-cta h2 {
  color: var(--white);
}

.styles-cta p {
  max-width: 760px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.82);
}

.styles-cta .btn {
  background: var(--white);
  color: var(--red-main);
  border-color: var(--white);
}

.styles-cta .btn:hover {
  background: transparent;
  color: var(--white);
}

@media (max-width: 1180px) {
  .styles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .styles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .styles-cta {
    padding: 48px;
  }
}

@media (max-width: 620px) {
  .styles-hero {
    min-height: 480px;
    padding: 96px 6%;
  }

  .styles-intro {
    padding: 72px 6% 36px;
  }

  .styles-grid {
    padding: 24px 6% 80px;
    grid-template-columns: 1fr;
  }

  .style-card {
    min-height: 320px;
  }

  .styles-cta {
    margin: 0 6% 80px;
    padding: 36px 28px;
  }
}
