/* ============================================================
   藝妍美學館 - 專業團隊頁樣式 (team.css)
   風格來源：.專案本案\風格\美容02\美甲-團隊.html
   命名：遵守 .github\專案架構\css命名規則.md（BEM）
   Block 對應允許清單：wrap / section / page-header / team-member / cta-section / btn / footer
   ============================================================ */

/* ===== 核心變數 ===== */
:root {
  --cream: #faf5ef;
  --cream-2: #f3e9df;
  --rose: #c48a79;
  --rose-deep: #a86e5d;
  --gold: #b08d57;
  --ink: #4a3b33;
  --ink-soft: #7a6a60;
  --line: #e7d9cc;
}

/* ===== 全域重設 ===== */
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: "Noto Serif TC", "PingFang TC", "Microsoft JhengHei", serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
}
img { display:block; max-width:100%; }
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.section { padding: 50px 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  letter-spacing: .3em;
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
}
h1, h2, h3 { font-weight: 700; letter-spacing: .03em; line-height: 1.35; }
.title { font-size: 28px; margin-bottom: 10px; color: var(--ink); }
.lead { font-size: 16px; color: var(--ink-soft); max-width: 600px; margin:0 auto; }

/* ===== 頁首 ===== */
.page-header {
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.page-header__title {
  font-size: 30px;
  letter-spacing: .06em;
}
.page-header__sub {
  font-size: 16px;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* ===== 團隊（team-member Block） ===== */
.team-member__intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.team-member__intro p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 2;
}
.team-member__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 36px;
}
.team-member__card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow .25s;
}
.team-member__card:hover {
  box-shadow: 0 8px 28px rgba(74, 59, 51, .08);
}
.team-member__media {
  background: #d6ccc0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  width: 100%;
}
.team-member__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-member__body {
  padding: 20px 24px 26px;
}
.team-member__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.team-member__role {
  font-size: 14px;
  color: var(--rose-deep);
  font-weight: 500;
  margin: 2px 0 10px;
}
.team-member__role span {
  display: inline-block;
  background: var(--cream-2);
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 400;
  margin-left: 6px;
}
.team-member__desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
}
.team-member__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 12px;
}
.team-member__tags span {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: .05em;
  border: 1px solid var(--line);
  padding: 2px 14px;
  border-radius: 999px;
}

/* ===== CTA（cta-section Block） ===== */
.cta-section {
  background: var(--ink);
  color: #f6ece4;
  padding: 44px 0;
  text-align: center;
}
.cta-section .title { color: #fff; }
.cta-section .btn {
  display: inline-block;
  background: var(--rose);
  color: #fff;
  text-decoration: none;
  padding: 12px 40px;
  border-radius: 999px;
  font-size: 15px;
  transition: background .2s;
  margin-top: 16px;
}
.cta-section .btn:hover { background: var(--rose-deep); }
.cta-section__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
  margin-top: 14px;
  font-size: 14px;
  color: #e9d8cb;
}

/* ===== 響應式 ===== */
@media (max-width: 820px) {
  .team-member__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px !important; }
  nav .wrap { padding: 0 16px !important; }
  .page-header .wrap { padding: 0 16px !important; }
  .cta-section .wrap { padding: 0 16px !important; }

  .section { padding: 36px 0; }
  .page-header { padding: 24px 0 20px; }
  .page-header__title { font-size: 24px; }
  .title { font-size: 22px; }

  .team-member__grid { grid-template-columns: 1fr; gap: 20px; }
  .team-member__body { padding: 16px 18px 20px; }
  .team-member__name { font-size: 18px; }

  .team-member__intro p { font-size: 15px; }

  .cta-section { padding: 32px 0; }
  .cta-section .btn { padding: 10px 32px; font-size: 14px; }
  .cta-section__contact { font-size: 13px; gap: 10px 16px; }

  footer { font-size: 11px; padding: 14px 12px; }
}

@media (max-width: 400px) {
  .wrap { padding: 0 12px !important; }
  nav .wrap { padding: 0 12px !important; }
  .page-header .wrap { padding: 0 12px !important; }
  .cta-section .wrap { padding: 0 12px !important; }
  .page-header__title { font-size: 20px; }
  .title { font-size: 18px; }
}
