/* Sense House — component styles.
   Shared by the React components AND the specimen cards, so hover/focus/press
   states work everywhere. Class-based; all values come from tokens. */

/* ============ Buttons ============ */
.sh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: var(--fw-semibold);
  font-size: var(--text-body-md); line-height: 1;
  padding: 15px 30px; border: 2px solid transparent; border-radius: var(--radius-pill);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.sh-btn:active { transform: translateY(1px) scale(.985); }
.sh-btn:disabled, .sh-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.sh-btn--sm { padding: 10px 20px; font-size: var(--text-body-sm); }
.sh-btn--lg { padding: 19px 40px; font-size: var(--text-body-lg); }
.sh-btn--block { display: flex; width: 100%; }

.sh-btn--primary { background: var(--magenta-500); color: var(--white); }
.sh-btn--primary:hover { background: var(--magenta-600); color: var(--white); }
.sh-btn--lime { background: var(--lime-400); color: var(--wine-800); }
.sh-btn--lime:hover { background: #dbf01f; color: var(--wine-800); }
.sh-btn--wine { background: var(--wine-800); color: var(--cream-50); }
.sh-btn--wine:hover { background: var(--wine-900); color: var(--cream-50); }
.sh-btn--ghost { background: transparent; color: var(--magenta-500); border-color: var(--magenta-500); }
.sh-btn--ghost:hover { background: var(--magenta-500); color: var(--white); }
.sh-btn--ghost-light { background: transparent; color: var(--cream-50); border-color: rgba(255,255,255,.5); }
.sh-btn--ghost-light:hover { background: var(--cream-50); color: var(--wine-800); border-color: var(--cream-50); }

/* ============ Icon button (generic circular) ============ */
.sh-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-circle);
  border: none; cursor: pointer; padding: 0;
  background: var(--magenta-500); color: var(--white);
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.sh-icon-btn:hover { transform: translateY(-2px); background: var(--magenta-600); }
.sh-icon-btn:active { transform: scale(.92); }
.sh-icon-btn--wine { background: var(--wine-900); }
.sh-icon-btn--wine:hover { background: var(--wine-800); }
.sh-icon-btn--sm { width: 36px; height: 36px; }
.sh-icon-btn svg { width: 20px; height: 20px; }

/* ============ Inputs ============ */
.sh-field { display: flex; flex-direction: column; gap: 7px; }
.sh-field__label {
  font-family: var(--font-display); font-weight: var(--fw-semibold);
  font-size: var(--text-body-sm); color: var(--text-heading);
}
.sh-input, .sh-select, .sh-textarea {
  font-family: var(--font-body); font-size: var(--text-body-md); color: var(--text-body);
  background: var(--white); border: 1.5px solid var(--cream-100);
  border-radius: var(--radius-md); padding: 14px 16px; width: 100%;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.sh-textarea { min-height: 120px; resize: vertical; }
.sh-input::placeholder, .sh-textarea::placeholder { color: var(--text-muted); opacity: .7; }
.sh-input:focus, .sh-select:focus, .sh-textarea:focus {
  outline: none; border-color: var(--magenta-500); box-shadow: var(--shadow-focus);
}
.sh-select {
  appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234c0128' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}

/* ============ Tags / chips ============ */
.sh-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: var(--text-body-sm);
  padding: 7px 16px; border-radius: var(--radius-pill); cursor: default;
  background: var(--cream-100); color: var(--wine-800); border: 1.5px solid transparent;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.sh-tag--magenta { background: var(--magenta-500); color: var(--white); }
.sh-tag--lime { background: var(--lime-400); color: var(--wine-800); }
.sh-tag--wine { background: var(--wine-800); color: var(--cream-50); }
.sh-tag--outline { background: transparent; border-color: var(--wine-800); color: var(--wine-800); }
.sh-tag--interactive { cursor: pointer; }
.sh-tag--interactive:hover { background: var(--magenta-500); color: var(--white); }
.sh-tag--active { background: var(--magenta-500); color: var(--white); }

/* ============ Media card ============ */
.sh-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface-card); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.sh-card--link { cursor: pointer; }
.sh-card--link:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.sh-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--cream-100); }
.sh-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--dur-slow) var(--ease-out); }
.sh-card--link:hover .sh-card__media img { transform: scale(1.05); }
.sh-card__tag { position: absolute; top: 14px; left: 14px; }
.sh-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sh-card__title { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--text-h3); line-height: var(--lh-snug); color: var(--text-heading); margin: 0; }
.sh-card__excerpt { font-size: var(--text-body-md); color: var(--text-muted); margin: 0; }
.sh-card__meta { margin-top: auto; padding-top: 8px; font-size: var(--text-body-sm); font-weight: var(--fw-semibold); color: var(--magenta-500); }

/* ============ Pillar circle ============ */
.sh-pillar { display: inline-flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; text-decoration: none; }
.sh-pillar__ring { width: 220px; max-width: 40vw; aspect-ratio: 1; border-radius: var(--radius-circle); overflow: hidden; background: var(--wine-600); transition: transform var(--dur-base) var(--ease-out); }
.sh-pillar__ring img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sh-pillar:hover .sh-pillar__ring { transform: scale(1.04) rotate(-1deg); }
.sh-pillar__label { font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: var(--text-h3); color: var(--cream-50); }
.sh-pillar__label em { font-style: normal; color: var(--magenta-500); }

/* ============ Accordion (pillars of the House) ============ */
.sh-accordion { display: flex; flex-direction: column; gap: 16px; }
.sh-accordion__item { border-radius: var(--radius-sm); overflow: hidden; }
.sh-accordion__header {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; position: relative;
  font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: var(--text-h3);
  padding: 20px 28px; border: none; cursor: pointer; text-align: center;
  transition: filter var(--dur-fast) var(--ease-out);
}
.sh-accordion__header:hover { filter: brightness(1.06); }
.sh-accordion__sign { position: absolute; right: 28px; font-weight: var(--fw-bold); font-size: 1.4em; line-height: 1; }
.sh-accordion__panel { background: var(--cream-50); border: 1.5px solid var(--cream-100); border-top: none; padding: 26px 30px; color: var(--text-body); }
.sh-accordion__panel ul { margin: 14px 0 0; padding-left: 20px; }
.sh-accordion__panel li { margin: 6px 0; }
.sh-accordion__item--entretenimento .sh-accordion__header { background: var(--wine-800); color: var(--cream-50); }
.sh-accordion__item--branding .sh-accordion__header { background: var(--magenta-500); color: var(--white); }
.sh-accordion__item--educacao .sh-accordion__header { background: var(--yellow-400); color: var(--wine-800); }
.sh-accordion__item--marketing .sh-accordion__header { background: var(--orange-400); color: var(--wine-800); }

/* ============ Highlight (hand-drawn accents) ============ */
.sh-highlight { position: relative; display: inline-block; white-space: nowrap; }
.sh-highlight > svg { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 128%; height: 150%; pointer-events: none; overflow: visible; color: var(--magenta-500); }
.sh-highlight--script { font-family: var(--font-script); color: var(--magenta-500); font-weight: var(--fw-bold); }
.sh-highlight--underline > svg { top: auto; bottom: -0.18em; height: .55em; width: 106%; transform: translateX(-50%); }

/* ============ Logo ============ */
.sh-logo { display: inline-flex; align-items: center; }
.sh-logo img { display: block; height: 56px; width: auto; }
.sh-logo--sm img { height: 40px; }
.sh-logo--lg img { height: 84px; }
