/* =========================================================
   MESAS DE RESINA — identidade visual
   Oficina premium · marcenaria · resina epóxi
   Carregado DEPOIS de index.B9A2UvhE.css (Tailwind original),
   que continua fornecendo reset e utilitários do FAQ/animações.
   ========================================================= */

:root {
  --bg: #0d1113;
  --bg-2: #171c1f;
  --bg-3: #1d2327;
  --wood: #80512f;
  --wood-light: #b77a45;
  --resin: #087e9d;
  --resin-turq: #10b7c9;
  --beige: #efe5d5;
  --gold: #c89a50;
  --white: #f8f8f6;

  --text: #e9e1d3;
  --text-muted: #b9b0a2;
  --line: rgba(239, 229, 213, 0.1);
  --line-strong: rgba(200, 154, 80, 0.35);

  --grad-resin: linear-gradient(135deg, #087e9d 0%, #10b7c9 100%);
  --grad-gold: linear-gradient(135deg, #c89a50 0%, #e0bb7a 100%);
  --grad-wood: linear-gradient(135deg, #80512f 0%, #b77a45 100%);

  --radius: 18px;
  --radius-lg: 24px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.page { min-height: 100vh; }

/* ---------- Layout base ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.container--narrow { max-width: 760px; }

.sec { position: relative; padding: 64px 0; background: var(--bg); }
.sec--alt {
  background-color: var(--bg-2);
  /* textura de madeira bem discreta */
  background-image:
    repeating-linear-gradient(92deg, rgba(183, 122, 69, 0.025) 0 2px, transparent 2px 9px, rgba(128, 81, 47, 0.03) 9px 10px, transparent 10px 23px);
}
.sec + .sec { border-top: 1px solid var(--line); }

.sec-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.sec-title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--white);
  font-size: clamp(1.75rem, 6.2vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.sec-title .accent { color: var(--resin-turq); }
.sec-sub { color: var(--text-muted); font-size: clamp(1rem, 3.6vw, 1.125rem); margin: 0 auto; max-width: 620px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.6; }

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 9px 18px;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  line-height: 1.3; text-align: center;
}
.pill--resin { background: var(--grad-resin); color: var(--white); box-shadow: 0 10px 28px rgba(8, 126, 157, 0.35); }
.pill--gold { background: var(--grad-gold); color: #1d160c; box-shadow: 0 10px 28px rgba(200, 154, 80, 0.28); }
.pill--outline { border: 1px solid var(--line-strong); color: var(--gold); background: rgba(200, 154, 80, 0.06); }

.icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- 1 + 2. HERO ---------- */
.hero {
  position: relative;
  padding: 20px 0 48px;
  background:
    radial-gradient(ellipse 70% 50% at 85% 20%, rgba(16, 183, 201, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(183, 122, 69, 0.12), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero-grid { display: flex; flex-direction: column; gap: 32px; align-items: center; }
.hero-copy { width: 100%; max-width: 620px; }

.offer-bar { display: flex; justify-content: center; margin: 4px 0 22px; }
.offer-bar .pill { font-size: 0.72rem; padding: 9px 16px; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--white);
  text-align: center;
  font-size: clamp(2rem, 9.2vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.hero-title .resin {
  background: linear-gradient(100deg, #10b7c9 0%, #3fd3e0 40%, #087e9d 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  text-align: center; color: var(--text); font-size: clamp(1rem, 4vw, 1.2rem);
  line-height: 1.55; margin: 0 auto 16px; max-width: 560px; font-weight: 400;
}
.hero-highlight { display: flex; justify-content: center; margin-bottom: 8px; }

/* imagem do hero — mobile (dentro do texto) e desktop (coluna direita) */
.hero-media { position: relative; width: 100%; max-width: 440px; margin: 0 auto; }
.hero-media--mobile { margin: 30px auto 34px; }
.hero-media--desktop { display: none; }

.hero-media__bg {
  position: absolute; z-index: 0;
  width: 62%; aspect-ratio: 4 / 5;
  left: -2%; top: -5%;
  border-radius: 20px; overflow: hidden;
  opacity: 0.32; filter: saturate(0.9) blur(0.5px);
  animation: drift 14s ease-in-out infinite alternate;
}
.hero-media__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-media__frame {
  position: relative; z-index: 1;
  width: 86%; margin-left: auto;
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(16, 183, 201, 0.18);
  aspect-ratio: 4 / 5;
}
.hero-media__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); animation: slowzoom 18s ease-in-out infinite alternate; }
.hero-media__frame::after { /* brilho suave sobre a resina */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.14) 45%, transparent 60%);
  background-size: 250% 100%; background-position: 120% 0;
  animation: sheen 7s ease-in-out infinite;
  pointer-events: none;
}
.hero-media__badge {
  position: absolute; z-index: 2; top: -12px; right: -6px;
}
.hero-media__note {
  position: absolute; z-index: 2; bottom: -18px; left: 50%; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center;
  background: rgba(13, 17, 19, 0.92); border: 1px solid var(--line-strong);
  color: var(--beige); border-radius: 999px; padding: 8px 18px;
  font-size: 0.72rem; text-align: center; white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
}
.hero-media__note strong { display: flex; align-items: center; gap: 6px; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.7rem; }
.hero-media__note .icon { width: 14px; height: 14px; }

/* linha de "prova" (substitui o contador antigo — sem números inventados) */
.hero-proof {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: var(--resin-turq); font-weight: 600; font-size: 0.95rem; margin: 6px 0 22px; text-align: center;
}

/* ---------- 3. Benefícios rápidos ---------- */
.benefits { display: grid; gap: 12px; margin: 0 0 24px; }
.benefit {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px;
}
.benefit__icon {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(16, 183, 201, 0.1); color: var(--resin-turq);
  border: 1px solid rgba(16, 183, 201, 0.28);
}
.benefit__icon .icon { width: 20px; height: 20px; }
.benefit h3 { margin: 0 0 2px; font-size: 0.86rem; font-weight: 800; letter-spacing: 0.06em; color: var(--white); }
.benefit p { margin: 0; font-size: 0.93rem; color: var(--text-muted); line-height: 1.5; }

/* ---------- 4. Preço ---------- */
.price-box {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  text-align: center;
  background:
    linear-gradient(var(--bg-3), var(--bg-3)) padding-box,
    linear-gradient(135deg, rgba(16, 183, 201, 0.7), rgba(200, 154, 80, 0.7)) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.price-box__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 10px; }
.price-from { color: var(--text-muted); font-size: 1rem; }
.price-old { color: var(--text-muted); text-decoration: line-through; text-decoration-color: rgba(200, 80, 60, 0.85); font-weight: 700; font-size: 1.15rem; }
.price-label { color: var(--beige); font-size: 1rem; width: 100%; margin-top: 4px; }
.price-new {
  font-family: var(--font-body); font-weight: 900; color: var(--white);
  font-size: clamp(2.6rem, 13vw, 3.6rem); line-height: 1; letter-spacing: -0.02em;
  text-shadow: 0 0 30px rgba(16, 183, 201, 0.35);
}
.price-once { margin-top: 12px; }
.hero-cta { margin-top: 20px; }

/* ---------- 5. Por que aprender ---------- */
.why-grid { display: grid; gap: 16px; }
.why-card {
  position: relative; text-align: left;
  background: linear-gradient(180deg, rgba(29, 35, 39, 0.92), rgba(17, 21, 23, 0.96));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px;
  overflow: hidden;
}
.why-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad-wood); }
.why-card__icon { color: var(--gold); margin-bottom: 12px; }
.why-card__icon .icon { width: 28px; height: 28px; }
.why-card h3 { font-family: var(--font-display); color: var(--white); font-size: 1.3rem; margin: 0 0 8px; line-height: 1.2; }
.why-card p { margin: 0; color: var(--text-muted); }
.why-foot { text-align: center; margin: 32px auto 0; color: var(--resin-turq); font-size: 1.05rem; max-width: 560px; }
.why-foot strong { color: var(--white); }

/* ---------- 6. Conteúdo ---------- */
.highlight-line {
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  color: var(--gold); font-size: clamp(1.3rem, 5vw, 1.75rem); margin: 18px 0 0;
}
.cards-3 { display: grid; gap: 20px; }
.content-card {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.content-card:hover { transform: translateY(-3px); border-color: rgba(16, 183, 201, 0.35); }
.content-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #111; }
.content-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.content-card:hover .content-card__media img { transform: scale(1.04); }
.content-card__num {
  position: absolute; top: 12px; left: 12px;
  background: rgba(13, 17, 19, 0.85); color: var(--gold); border: 1px solid var(--line-strong);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; padding: 6px 10px; border-radius: 999px;
}
.content-card__body { padding: 20px 20px 24px; }
.content-card h3 { color: var(--white); font-size: 1.12rem; font-weight: 800; letter-spacing: 0.02em; line-height: 1.3; margin: 0 0 10px; }
.content-card p { margin: 0; color: var(--text-muted); font-size: 0.97rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag { font-size: 0.72rem; font-weight: 600; color: var(--resin-turq); border: 1px solid rgba(16, 183, 201, 0.3); background: rgba(16, 183, 201, 0.07); padding: 4px 10px; border-radius: 999px; }

/* ---------- 7. Bônus ---------- */
.bonus-grid { display: grid; gap: 20px; max-width: 900px; margin: 0 auto; }
.bonus-card {
  background: var(--bg-3); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-strong);
}
.bonus-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.bonus-card__media img { width: 100%; height: 100%; object-fit: cover; }
.bonus-card__media .pill { position: absolute; top: 12px; left: 12px; font-size: 0.72rem; padding: 6px 12px; }
.bonus-card__body { padding: 18px 20px 22px; text-align: center; }
.bonus-card h3 { color: var(--white); font-size: 1.1rem; font-weight: 800; letter-spacing: 0.03em; margin: 0 0 8px; }
.bonus-card p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

/* ---------- 8. Acesso ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; }
.step {
  position: relative; text-align: center;
  background: linear-gradient(180deg, rgba(8, 126, 157, 0.12), rgba(23, 28, 31, 0.9));
  border: 1px solid rgba(16, 183, 201, 0.2); border-radius: var(--radius-lg);
  padding: 26px 20px;
}
.step__num {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--white);
  background: var(--grad-resin); box-shadow: 0 10px 30px rgba(8, 126, 157, 0.35);
}
.step h3 { color: var(--white); font-size: 1.05rem; font-weight: 800; letter-spacing: 0.03em; margin: 0 0 8px; }
.step p { margin: 0; color: var(--text-muted); font-size: 0.97rem; }

/* ---------- 9. Prova social ---------- */
.testimonials { display: grid; gap: 16px; }
.testimonial {
  position: relative; background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px; overflow: hidden;
}
.testimonial__print { width: 100%; height: auto; border-radius: 10px; }
.testimonial__quote { position: absolute; top: 16px; right: 16px; color: rgba(200, 154, 80, 0.35); }
.testimonial__quote .icon { width: 30px; height: 30px; }
.stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--gold); }
.stars .icon { width: 16px; height: 16px; fill: currentColor; }
.testimonial__text { color: var(--text-muted); font-style: italic; margin: 0; }

/* ---------- Faixa oferta ---------- */
.offer-strip {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 16px; text-align: center;
  background: var(--grad-wood); color: var(--white);
  font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.7rem;
}
.offer-strip .icon { color: #ffe3b3; width: 18px; height: 18px; }

/* ---------- 10. Oferta final ---------- */
.offer-sec {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(16, 183, 201, 0.14), transparent 70%),
    var(--bg);
}
.offer-card {
  position: relative; max-width: 520px; margin: 0 auto;
  background:
    linear-gradient(180deg, #1b2125, #121618) padding-box,
    linear-gradient(160deg, rgba(16, 183, 201, 0.8), rgba(200, 154, 80, 0.8) 60%, rgba(128, 81, 47, 0.8)) border-box;
  border: 1.5px solid transparent;
  border-radius: 28px; padding: 26px 18px 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(16, 183, 201, 0.08);
}
.offer-card__tag { display: flex; justify-content: center; margin-bottom: 18px; }
.offer-card__product { width: 72%; max-width: 280px; margin: 0 auto 14px; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5); }
.offer-card__title {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: var(--white); font-size: 1.3rem; font-weight: 900; letter-spacing: 0.06em; margin: 0 0 14px;
}
.offer-card__title .icon { color: var(--gold); width: 24px; height: 24px; }
.offer-card .price-box { margin-bottom: 20px; }
.includes-title { text-align: center; color: var(--gold); font-weight: 800; letter-spacing: 0.12em; font-size: 0.78rem; text-transform: uppercase; margin: 0 0 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.includes { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.includes li { display: flex; align-items: center; gap: 12px; color: var(--beige); font-size: 1.05rem; font-weight: 500; }
.includes .check {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: rgba(16, 183, 201, 0.16); color: var(--resin-turq); border: 1px solid rgba(16, 183, 201, 0.4);
}
.includes .check .icon { width: 13px; height: 13px; stroke-width: 3; }

/* CTA — o link mantém href e data-checkout originais */
.cta {
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: 100%; box-sizing: border-box; min-height: 64px;
  padding: 18px 16px; border-radius: 16px; text-decoration: none;
  background: linear-gradient(135deg, #0a93b6 0%, #10b7c9 55%, #2fd0de 100%);
  color: #061316; font-weight: 900; font-size: 1.12rem; letter-spacing: 0.02em; line-height: 1.25;
  box-shadow: 0 16px 40px rgba(16, 183, 201, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}
.cta:hover { filter: brightness(1.07); box-shadow: 0 18px 46px rgba(16, 183, 201, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.cta:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.cta__long { display: none; }
.cta__short { display: inline; }

.secure-line { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; color: var(--text-muted); font-size: 0.8rem; }
.secure-line .icon { width: 16px; height: 16px; color: var(--resin-turq); }
.offer-note { display: flex; justify-content: center; margin-top: 28px; }
.offer-note .pill { text-transform: none; letter-spacing: 0.01em; font-weight: 700; font-size: 0.85rem; }

/* ---------- 11. Segurança ---------- */
.trust-grid { display: grid; gap: 14px; max-width: 1000px; margin: 0 auto; }
.trust {
  text-align: center; padding: 22px 18px; border-radius: var(--radius);
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
}
.trust__icon {
  width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad-wood); color: var(--white);
}
.trust__icon .icon { width: 26px; height: 26px; }
.trust h3 { color: var(--white); font-size: 1rem; font-weight: 800; letter-spacing: 0.05em; margin: 0 0 6px; }
.trust p { color: var(--text-muted); margin: 0; font-size: 0.93rem; }

/* ---------- 12. FAQ (mantém classes/JS do accordion original) ---------- */
.faq-item { border: 1px solid var(--line); background: var(--bg-3); border-radius: 14px; overflow: hidden; }
.faq-item + .faq-item { margin-top: 12px; }
.faq-button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 18px; background: transparent; color: var(--white); border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0.02em; text-align: left;
}
.faq-button:hover { background: rgba(16, 183, 201, 0.06); }
.faq-icon { color: var(--resin-turq); width: 18px; height: 18px; flex-shrink: 0; }
.faq-content { padding: 0 18px 18px; color: var(--text-muted); font-size: 0.97rem; line-height: 1.65; }
.faq-content strong { color: var(--white); }

/* ---------- 13. Rodapé ---------- */
.footer { background: #080a0b; color: var(--text-muted); text-align: center; padding: 22px 16px; font-size: 0.85rem; border-top: 1px solid var(--line); }

/* ---------- Animações discretas ---------- */
@keyframes sheen { 0%, 55% { background-position: 120% 0; } 100% { background-position: -40% 0; } }
@keyframes slowzoom { from { transform: scale(1.02); } to { transform: scale(1.07); } }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(8px, 10px); } }

.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}

/* ---------- Telas maiores ---------- */
@media (min-width: 640px) {
  .container { padding: 0 24px; }
  .offer-bar .pill { font-size: 0.8rem; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr 1fr; }
  .bonus-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .offer-card { padding: 34px 32px 30px; }
  .cta__long { display: inline; }
  .cta__short { display: none; }
  .offer-strip { font-size: 0.95rem; }
}

@media (min-width: 900px) {
  .sec { padding: 88px 0; }
  .why-grid, .cards-3, .steps { grid-template-columns: repeat(3, 1fr); }
  .testimonials { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .hero { padding: 28px 0 80px; }
  .hero-grid { flex-direction: row; gap: 56px; align-items: center; }
  .hero-copy { flex: 1 1 52%; max-width: none; }
  .hero-side { flex: 1 1 48%; }
  .offer-bar { justify-content: flex-start; }
  .hero-title, .hero-sub { text-align: left; }
  .hero-sub { margin-left: 0; }
  .hero-highlight, .hero-proof { justify-content: flex-start; }
  .hero-media--mobile { display: none; }
  .hero-media--desktop { display: block; max-width: 520px; }
  .benefits { grid-template-columns: 1fr 1fr; }
}

/* ---------- Galeria premium de ambientes ---------- */
.resin-spaces {
  position: relative;
  overflow: hidden;
  padding: 76px 0 70px;
  background:
    radial-gradient(ellipse 70% 56% at 50% 48%, rgba(16, 183, 201, 0.09), transparent 72%),
    radial-gradient(ellipse 45% 38% at 8% 8%, rgba(200, 154, 80, 0.08), transparent 72%),
    linear-gradient(145deg, #151b1e 0%, #101517 55%, #171c1f 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.resin-spaces::before {
  content: "INTERIORS";
  position: absolute;
  top: 34px;
  left: 50%;
  color: transparent;
  -webkit-text-stroke: 1px rgba(239, 229, 213, 0.035);
  font: 800 clamp(4rem, 13vw, 11rem)/1 var(--font-display);
  letter-spacing: 0.08em;
  transform: translateX(-50%);
  pointer-events: none;
  white-space: nowrap;
}
.resin-spaces .container { position: relative; z-index: 1; }
.resin-spaces__header {
  max-width: 850px;
  margin: 0 auto 38px;
  text-align: center;
}
.resin-spaces__eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}
.resin-spaces__eyebrow::before,
.resin-spaces__eyebrow::after {
  display: inline-block;
  width: 28px;
  height: 1px;
  margin: 0 10px 4px;
  background: currentColor;
  content: "";
  opacity: 0.65;
}
.resin-spaces__title {
  margin: 0 auto 14px;
  color: var(--white);
  font: 800 clamp(2rem, 5vw, 3.5rem)/1.1 var(--font-display);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.resin-spaces__title span {
  color: var(--resin-turq);
  font-style: italic;
}
.resin-spaces__subtitle {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: clamp(0.96rem, 2vw, 1.08rem);
  line-height: 1.65;
}
.resin-spaces__carousel { position: relative; }
.resin-spaces__viewport {
  width: 100%;
  overflow: hidden;
  padding: 24px 0 30px;
  touch-action: pan-y;
  cursor: grab;
  outline: none;
}
.resin-spaces__viewport:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 8px;
}
.resin-spaces__viewport.is-dragging { cursor: grabbing; }
.resin-spaces__track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  will-change: transform;
  transition: transform 700ms cubic-bezier(0.22, 0.72, 0.18, 1);
}
.resin-spaces__track.is-dragging { transition: none; }
.resin-spaces__slide {
  position: relative;
  flex: 0 0 min(70vw, 840px);
  aspect-ratio: 1.58 / 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(239, 229, 213, 0.14);
  border-radius: 30px;
  background: var(--bg-3);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.27);
  opacity: 0.58;
  transform: scale(0.92);
  transition: transform 600ms cubic-bezier(0.2, 0.75, 0.25, 1), opacity 600ms ease, box-shadow 600ms ease;
}
.resin-spaces__slide.is-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 32px 76px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(16, 183, 201, 0.15);
}
.resin-spaces__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  transform: scale(1.03);
  transition: transform 7s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.resin-spaces__slide.is-active .resin-spaces__image { transform: scale(1.08); }
.resin-spaces__slide::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 10, 11, 0.2) 34%, rgba(7, 10, 11, 0.82) 100%);
  content: "";
  pointer-events: none;
}
.resin-spaces__caption {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 22px;
  left: 28px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--white);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}
.resin-spaces__caption span {
  color: #f0c982;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}
.resin-spaces__caption strong {
  font: 700 clamp(1.35rem, 3vw, 2.2rem)/1.1 var(--font-display);
}
.resin-spaces__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 4px;
}
.resin-spaces__arrows { display: flex; gap: 10px; }
.resin-spaces__arrow {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(239, 229, 213, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  color: var(--beige);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}
.resin-spaces__arrow:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 183, 201, 0.7);
  background: rgba(16, 183, 201, 0.14);
  color: var(--resin-turq);
}
.resin-spaces__arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.resin-spaces__arrow svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.resin-spaces__progress {
  display: flex;
  min-width: 160px;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.resin-spaces__current { color: var(--gold); }
.resin-spaces__progress-track {
  position: relative;
  display: block;
  width: 118px;
  height: 2px;
  overflow: hidden;
  background: rgba(239, 229, 213, 0.18);
}
.resin-spaces__progress-track span {
  display: block;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--resin-turq));
  transition: width 500ms ease;
}

@media (max-width: 639px) {
  .resin-spaces { padding: 58px 0 54px; }
  .resin-spaces::before { top: 44px; font-size: 18vw; }
  .resin-spaces__header { margin-bottom: 24px; }
  .resin-spaces__eyebrow { font-size: 0.65rem; letter-spacing: 0.14em; }
  .resin-spaces__eyebrow::before, .resin-spaces__eyebrow::after { width: 16px; margin-right: 7px; margin-left: 7px; }
  .resin-spaces__title { max-width: 560px; font-size: clamp(1.9rem, 8.2vw, 2.5rem); }
  .resin-spaces__subtitle { max-width: 360px; font-size: 0.94rem; }
  .resin-spaces__viewport { margin: 0 -16px; width: calc(100% + 32px); padding: 22px 0 24px; }
  .resin-spaces__track { gap: 12px; }
  .resin-spaces__slide { flex-basis: 82vw; aspect-ratio: 1.13 / 1; border-radius: 23px; }
  .resin-spaces__caption { bottom: 18px; left: 20px; }
  .resin-spaces__caption strong { font-size: 1.55rem; }
  .resin-spaces__controls { padding: 0 2px; }
  .resin-spaces__arrow { width: 44px; height: 44px; }
  .resin-spaces__progress { min-width: 0; gap: 8px; }
  .resin-spaces__progress-track { width: clamp(60px, 20vw, 96px); }
}

@media (prefers-reduced-motion: reduce) {
  .resin-spaces__track,
  .resin-spaces__slide,
  .resin-spaces__image,
  .resin-spaces__progress-track span,
  .resin-spaces__arrow { transition: none; }
}
