/* Chromatica Lab — catálogo de outubro 2026. Cores da skill chromatica-brand-guidelines. */

:root {
  /* Main colors */
  --plum: #5A3D6B;
  --indigo: #493B86;
  --violet: #954987;

  /* Accent colors */
  --raspberry: #C74A72;
  --gold: #EDBD5B;
  --teal: #67AFAD;
  --sky: #88BCD6;

  /* Supporting tones */
  --rose: #CE728B;
  --soft-gold: #EBCC89;
  --periwinkle: #5E70AD;

  /* Neutral */
  --paper: #F5F6F1;
  --white: #FFFFFF;

  --text: var(--plum);
  --heading: var(--indigo);
  --surface: var(--white);
  --radius: 16px;
  --shadow: 0 10px 30px rgba(73, 59, 134, 0.12);

  --font-head: "Poppins", Arial, Helvetica, sans-serif;
  --font-body: "Lora", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: calc(100% - 32px);
  max-width: 1080px;
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--plum);
  color: var(--paper);
}

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 36px;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.site-header nav a {
  color: var(--paper);
  font-family: var(--font-head);
  font-size: 0.85rem;
  opacity: 0.9;
  text-decoration: none;
}

.site-header nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Hero */

.hero {
  padding: 72px 16px 64px;
  background: var(--plum);
  color: var(--paper);
  text-align: center;
}

.hero-logo {
  width: min(220px, 60vw);
  height: auto;
  margin: 0 auto 24px;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.2;
}

.tagline {
  margin: 12px 0 0;
  font-size: 1.125rem;
}

/* Thin brand stripe: accents in small doses */
.stripe {
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--violet),
    var(--raspberry),
    var(--gold),
    var(--teal),
    var(--sky),
    var(--periwinkle)
  );
}

/* Sections */

.section {
  padding: 72px 0;
}

.section-dark {
  background: var(--indigo);
  color: var(--paper);
}

.section-head {
  margin-bottom: 40px;
}

.section h2 {
  margin: 0 0 8px;
  color: var(--heading);
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
}

.section-dark h2 {
  color: var(--paper);
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--violet);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  color: var(--soft-gold);
}

.meta {
  margin: 6px 0 0;
  color: var(--plum);
  font-family: var(--font-head);
  font-size: 0.9rem;
}

.section-dark .meta {
  color: var(--paper);
}

/* About */

.about-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.about-card {
  padding: 32px;
  background: var(--surface);
  border-top: 6px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-card h3 {
  margin: 0 0 12px;
  color: var(--heading);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-card p {
  margin: 0;
}

/* Product cards */

.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border-top: 6px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(149, 73, 135, 0.06), rgba(136, 188, 214, 0.14));
}

/* Photos fill the frame; cut-outs (.webp) are centred with transparent padding */
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-media img[src$=".webp"] {
  object-fit: contain;
  padding: 20px;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px 24px;
}

.product h3 {
  margin: 0;
  color: var(--heading);
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price {
  margin: 0;
  color: var(--indigo);
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
}

.weight {
  margin: 0;
  color: var(--plum);
  font-family: var(--font-head);
  font-size: 0.82rem;
}

.desc {
  margin: 6px 0 0;
  font-size: 0.98rem;
}

/* Halloween: dark cards on indigo */

.section-dark .product {
  background: rgba(255, 255, 255, 0.07);
  color: var(--paper);
  box-shadow: none;
}

.section-dark .product-media {
  background: rgba(255, 255, 255, 0.08);
}

.section-dark .product h3,
.section-dark .weight {
  color: var(--paper);
}

.section-dark .price {
  color: var(--soft-gold);
}

.badge {
  display: inline-block;
  margin: 14px 0 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--raspberry);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
}

.bundle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 40px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--indigo);
  font-family: var(--font-head);
  font-weight: 500;
}

.bundle strong {
  font-size: 1.35rem;
  font-weight: 700;
}

/* Order via Instagram */

.order-card {
  max-width: 720px;
  margin-inline: auto;
  padding: 40px 32px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.order-card h2 {
  margin: 0 0 16px;
  color: var(--heading);
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
}

.order-card p {
  margin: 0 0 20px;
}

.button {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid var(--raspberry);
  border-radius: 999px;
  background: var(--raspberry);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: #B03D61;
  border-color: #B03D61;
}

.button-outline {
  background: transparent;
  color: var(--raspberry);
}

.button-outline:hover {
  background: rgba(199, 74, 114, 0.08);
  color: var(--raspberry);
}

.suggested {
  margin-top: 28px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--paper);
}

.order-card .suggested-label {
  margin: 0 0 12px;
  color: var(--plum);
  font-family: var(--font-head);
  font-size: 0.85rem;
}

.suggested blockquote {
  margin: 0 0 16px;
  padding: 0 0 0 16px;
  border-left: 4px solid var(--teal);
  font-style: italic;
  text-align: left;
}

.order-card .copy-status {
  min-height: 1.5em;
  margin: 10px 0 0;
  color: var(--indigo);
  font-family: var(--font-head);
  font-size: 0.85rem;
}

.order-card .profile {
  margin: 24px 0 0;
  font-family: var(--font-head);
  font-size: 0.95rem;
}

.profile a,
.site-footer a {
  color: inherit;
  font-weight: 600;
}

.site-footer a {
  text-decoration: underline;
}

/* Footer */

.site-footer {
  padding: 32px 0;
  background: var(--plum);
  color: var(--paper);
  font-size: 0.95rem;
  text-align: center;
}

.site-footer p {
  margin: 4px 0;
}

/* Small screens */

@media (max-width: 600px) {
  .hero {
    padding: 56px 16px 48px;
  }

  .section {
    padding: 48px 0;
  }

  .about-card,
  .order-card {
    padding: 24px;
  }
}
