/* ============================================
   AMAR CASA CRIATIVA — DESIGN TOKENS
   ============================================ */

:root {
  /* — color: core ————————————————————————— */
  --acc-ink:        #1A1A1A;   /* preto profundo (fundo principal) */
  --acc-ink-soft:   #232323;
  --acc-petrol:     #2F4550;   /* azul-petróleo (barras de marca) */
  --acc-petrol-dk:  #243640;
  --acc-petrol-lt:  #3D5A68;

  --acc-bone:       #EDE7DA;   /* off-white quente (cards) */
  --acc-bone-soft:  #E4DDCB;
  --acc-paper:      #F5F0E5;

  --acc-terra:      #B45F3D;   /* terracota (acento principal) */
  --acc-terra-dk:   #8E4528;
  --acc-clay:       #C8845F;   /* terracota claro / sofá */
  --acc-sand:       #D9C9A6;   /* madeira clara */
  --acc-mustard:    #C99840;   /* acento âmbar/mostarda */
  --acc-moss:       #6B7A4F;   /* acento verde-musgo */
  --acc-rose:       #C77F75;   /* acento rosé suave */

  --acc-line:       rgba(237, 231, 218, .14);
  --acc-line-dark:  rgba(26, 26, 26, .12);

  /* — type ———————————————————————————————— */
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-sans:    "DM Sans", "Inter", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* a tipografia da referência é uma sans em lowercase com tracking aberto;
     "amar" usa serifa orgânica com terminais redondos — usamos Fraunces */

  /* — scale ——————————————————————————————— */
  --t-xs:   12px;
  --t-sm:   14px;
  --t-md:   16px;
  --t-lg:   18px;
  --t-xl:   22px;
  --t-2xl:  28px;
  --t-3xl:  40px;
  --t-4xl:  64px;
  --t-5xl:  96px;
  --t-6xl:  144px;

  /* — space ——————————————————————————————— */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px;  --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px;  --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  /* — radius / line ———————————————————————— */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-pill: 999px;

  /* — motion ——————————————————————————————— */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* — base ——————————————————————————————————— */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: var(--t-md);
  line-height: 1.55;
  color: var(--acc-bone);
  background: var(--acc-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* — type primitives ————————————————————————— */
.t-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--t-xs);
  letter-spacing: .32em;
  text-transform: lowercase;
  font-weight: 400;
  opacity: .7;
}
.t-display {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: normal;
  letter-spacing: -.02em;
  line-height: .95;
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 144;
}
.t-display-italic {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.t-section {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--t-3xl);
  letter-spacing: .04em;
  text-transform: lowercase;
  line-height: 1.1;
}
.t-body {
  font-family: var(--font-sans);
  font-size: var(--t-md);
  line-height: 1.65;
  font-weight: 400;
}
.t-mono {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .08em;
  text-transform: lowercase;
}

/* — chrome strip (assinatura da marca, igual ao PDF) — */
.cc-strip {
  background: var(--acc-petrol);
  color: var(--acc-bone);
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  padding: 14px 24px;
  font-family: var(--font-sans);
  font-size: var(--t-xs);
  letter-spacing: .12em;
  text-transform: lowercase;
}
.cc-strip__handle { opacity: .85; }
.cc-strip__mark {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
}

.cc-strip--bone {
  background: var(--acc-bone-soft);
  color: var(--acc-petrol);
}
.cc-strip--word {
  background: var(--acc-petrol);
  color: var(--acc-bone);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: left;
  letter-spacing: .42em;
  padding: 18px 32px;
  font-size: var(--t-sm);
}
.cc-strip--word > span:nth-child(2) { text-align: center; }
.cc-strip--word > span:nth-child(3) { text-align: right; }

/* — buttons ————————————————————————————————— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  letter-spacing: .18em;
  text-transform: lowercase;
  border: 1px solid currentColor;
  border-radius: var(--r-pill);
  cursor: pointer;
  text-decoration: none;
  transition: all .35s var(--ease);
  background: transparent;
  color: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn--solid {
  background: var(--acc-terra);
  color: var(--acc-bone);
  border-color: var(--acc-terra);
}
.btn--solid:hover { background: var(--acc-terra-dk); border-color: var(--acc-terra-dk); }
.btn--ghost-bone { color: var(--acc-bone); border-color: rgba(237,231,218,.4); }
.btn--ghost-bone:hover { border-color: var(--acc-bone); background: rgba(237,231,218,.06); }
.btn--ink {
  background: var(--acc-ink);
  color: var(--acc-bone);
  border-color: var(--acc-ink);
}

/* — surface / cards ————————————————————————— */
.surface-bone {
  background: var(--acc-bone);
  color: var(--acc-ink);
}
.surface-ink {
  background: var(--acc-ink);
  color: var(--acc-bone);
}
.surface-petrol {
  background: var(--acc-petrol);
  color: var(--acc-bone);
}

/* — utility ————————————————————————————————— */
.lc { text-transform: lowercase; }
.hairline {
  height: 1px;
  background: currentColor;
  opacity: .25;
}

/* — infinity loop mark (logo do guia, igual ao PDF) — */
.cc-infinity {
  display: inline-block;
  width: 1em; height: 1em;
}
