/* ===== A&E Atelier — estilos estáticos (mesmo visual do site React) ===== */

:root {
  --radius: 0.875rem;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Karla", ui-sans-serif, system-ui, sans-serif;
  --destructive: oklch(0.577 0.215 27);
  --destructive-foreground: oklch(0.98 0.008 90);
}

:root,
[data-theme="marrom-claro"] {
  --background: oklch(0.965 0.016 85);
  --foreground: oklch(0.32 0.035 55);
  --card: oklch(0.99 0.008 90);
  --card-foreground: oklch(0.32 0.035 55);
  --popover: oklch(0.99 0.008 90);
  --popover-foreground: oklch(0.32 0.035 55);
  --primary: oklch(0.58 0.095 62);
  --primary-foreground: oklch(0.985 0.008 90);
  --secondary: oklch(0.915 0.03 75);
  --secondary-foreground: oklch(0.4 0.05 55);
  --muted: oklch(0.94 0.02 80);
  --muted-foreground: oklch(0.5 0.03 55);
  --accent: oklch(0.86 0.06 70);
  --accent-foreground: oklch(0.32 0.035 55);
  --border: oklch(0.89 0.025 75);
  --input: oklch(0.89 0.025 75);
  --ring: oklch(0.58 0.095 62);
}

[data-theme="marrom-escuro"] {
  --background: oklch(0.24 0.028 50);
  --foreground: oklch(0.93 0.02 80);
  --card: oklch(0.29 0.03 50);
  --card-foreground: oklch(0.93 0.02 80);
  --popover: oklch(0.29 0.03 50);
  --popover-foreground: oklch(0.93 0.02 80);
  --primary: oklch(0.74 0.1 65);
  --primary-foreground: oklch(0.2 0.03 50);
  --secondary: oklch(0.34 0.03 50);
  --secondary-foreground: oklch(0.9 0.03 75);
  --muted: oklch(0.32 0.025 50);
  --muted-foreground: oklch(0.74 0.03 70);
  --accent: oklch(0.42 0.05 55);
  --accent-foreground: oklch(0.95 0.02 80);
  --border: oklch(0.38 0.03 50);
  --input: oklch(0.38 0.03 50);
  --ring: oklch(0.74 0.1 65);
}

[data-theme="branco"] {
  --background: oklch(1 0 0);
  --foreground: oklch(0.18 0 0);
  --card: oklch(0.985 0.002 90);
  --card-foreground: oklch(0.18 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.18 0 0);
  --primary: oklch(0.2 0 0);
  --primary-foreground: oklch(0.99 0 0);
  --secondary: oklch(0.955 0.002 90);
  --secondary-foreground: oklch(0.25 0 0);
  --muted: oklch(0.965 0.002 90);
  --muted-foreground: oklch(0.48 0 0);
  --accent: oklch(0.92 0.003 90);
  --accent-foreground: oklch(0.18 0 0);
  --border: oklch(0.91 0.002 90);
  --input: oklch(0.91 0.002 90);
  --ring: oklch(0.2 0 0);
}

[data-theme="preto"] {
  --background: oklch(0.15 0.003 270);
  --foreground: oklch(0.95 0.002 90);
  --card: oklch(0.2 0.004 270);
  --card-foreground: oklch(0.95 0.002 90);
  --popover: oklch(0.2 0.004 270);
  --popover-foreground: oklch(0.95 0.002 90);
  --primary: oklch(0.93 0.004 90);
  --primary-foreground: oklch(0.15 0.003 270);
  --secondary: oklch(0.27 0.004 270);
  --secondary-foreground: oklch(0.92 0.002 90);
  --muted: oklch(0.24 0.004 270);
  --muted-foreground: oklch(0.7 0.003 90);
  --accent: oklch(0.34 0.004 270);
  --accent-foreground: oklch(0.96 0.002 90);
  --border: oklch(0.3 0.004 270);
  --input: oklch(0.3 0.004 270);
  --ring: oklch(0.93 0.004 90);
}

[data-theme="azul"] {
  --background: oklch(0.23 0.05 258);
  --foreground: oklch(0.95 0.012 240);
  --card: oklch(0.28 0.055 258);
  --card-foreground: oklch(0.95 0.012 240);
  --popover: oklch(0.28 0.055 258);
  --popover-foreground: oklch(0.95 0.012 240);
  --primary: oklch(0.8 0.08 235);
  --primary-foreground: oklch(0.2 0.05 258);
  --secondary: oklch(0.34 0.06 255);
  --secondary-foreground: oklch(0.93 0.02 240);
  --muted: oklch(0.31 0.05 258);
  --muted-foreground: oklch(0.76 0.04 240);
  --accent: oklch(0.5 0.12 250);
  --accent-foreground: oklch(0.98 0.01 240);
  --border: oklch(0.37 0.05 255);
  --input: oklch(0.37 0.05 255);
  --ring: oklch(0.8 0.08 235);
}

[data-theme="rosa"] {
  --background: oklch(0.97 0.012 10);
  --foreground: oklch(0.32 0.07 5);
  --card: oklch(0.995 0.005 10);
  --card-foreground: oklch(0.32 0.07 5);
  --popover: oklch(0.995 0.005 10);
  --popover-foreground: oklch(0.32 0.07 5);
  --primary: oklch(0.56 0.12 5);
  --primary-foreground: oklch(0.99 0.005 10);
  --secondary: oklch(0.92 0.035 10);
  --secondary-foreground: oklch(0.42 0.1 5);
  --muted: oklch(0.945 0.02 10);
  --muted-foreground: oklch(0.52 0.06 5);
  --accent: oklch(0.86 0.06 10);
  --accent-foreground: oklch(0.32 0.07 5);
  --border: oklch(0.9 0.03 10);
  --input: oklch(0.9 0.03 10);
  --ring: oklch(0.56 0.12 5);
}

*, *::before, *::after { box-sizing: border-box; }

html { background-color: var(--background); scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: no-preference) {
  body, body * {
    transition-property: background-color, border-color, color, fill, stroke, box-shadow;
    transition-duration: 0.45s;
    transition-timing-function: ease;
  }
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); margin: 0; }

p { margin: 0; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; height: auto; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, textarea { font: inherit; color: inherit; }

::selection {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.page { display: flex; min-height: 100vh; flex-direction: column; }
.page main { flex: 1; }

.container { width: 100%; max-width: 72rem; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }

.font-display { font-family: var(--font-display); }
.text-muted { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.text-center { text-align: center; }
.italic { font-style: italic; }

.stitch-divider {
  height: 2px;
  background-image: linear-gradient(to right, var(--primary) 40%, transparent 40%);
  background-size: 14px 2px;
  background-repeat: repeat-x;
  opacity: 0.45;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
  background-color: color-mix(in oklch, var(--background) 85%, transparent);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.site-nav { display: none; align-items: center; gap: 1.75rem; }
@media (min-width: 768px) { .site-nav { display: flex; } }

.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--primary); }
.site-nav a.is-active { color: var(--primary); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
}
@media (min-width: 768px) { .menu-toggle { display: none; } }

.mobile-nav {
  display: none;
  border-top: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
  background-color: var(--background);
}
.mobile-nav.is-open { display: block; }
@media (min-width: 768px) { .mobile-nav { display: none !important; } }

.mobile-nav ul { padding: 0.5rem 0; }
.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid color-mix(in oklch, var(--border) 40%, transparent);
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
}
.mobile-nav li:last-child a { border-bottom: none; }
.mobile-nav a.is-active { color: var(--primary); }

/* ===== Theme switcher ===== */
.theme-switcher { position: relative; }

.theme-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 0.75rem 0 0.375rem;
  border: 1px solid color-mix(in oklch, var(--border) 70%, transparent);
  border-radius: 9999px;
  background: color-mix(in oklch, var(--card) 70%, transparent);
  color: var(--muted-foreground);
  font-size: 0.875rem;
  cursor: pointer;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}
.theme-switcher__btn:hover {
  border-color: color-mix(in oklch, var(--primary) 50%, transparent);
  color: var(--foreground);
}

.theme-swatch {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--border) 60%, transparent);
}

.theme-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.75rem);
  z-index: 50;
  width: 22rem;
  padding: 0.75rem;
  border: 1px solid color-mix(in oklch, var(--border) 70%, transparent);
  border-radius: 1rem;
  background: var(--popover);
  color: var(--popover-foreground);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  animation: fadeIn 0.2s ease;
}
.theme-dropdown.is-open { display: block; }

.theme-dropdown__title {
  padding: 0 0.25rem 0.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}

.theme-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }

.theme-option {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
  border-radius: 0.75rem;
  background: var(--card);
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.theme-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  border-color: color-mix(in oklch, var(--primary) 50%, transparent);
}
.theme-option.is-active {
  border-color: var(--primary);
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

.theme-option__swatches { position: relative; display: flex; flex-shrink: 0; }
.theme-option__swatches span {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  box-shadow: 0 0 0 2px var(--card);
}
.theme-option__swatches span + span { margin-left: -0.5rem; }

.theme-option__check {
  position: absolute;
  right: -0.5rem;
  top: -0.375rem;
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
}

.theme-option__name { display: block; font-size: 0.75rem; font-weight: 600; color: var(--foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-option__desc { display: block; font-size: 0.625rem; color: var(--muted-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
  background: color-mix(in oklch, var(--secondary) 40%, transparent);
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(3, 1fr); } }

.site-footer__brand { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.site-footer__tagline { margin-top: 0.75rem; max-width: 20rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }

.site-footer__heading { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.site-footer__links { margin-top: 0.75rem; }
.site-footer__links li + li { margin-top: 0.5rem; }
.site-footer__links a { font-size: 0.875rem; color: var(--muted-foreground); }
.site-footer__links a:hover { color: var(--primary); }

.social-links { display: flex; gap: 0.75rem; margin-top: 0.75rem; }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--card);
  color: var(--foreground);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  transition: background-color 0.2s, color 0.2s;
}
.social-links a:hover { background: var(--primary); color: var(--primary-foreground); }

.site-footer__bottom {
  border-top: 1px solid color-mix(in oklch, var(--border) 50%, transparent);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, background-color 0.2s, color 0.2s;
}
.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }

.btn-primary {
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}
.btn-primary:hover { transform: translateY(-2px); }

.btn-outline {
  padding: 0.75rem 1.5rem;
  border: 1px solid color-mix(in oklch, var(--primary) 30%, transparent);
  background: var(--card);
  color: var(--primary);
}
.btn-outline:hover { background: var(--secondary); }

.btn-sm { padding: 0.625rem 1.25rem; }
.btn-lg { padding: 0.875rem 2rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}
.link-arrow:hover { text-decoration: underline; }
.link-arrow svg { width: 1rem; height: 1rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: var(--secondary);
  color: var(--secondary-foreground);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.badge svg { width: 0.875rem; height: 0.875rem; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; }
.hero__grid {
  display: grid;
  align-items: center;
  gap: 2.5rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .hero__grid { grid-template-columns: 1fr 1fr; padding-top: 6rem; padding-bottom: 6rem; }
}

.hero h1 {
  margin-top: 1.25rem;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
@media (min-width: 640px) { .hero h1 { font-size: 3.75rem; } }

.hero__text {
  margin-top: 1.25rem;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}
@media (min-width: 640px) { .hero__text { font-size: 1.125rem; } }

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.hero__figure { position: relative; }
.hero__figure::before {
  content: "";
  position: absolute;
  inset: -0.75rem;
  border-radius: 2rem;
  background: color-mix(in oklch, var(--secondary) 60%, transparent);
}
.hero__figure img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 2rem;
  object-fit: cover;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

/* ===== Sections ===== */
.section { padding-top: 4rem; padding-bottom: 4rem; }
.section-alt { background: color-mix(in oklch, var(--secondary) 35%, transparent); }

.section-header { text-align: center; }
.section-header h2 {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.section-header p { margin-top: 0.75rem; color: var(--muted-foreground); }

.section-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.page-header { max-width: 42rem; margin: 0 auto; text-align: center; padding-top: 4rem; }
.page-header .eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}
.page-header h1 {
  margin-top: 0.75rem;
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.page-header p { margin-top: 1rem; color: var(--muted-foreground); }

/* ===== Cards ===== */
.feature-grid { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  padding: 1.5rem;
  border: 1px solid color-mix(in oklch, var(--border) 70%, transparent);
  border-radius: 1rem;
  background: var(--card);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  transition: transform 0.2s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card svg { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.feature-card h3 { margin-top: 1rem; font-size: 1.5rem; font-weight: 600; }
.feature-card p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }

.product-grid { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  overflow: hidden;
  border-radius: 1rem;
  background: var(--card);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}
.product-card--bordered {
  display: flex;
  flex-direction: column;
  border: 1px solid color-mix(in oklch, var(--border) 70%, transparent);
  transition: transform 0.2s;
}
.product-card--bordered:hover { transform: translateY(-4px); }

.product-card__img-wrap { overflow: hidden; }
.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover img { transform: scale(1.05); }

.product-card__body { padding: 1.25rem; }
.product-card__body--lg { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }

.product-card__category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}
.product-card__title { margin-top: 0.25rem; font-size: 1.5rem; font-weight: 600; }
.product-card__desc { margin-top: 0.5rem; flex: 1; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.product-card__price { margin-top: 0.25rem; font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); }
.product-card__price-lg { margin-top: 1rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--foreground); }
.product-card .btn { margin-top: 1rem; }

/* ===== CTA ===== */
.cta-section { max-width: 48rem; margin: 0 auto; padding: 5rem 1rem; text-align: center; }
.cta-section h2 { font-size: 2.25rem; font-weight: 600; letter-spacing: -0.025em; }
@media (min-width: 640px) { .cta-section h2 { font-size: 3rem; } }
.cta-section p { margin: 1rem auto 0; max-width: 36rem; color: var(--muted-foreground); }
.cta-section .btn { margin-top: 2rem; }

/* ===== Sobre ===== */
.about-grid {
  display: grid;
  align-items: center;
  gap: 2.5rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; } }

.about-figure { position: relative; }
.about-figure::before {
  content: "";
  position: absolute;
  inset: -0.75rem;
  border-radius: 2rem;
  background: color-mix(in oklch, var(--secondary) 50%, transparent);
}
.about-figure img {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 2rem;
  object-fit: cover;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.about-content h1 { margin-top: 0.75rem; font-size: 3rem; font-weight: 600; letter-spacing: -0.025em; }
.about-content__text { margin-top: 1.5rem; }
.about-content__text p + p { margin-top: 1rem; }
.about-content__text p { line-height: 1.625; color: var(--muted-foreground); }
.about-content .btn { margin-top: 2rem; }

.stats-grid { display: grid; gap: 1.5rem; text-align: center; }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }

.stat-card {
  padding: 2rem;
  border-radius: 1rem;
  background: color-mix(in oklch, var(--secondary) 45%, transparent);
}
.stat-card__value { font-family: var(--font-display); font-size: 2.25rem; font-weight: 600; color: var(--primary); }
.stat-card__text { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* ===== Galeria ===== */
.gallery { margin-top: 3rem; columns: 2; column-gap: 1rem; }
@media (min-width: 768px) { .gallery { columns: 3; } }

.gallery__item { break-inside: avoid; margin-bottom: 1rem; }

.gallery__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
}
.gallery__btn:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }

.gallery__btn img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery__btn:hover img { transform: scale(1.05); }

.gallery__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(to top, color-mix(in oklch, var(--foreground) 60%, transparent), transparent);
  text-align: left;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--background);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: flex-start;
}
.gallery__btn:hover .gallery__caption { opacity: 1; }

.gallery__caption-title { display: block; }

.gallery-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  font-weight: 600;
}
.gallery-price__old {
  font-weight: 400;
  opacity: 0.75;
  text-decoration: line-through;
}
.gallery-price__promo {
  color: color-mix(in oklch, var(--primary) 70%, var(--background));
}
.gallery__caption .gallery-price__promo {
  color: color-mix(in oklch, #fff 85%, var(--primary));
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: color-mix(in oklch, var(--foreground) 70%, transparent);
  backdrop-filter: blur(4px);
}
.lightbox.is-open { display: flex; }

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 9999px;
  background: var(--background);
  color: var(--foreground);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  cursor: pointer;
}
.lightbox__close svg { width: 1.25rem; height: 1.25rem; }

.lightbox__figure { max-height: 100%; max-width: 48rem; }
.lightbox__figure img {
  max-height: 80vh;
  width: auto;
  border-radius: 1rem;
  object-fit: contain;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}
.lightbox__figure figcaption {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--background);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  max-width: 36rem;
  margin-inline: auto;
}
.lightbox__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
}
.lightbox__desc {
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.45;
  max-width: 28rem;
}
.lightbox__figure .gallery-price {
  font-size: 0.9375rem;
}
.lightbox__figure .gallery-price__promo {
  color: color-mix(in oklch, #fff 80%, var(--primary));
}

/* ===== Contato ===== */
.contact-grid { display: grid; gap: 2rem; margin-top: 3rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.channel-list { display: flex; flex-direction: column; gap: 1rem; }

.channel-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid color-mix(in oklch, var(--border) 70%, transparent);
  border-radius: 1rem;
  background: var(--card);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  transition: transform 0.2s;
}
a.channel-card:hover { transform: translateY(-2px); }

.channel-card--static {
  background: color-mix(in oklch, var(--secondary) 45%, transparent);
  border: none;
}

.channel-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  color: var(--primary);
}
.channel-card--static .channel-card__icon { background: var(--card); }
.channel-card__icon svg { width: 1.25rem; height: 1.25rem; }

.channel-card__title { display: block; font-weight: 600; }
.channel-card__desc { display: block; font-size: 0.875rem; color: var(--muted-foreground); }

.contact-form {
  padding: 1.5rem;
  border: 1px solid color-mix(in oklch, var(--border) 70%, transparent);
  border-radius: 1rem;
  background: var(--card);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}
@media (min-width: 640px) { .contact-form { padding: 2rem; } }

.contact-form h2 { font-size: 1.875rem; font-weight: 600; }
.contact-form > p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }

.form-group { margin-top: 1.5rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; }

.form-input {
  width: 100%;
  margin-top: 0.375rem;
  padding: 0.625rem 1rem;
  border: 1px solid var(--input);
  border-radius: 0.75rem;
  background: var(--background);
  font-size: 0.875rem;
  outline: none;
  transition: box-shadow 0.2s;
}
.form-input:focus { box-shadow: 0 0 0 2px var(--ring); }
textarea.form-input { resize: none; min-height: 8rem; }

.info-box {
  margin-top: 3.5rem;
  padding: 2rem;
  border-radius: 1rem;
  background: color-mix(in oklch, var(--secondary) 45%, transparent);
  text-align: center;
}
.info-box h2 { font-size: 1.875rem; font-weight: 600; }
.info-box p { margin: 0.75rem auto 0; max-width: 36rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }

/* ===== WhatsApp FAB ===== */
.fab-whatsapp {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .fab-whatsapp { bottom: 1.75rem; right: 1.75rem; }
}

.fab-whatsapp__label {
  display: none;
  padding: 0.375rem 0.875rem;
  border: 1px solid color-mix(in oklch, var(--border) 70%, transparent);
  border-radius: 9999px;
  background: color-mix(in oklch, var(--card) 95%, transparent);
  color: var(--card-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  backdrop-filter: blur(4px);
  pointer-events: none;
  animation: fabLabelIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 1.2s both;
}
@media (min-width: 640px) { .fab-whatsapp__label { display: block; } }

.fab-whatsapp:hover .fab-whatsapp__label { transform: translateX(0); }

.fab-whatsapp__btn-wrap { position: relative; width: 3.5rem; height: 3.5rem; }

.fab-whatsapp__ping {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: color-mix(in oklch, var(--primary) 40%, transparent);
  animation: ping 2.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.fab-whatsapp__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 20px 25px -5px color-mix(in oklch, var(--primary) 35%, transparent);
  box-shadow: 0 0 0 2px color-mix(in oklch, var(--background) 80%, transparent), 0 20px 25px -5px color-mix(in oklch, var(--primary) 35%, transparent);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fabFloat 4s ease-in-out infinite;
}
.fab-whatsapp:hover .fab-whatsapp__btn {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 0 2px color-mix(in oklch, var(--background) 80%, transparent), 0 25px 50px -12px color-mix(in oklch, var(--primary) 45%, transparent);
}
.fab-whatsapp__btn svg { width: 1.75rem; height: 1.75rem; transition: transform 0.3s; }
.fab-whatsapp:hover .fab-whatsapp__btn svg { transform: rotate(12deg); }

/* ===== 404 ===== */
.error-page {
  display: flex;
  min-height: 70vh;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 4rem;
}
.error-page__inner {
  max-width: 28rem;
  text-align: center;
}
.error-page h1 {
  margin-top: 1rem;
  font-size: 4.5rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.error-page h2 {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}
.error-page p {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}
.error-page .btn { margin-top: 1.5rem; }
.error-page .badge { margin-top: 0.25rem; }

.crochet-buddy {
  display: flex;
  justify-content: center;
  margin: 0 auto 0.5rem;
  width: min(280px, 78vw);
}
.crochet-buddy__svg {
  width: 100%;
  height: auto;
  overflow: visible;
  color: var(--foreground);
  animation: buddyFloat 4.2s ease-in-out infinite;
}

.buddy-shadow { transform-box: fill-box; transform-origin: center; animation: buddyShadow 4.2s ease-in-out infinite; }
.buddy-head { transform-box: fill-box; transform-origin: 50% 80%; animation: buddyTilt 5.5s ease-in-out infinite; }
.buddy-ear-l { transform-box: fill-box; transform-origin: 50% 90%; animation: earWiggle 3.4s ease-in-out infinite; }
.buddy-ear-r { transform-box: fill-box; transform-origin: 50% 90%; animation: earWiggle 3.4s ease-in-out infinite 0.4s; }
.buddy-arm-r { transform-box: fill-box; transform-origin: 20% 20%; animation: armWave 3.8s ease-in-out infinite; }
.buddy-eye { transform-box: fill-box; transform-origin: center; animation: blink 4.8s ease-in-out infinite; }
.buddy-eye-r { animation-delay: 0.08s; }
.yarn-ball { transform-box: fill-box; transform-origin: center; animation: yarnRoll 6s ease-in-out infinite; }
.yarn-thread { stroke-dasharray: 6 5; animation: threadCrawl 2.4s linear infinite; }
.spark-1, .spark-2, .spark-3, .spark-4 { transform-box: fill-box; transform-origin: center; }
.spark-1 { animation: sparkFloat 3.6s ease-in-out infinite; }
.spark-2 { animation: sparkFloat 4.1s ease-in-out infinite 0.6s; }
.spark-3 { animation: sparkFloat 3.2s ease-in-out infinite 1.1s; }
.spark-4 { animation: sparkTwirl 5s ease-in-out infinite; }

@keyframes buddyFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes buddyShadow {
  0%, 100% { transform: scaleX(1); opacity: 0.12; }
  50% { transform: scaleX(0.78); opacity: 0.06; }
}
@keyframes buddyTilt {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(4deg); }
}
@keyframes earWiggle {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(8deg); }
}
@keyframes armWave {
  0%, 100% { transform: rotate(0deg); }
  40% { transform: rotate(18deg); }
  60% { transform: rotate(-6deg); }
}
@keyframes blink {
  0%, 42%, 48%, 100% { transform: scaleY(1); }
  45% { transform: scaleY(0.08); }
}
@keyframes yarnRoll {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(12deg) translateY(3px); }
}
@keyframes threadCrawl {
  to { stroke-dashoffset: -22; }
}
@keyframes sparkFloat {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(-10px); opacity: 1; }
}
@keyframes sparkTwirl {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(25deg) scale(1.15); }
}

/* ===== Icons ===== */
.icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon-sm { width: 0.75rem; height: 0.75rem; }

/* ===== Animations ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fabFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes fabLabelIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .fab-whatsapp__btn, .fab-whatsapp__ping, .fab-whatsapp__label { animation: none !important; }
  .product-card img, .gallery__btn img { transition: none; }
  .crochet-buddy__svg,
  .buddy-shadow,
  .buddy-head,
  .buddy-ear-l,
  .buddy-ear-r,
  .buddy-arm-r,
  .buddy-eye,
  .yarn-ball,
  .yarn-thread,
  .spark-1, .spark-2, .spark-3, .spark-4 {
    animation: none !important;
  }
}
