/* Petit Coeur – petitcoeur.cn — v2
   Feuille de style unique. Polices hébergées sur le site (Noto CJK, SIL OFL 1.1,
   voir /assets/fonts/OFL.txt). Aucune ressource externe. */

@font-face {
  font-family: "PC Sans";
  src: url("/assets/fonts/noto-sans-sc-regular.woff?v=20261108") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PC Serif";
  src: url("/assets/fonts/noto-serif-sc-semibold.woff?v=20261108") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --purple: #3e1f55;
  --pink: #f47c7c;
  --pink-light: #fef2f2;
  --yellow: #fbe899;
  --text: #5c5763;
  --muted: #8a8590;
  --bg-soft: #faf8f8;
  --shadow: 0 12px 32px rgba(62, 31, 85, .08);
  --radius: 18px;
  --sans: "PC Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --serif: "PC Serif", "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--purple); text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: var(--pink); }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--purple);
  line-height: 1.4;
  letter-spacing: .02em;
}
p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }

.container { max-width: 1140px; margin: 0 auto; }

/* ---------- En-tête ---------- */
.site-header { background: var(--bg-soft); padding: 12px 40px; border-bottom: 1px solid #f1ecec; }
.site-header .logo { display: block; width: 96px; margin: 0 auto; }
.site-header .logo img { width: 96px; height: 96px; }

/* ---------- Éléments communs ---------- */
.divider { width: 40px; height: 3px; border-radius: 3px; background: var(--pink); margin: 0 0 18px; }
.section-title { font-size: 30px; margin-bottom: 16px; }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow); }
.quote {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  color: var(--pink);
}
.tag {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .05em;
  color: var(--pink);
  background: var(--pink-light);
  padding: 8px 14px;
  border-radius: 999px;
}

/* ---------- 1. Accueil ---------- */
.hero { position: relative; padding: 130px 40px 0; min-height: 640px; overflow: hidden; }
.hero .hero-art {
  position: absolute; top: 0; right: 0;
  width: 640px; max-width: 50%;
}
.hero .container { position: relative; }
.hero .hero-text { width: 50%; padding-right: 30px; }
.hero h1 { font-size: 40px; line-height: 1.3; margin-bottom: 28px; }
.hero h1::after {
  content: ""; display: block;
  width: 40px; height: 3px; border-radius: 3px;
  background: var(--pink); margin-top: 22px;
}

/* ---------- 2. 宝宝的健康 ---------- */
.health {
  padding: 100px 40px 80px;
  background: url("/assets/img/pink-wave.svg") center bottom / contain no-repeat;
}
.two-cols { display: flex; align-items: center; }
.two-cols > * { flex: 1 1 50%; min-width: 0; }
.health .photo img { width: 100%; height: 480px; object-fit: cover; }
.health .text { padding: 0 56px; }

/* ---------- 3. 0岁-12岁 et 4. 儿童冷皂 ---------- */
.features { padding: 110px 40px; }
.features .intro { width: 50%; }
.cards { display: grid; margin-top: 56px; gap: 40px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); gap: 56px; }
.card img { width: 100%; object-fit: cover; margin-bottom: 22px; }
.cards-3 .card img { aspect-ratio: 282 / 242; }
.cards-2 .card img { aspect-ratio: 472 / 256; }
.card h3 { font-size: 22px; color: var(--purple); margin-bottom: 10px; }
.card p { margin-bottom: 16px; }
.soap { background: linear-gradient(180deg, #fff 0%, var(--pink-light) 45%, var(--pink-light) 60%, #fff 100%); }
.soap .tag { background: #fff; box-shadow: inset 0 0 0 1px #f6d4d4; }
.card { display: flex; flex-direction: column; }
.card .tag { align-self: flex-start; margin-top: auto; }

/* ---------- 5. 我们的承诺 ---------- */
.promise {
  padding: 100px 40px 130px;
  background: url("/assets/img/pink-blob.svg") left center / 219px auto no-repeat;
}
.promise .text { padding-right: 80px; }
.check-list { list-style: none; margin: 24px 0 0; padding: 0; }
.check-list li { display: flex; align-items: center; color: var(--purple); padding: 5px 0; }
.check-list li::before {
  content: ""; flex: none;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--pink); box-shadow: 0 0 0 4px var(--pink-light);
  margin-right: 14px;
}
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mosaic .col { display: flex; flex-direction: column; gap: 28px; }
.mosaic .col:last-child { margin-top: 40px; }
.mosaic img { width: 100%; object-fit: cover; }
.mosaic .tall { aspect-ratio: 269 / 341; }
.mosaic .wide { aspect-ratio: 269 / 189; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid #f1ecec; }
.footer-top { padding: 56px 50px 40px; }
.footer-top .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 32px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover, .footer-links a:focus { color: var(--purple); }
.footer-logo { width: 260px; flex: none; opacity: .9; }
.footer-bottom { padding: 18px 20px 30px; text-align: center; font-size: 14px; color: var(--muted); }
.footer-bottom .container { border-top: 1px solid #ece6e6; padding-top: 22px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--muted); white-space: nowrap; }
.footer-bottom a:hover, .footer-bottom a:focus { color: var(--purple); }
.footer-bottom img { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; }

/* ---------- Pages intérieures ---------- */
.page-title { padding: 60px 20px 30px; text-align: center; }
.page-title h1 { font-size: 38px; }
.page-title h1::after {
  content: ""; display: block;
  width: 40px; height: 3px; border-radius: 3px;
  background: var(--pink); margin: 18px auto 0;
}

.contact-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  max-width: 1000px; margin: 20px auto 0; padding: 0 20px;
}
.contact-card {
  text-align: center; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 40px 28px;
}
.contact-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--pink-light); color: var(--pink); margin-bottom: 18px;
}
.contact-icon svg { width: 40px; height: 40px; fill: currentColor; }
.contact-card h2 { font-size: 24px; margin-bottom: 14px; }
.contact-card .mail { margin-bottom: 6px; white-space: nowrap; }
.contact-card .phone { font-size: 22px; letter-spacing: .03em; }
.contact-spacer { height: 100px; }

.legal { max-width: 760px; margin: 0 auto; padding: 10px 40px 90px; }
.legal h2 { font-size: 21px; margin: 34px 0 10px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-top: 34px; }

/* ---------- Tablette ---------- */
@media (max-width: 1024px) {
  .hero { min-height: 0; padding-bottom: 60px; }
  .hero h1 { font-size: 34px; }
  .cards { gap: 28px; }
  .health .text { padding: 0 0 0 40px; }
  .promise .text { padding-right: 40px; }
  .footer-logo { width: 200px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  body { font-size: 15.5px; }
  .site-header .logo, .site-header .logo img { width: 80px; height: 80px; }
  .hero { padding: 0 20px 50px; }
  .hero .hero-art { position: static; width: 85%; max-width: 420px; margin: 0 0 24px auto; }
  .hero .hero-text, .features .intro { width: auto; padding-right: 0; }
  .hero h1 { font-size: 30px; }
  .section-title { font-size: 26px; }
  .health, .features, .promise { padding-left: 20px; padding-right: 20px; }
  .health { padding-top: 60px; }
  .features { padding-top: 60px; padding-bottom: 60px; }
  .two-cols { flex-direction: column; align-items: stretch; }
  .health .photo img { height: auto; aspect-ratio: 600 / 480; }
  .health .text { padding: 32px 0 0; }
  .cards-3, .cards-2 { grid-template-columns: 1fr; gap: 44px; margin-top: 40px; }
  .promise { padding-top: 60px; padding-bottom: 70px; background-size: 150px auto; background-position: left top; }
  .promise .text { padding: 0 0 40px; }
  .mosaic, .mosaic .col { gap: 14px; }
  .mosaic .col:last-child { margin-top: 24px; }
  .footer-top { padding: 40px 20px 24px; }
  .footer-top .container { flex-direction: column; align-items: flex-start; gap: 28px; }
  .footer-logo { width: 180px; }
  .page-title { padding: 40px 20px 20px; }
  .page-title h1 { font-size: 30px; }
  .contact-cards { grid-template-columns: 1fr; gap: 20px; }
  .contact-card { padding: 32px 18px; }
  .contact-card .mail { white-space: normal; }
  .legal { padding: 10px 20px 60px; }
}
