:root {
  --coral: #e76f55;
  --coral-dark: #c75a43;
  --olive: #73795c;
  --ink: #211a16;
  --soft: #61534b;
  --muted: #93857b;
  --cream: #fbf3eb;
  --cream-2: #f0e3d5;
  --line: rgba(33, 26, 22, .1);
  --card: rgba(255, 255, 255, .82);
  --shadow: 0 22px 70px rgba(60, 39, 27, .16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: radial-gradient(circle at 20% -10%, #fff 0, var(--cream) 38%, #e8d9ca 100%);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
img { max-width: 100%; display: block; }

.selector-page {
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(33, 26, 22, .06), rgba(231, 111, 85, .12)),
    var(--cream);
}

.model-selector {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 52px 0 64px;
}

.selector-header {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
  margin: 0 auto 34px;
  max-width: 720px;
}

.selector-header img { width: 148px; }
.selector-header h1 {
  margin: 0;
  font: 700 clamp(36px, 5vw, 62px)/1 var(--serif);
}
.selector-header p {
  margin: 0;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.6;
}

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

.model-option {
  display: grid;
  grid-template-rows: 250px 1fr;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(33, 26, 22, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 18px 46px rgba(60, 39, 27, .12);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.model-option:hover {
  transform: translateY(-6px);
  border-color: rgba(231, 111, 85, .46);
  box-shadow: 0 26px 64px rgba(60, 39, 27, .18);
}

.model-option > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: var(--cream-2);
}

.model-option-copy {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.model-option-copy span {
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.model-option-copy h2 {
  margin: 0;
  font: 700 28px/1.05 var(--serif);
}

.model-option-copy p {
  margin: 0;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.55;
}

.model-option-copy strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  margin-top: 8px;
  border-radius: 13px;
  padding: 0 16px;
  background: var(--coral);
  color: #fff;
  font-size: 14px;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--cream);
  transition: opacity .45s ease, visibility .45s ease;
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--line);
  border-top-color: var(--coral);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 4px;
  width: 0;
  z-index: 90;
  background: linear-gradient(90deg, var(--coral), #f3b49e);
}

.approval-bar {
  position: sticky;
  top: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px 22px 14px 82px;
  background: rgba(255, 248, 241, .86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.approval-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.approval-title img { width: 112px; }
.approval-title h1 { font: 700 18px/1.1 var(--sans); margin: 0; }
.approval-title p { margin: 4px 0 0; color: var(--soft); font-size: 13px; }
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 11px;
  color: #fff;
  background: var(--coral);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.approval-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.btn {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0 15px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(60,39,27,.12); }
.btn.primary { border-color: var(--coral); background: var(--coral); color: #fff; }
.btn.dark { background: var(--ink); color: #fff; }

.sidebar {
  position: fixed;
  left: 16px;
  top: 86px;
  bottom: 16px;
  width: 330px;
  z-index: 60;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  transform: translateX(calc(-100% - 20px));
  transition: transform .25s ease;
  overflow: hidden;
}
.sidebar.open { transform: translateX(0); }
.sidebar-toggle {
  position: fixed;
  left: 16px;
  top: 104px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: var(--coral);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(60,39,27,.16);
}
.sidebar.open .sidebar-toggle {
  position: absolute;
  left: auto;
  right: 10px;
  top: 10px;
  box-shadow: none;
}
.sidebar h2 {
  font: 700 24px/1 var(--serif);
  margin: 0;
  padding: 22px 60px 12px 20px;
}
.sidebar p { color: var(--soft); font-size: 13px; line-height: 1.5; margin: 0; padding: 0 20px 16px; }
.side-list {
  height: calc(100% - 112px);
  overflow: auto;
  padding: 8px 12px 18px;
}
.side-link {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 15px;
  padding: 10px;
  background: transparent;
  text-align: left;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: .18s ease;
}
.side-link:hover, .side-link.active { background: var(--cream-2); transform: translateX(4px); }
.side-num {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--coral);
  font-size: 11px;
  font-weight: 900;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(231,111,85,.28); }
  50% { box-shadow: 0 0 0 9px rgba(231,111,85,0); }
}
.side-link strong { display: block; font-size: 13px; }
.side-link span:last-child { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; line-height: 1.35; }

.viewport {
  padding: 28px 24px 80px 88px;
  transition: padding .25s ease;
}
body.sidebar-open .viewport { padding-left: 374px; }
.device-stage {
  width: min(100%, 1360px);
  margin: 0 auto;
  transition: .25s ease;
}
.device-shell {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.72);
}
.browser-chrome {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: #211a16;
  color: rgba(255,255,255,.65);
  font-size: 11px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: #ff625c; }
.dot:nth-child(2) { background: #ffc44f; }
.dot:nth-child(3) { background: #38d66b; }
.url { margin: 0 auto; border-radius: 999px; background: rgba(255,255,255,.08); padding: 4px 16px; }
.storefront { background: #fff; }
body.mobile-mode .device-stage { width: 430px; }
body.mobile-mode .device-shell {
  border-radius: 52px;
  padding: 14px;
  background: #1f1a16;
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
}
body.mobile-mode .browser-chrome {
  height: 38px;
  justify-content: center;
  border-radius: 38px 38px 0 0;
  background: #000;
}
body.mobile-mode .dot, body.mobile-mode .url { display: none; }
body.mobile-mode .storefront {
  max-height: 780px;
  overflow: auto;
  border-radius: 0 0 38px 38px;
}
body.mobile-mode .desktop-only { display: none !important; }
body:not(.mobile-mode) .mobile-only { display: none !important; }

.top-strip {
  display: flex;
  justify-content: center;
  gap: 34px;
  padding: 10px 28px;
  background: var(--top-color, var(--coral));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.header {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 18px 42px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.logo { width: 122px; }
.nav { display: flex; gap: 26px; justify-content: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 700; }
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 210px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--muted);
  font-size: 12px;
}
.icons { display: flex; gap: 12px; font-size: 22px; }
.m-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.m-header .logo { width: 104px; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 34px; }
.section { padding: 42px 0; }
.section.tight { padding: 24px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
}
.section-head h2 { font: 700 28px/1.05 var(--serif); margin: 0; }
.section-head a { color: var(--soft); font-size: 12px; }

.hero {
  position: relative;
  min-height: var(--hero-h, 520px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--cream);
}
.hero.split { grid-template-columns: .9fr 1.1fr; }
.hero.full { color: #fff; }
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
}
.hero.full::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.46), rgba(0,0,0,.08));
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 58px 54px;
}
.hero-copy .eyebrow {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255,255,255,.76);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero h1 { font: 700 clamp(42px, 5vw, 72px)/.98 var(--serif); margin: 16px 0; }
.hero h1 em { color: var(--coral); font-style: normal; }
.hero.full h1 em { color: #fff; font-style: italic; }
.hero p { color: var(--soft); font-size: 16px; line-height: 1.55; margin: 0 0 24px; }
.hero.full p { color: rgba(255,255,255,.92); }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-product {
  min-height: 440px;
  background: url("Pins 2025/produtos Meleve por Estudio Imagem em baixa para web-54.jpg") center/cover no-repeat;
}
.play {
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  display: grid;
  place-items: center;
  font-size: 28px;
  box-shadow: 0 18px 42px rgba(0,0,0,.16);
  cursor: pointer;
}
.floating-badges {
  position: absolute;
  right: 34px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: grid;
  gap: 10px;
}
.floating-badges span {
  border-radius: 999px;
  padding: 12px 18px;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0,0,0,.1);
}

.benefits, .trust-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.benefit, .trust {
  text-align: center;
  font-size: 12px;
  color: var(--soft);
}
.benefit i, .trust i { display: block; font-style: normal; font-size: 22px; color: var(--coral); margin-bottom: 6px; }
.benefit strong, .trust strong { display: block; color: var(--ink); font-size: 12px; margin-bottom: 2px; }

.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat-card, .product-card, .review-card, .kit-card, .accessory-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cat-card:hover, .product-card:hover, .review-card:hover, .kit-card:hover, .accessory-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(60,39,27,.12);
}
.cat-card img { width: 100%; aspect-ratio: 1.16; object-fit: cover; background: var(--cream); }
.cat-card strong { display: block; padding: 12px; text-align: center; font-size: 13px; }

.sizes {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px 0;
}
.sizes strong { margin-right: 12px; }
.size { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 10px 16px; font-weight: 800; cursor: pointer; }
.size.active { background: var(--coral); color: #fff; border-color: var(--coral); }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.products.five { grid-template-columns: repeat(5, 1fr); }
.product-card { padding: 12px; }
.product-card img { width: 100%; aspect-ratio: 1.05; object-fit: cover; border-radius: 12px; background: var(--cream); }
.product-card h3 { font-size: 14px; margin: 12px 0 4px; }
.price { font-weight: 900; font-size: 13px; }
.stars { color: #f29d24; font-size: 12px; margin: 6px 0; }
.swatches { display: flex; gap: 5px; align-items: center; }
.sw { width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--line); background: var(--coral); }
.sw:nth-child(2) { background: #211a16; }
.sw:nth-child(3) { background: #d8c3a8; }

.promo-grid, .kits-row, .process, .crosssell {
  display: grid;
  gap: 16px;
}
.promo-grid { grid-template-columns: 1.1fr 1fr; }
.promo-card, .newsletter, .discount-box {
  border-radius: 18px;
  background: var(--cream-2);
  padding: 28px;
  overflow: hidden;
}
.promo-card h2, .newsletter h2, .discount-box h2 { font: 700 30px/1.05 var(--serif); margin: 0 0 12px; }
.promo-card img { width: 100%; border-radius: 14px; aspect-ratio: 1.9; object-fit: cover; }
.kits-row { grid-template-columns: 1.2fr repeat(3, 1fr) 1.1fr; }
.kit-card { padding: 20px; background: var(--cream-2); }
.kit-card h3 { font: 700 24px/1 var(--serif); margin: 0 0 12px; }
.kit-card img { width: 100%; aspect-ratio: 1.35; object-fit: cover; border-radius: 12px; }
.pct { color: var(--coral-dark); font-weight: 900; }

.process { grid-template-columns: 1fr repeat(3, 1fr); align-items: center; }
.step { text-align: center; }
.step .step-num { width: 30px; height: 30px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 900; }
.step img { width: 100%; aspect-ratio: 1.55; object-fit: cover; border-radius: 14px; background: var(--cream); }

.looks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.look { position: relative; overflow: hidden; border-radius: 16px; background: #000; }
.look img { width: 100%; aspect-ratio: .78; object-fit: cover; opacity: .86; transition: transform .3s ease; }
.look:hover img { transform: scale(1.06); }
.look span { position: absolute; left: 10px; right: 10px; bottom: 10px; color: #fff; font-size: 12px; font-weight: 800; text-shadow: 0 2px 10px rgba(0,0,0,.45); }
.look button { position: absolute; inset: 0; margin: auto; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); }

.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.review-card { padding: 18px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: url("Essenziale 2026 Carol/Carol para Meleve por Estudio Imagem em baixa para web-12.jpg") center/cover; margin-bottom: 10px; }
.review-card p { color: var(--soft); font-size: 13px; line-height: 1.5; }

.newsletter {
  display: grid;
  grid-template-columns: 1fr 1.2fr 220px;
  gap: 20px;
  align-items: center;
}
.newsletter input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  outline: none;
}
.newsletter img { width: 100%; aspect-ratio: 1.4; object-fit: cover; border-radius: 14px; }
.crosssell { grid-template-columns: 1.2fr repeat(5, 1fr) 1.1fr; background: var(--cream-2); border-radius: 18px; padding: 22px; align-items: center; }
.accessory-card { padding: 10px; text-align: center; background: #fff; }
.accessory-card img { width: 100%; aspect-ratio: 1; border-radius: 10px; object-fit: cover; }

.footer {
  background: var(--cream-2);
  padding: 42px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 22px; }
.footer h4 { margin: 0 0 12px; font-size: 13px; }
.footer a, .footer p { display: block; color: var(--soft); font-size: 12px; line-height: 1.8; text-decoration: none; margin: 0; }
.pay { display: flex; gap: 6px; flex-wrap: wrap; }
.pay span { border-radius: 6px; background: #fff; padding: 5px 8px; font-size: 10px; font-weight: 900; }

.hotspot-anchor { scroll-margin-top: 100px; }
.reveal { opacity: 0; transform: translateY(18px); transition: .58s ease; }
.reveal.visible { opacity: 1; transform: none; }
.backtop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--coral);
  box-shadow: 0 14px 34px rgba(231,111,85,.34);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}
.backtop.show { opacity: 1; pointer-events: auto; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(33,26,22,.72);
  backdrop-filter: blur(12px);
}
.modal.open { display: grid; }
.modal-card {
  width: min(560px, 100%);
  background: var(--cream);
  border-radius: 26px;
  box-shadow: 0 26px 80px rgba(0,0,0,.26);
  padding: 28px;
}
.modal-card h2 { font: 700 34px/1 var(--serif); margin: 0 0 12px; }
.modal-card p { color: var(--soft); line-height: 1.6; }
.modal-card textarea {
  width: 100%;
  min-height: 116px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  resize: vertical;
}
.modal-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

body.mobile-mode .approval-bar { padding-left: 68px; }
body.mobile-mode .storefront .container { padding: 0 16px; }
body.mobile-mode .top-strip { font-size: 11px; gap: 12px; overflow: hidden; }
body.mobile-mode .hero, body.mobile-mode .hero.split { display: block; min-height: auto; }
body.mobile-mode .hero-copy { padding: 34px 20px; }
body.mobile-mode .hero h1 { font-size: 40px; }
body.mobile-mode .hero-product { min-height: 260px; }
body.mobile-mode .header, body.mobile-mode .desktop-header { display: none; }
body.mobile-mode .category-grid, body.mobile-mode .products, body.mobile-mode .products.five, body.mobile-mode .reviews, body.mobile-mode .looks {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 8px;
}
body.mobile-mode .cat-card { min-width: 116px; }
body.mobile-mode .product-card, body.mobile-mode .review-card { min-width: 170px; }
body.mobile-mode .look { min-width: 142px; }
body.mobile-mode .benefits, body.mobile-mode .trust-row { grid-template-columns: repeat(2, 1fr); }
body.mobile-mode .promo-grid, body.mobile-mode .kits-row, body.mobile-mode .process, body.mobile-mode .newsletter, body.mobile-mode .crosssell, body.mobile-mode .footer-grid {
  grid-template-columns: 1fr;
}
body.mobile-mode .section { padding: 26px 0; }

@media (max-width: 1050px) {
  .approval-bar { grid-template-columns: 1fr; padding-left: 72px; }
  .viewport, body.sidebar-open .viewport { padding: 18px 12px 74px 72px; }
  .model-grid { grid-template-columns: 1fr; }
  .model-option { grid-template-columns: minmax(260px, .9fr) 1fr; grid-template-rows: auto; }
  .model-option > img { min-height: 260px; }
  .products, .products.five, .reviews { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .kits-row, .crosssell, .newsletter, .footer-grid, .process, .promo-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .model-selector { width: min(100% - 24px, 1180px); padding-top: 32px; }
  .selector-header { justify-items: start; text-align: left; }
  .selector-header img { width: 124px; }
  .model-option { grid-template-columns: 1fr; grid-template-rows: 210px 1fr; border-radius: 14px; }
  .model-option > img { min-height: 0; }
  .approval-title { align-items: flex-start; flex-direction: column; }
  .approval-actions { justify-content: flex-start; }
  .sidebar { width: calc(100vw - 24px); left: 12px; top: 112px; }
  .viewport, body.sidebar-open .viewport { padding-left: 12px; }
  .category-grid, .products, .products.five, .reviews, .looks { grid-template-columns: 1fr; }
}
