/* doc-project | public/assets/css/home.css | crée la page d'accueil éditoriale, ses compositions, catégories, histoire et événements */
.hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(135deg, #fbf5ef 0%, #f7e7e9 55%, #efe0d3 100%); }
.hero::before { position: absolute; inset: auto -20% -45% auto; width: 35rem; height: 35rem; border: 1px solid rgb(93 35 54 / 10%); border-radius: 50%; content: ""; }
.hero__grid { display: grid; min-height: 39rem; align-items: center; gap: 2rem; padding-block: 3.5rem; }
.hero__copy { position: relative; z-index: 2; }
.hero__copy h1 { max-width: 15ch; margin: .6rem 0 1.2rem; color: var(--wine-dark); }
.hero__copy > p { max-width: 40rem; color: var(--ink-soft); font-size: 1.08rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: .65rem 1rem; margin-top: 1.4rem; color: var(--ink-soft); font-size: .78rem; font-weight: 750; }
.hero__proof span { display: inline-flex; align-items: center; gap: .35rem; }
.hero__proof .icon { width: 1rem; color: var(--sage); }
.hero__visual { position: relative; width: min(100%, 28rem); min-height: 22rem; margin-inline: auto; }
.hero-orbit { position: absolute; border: 1px solid rgb(93 35 54 / 18%); border-radius: 50%; }
.hero-orbit--one { inset: 1rem 2rem; transform: rotate(-17deg); }
.hero-orbit--two { inset: 3.2rem .8rem; transform: rotate(31deg); }
.hero-jewel, .hero-bag { position: absolute; display: grid; place-items: center; color: white; box-shadow: var(--shadow-lg); }
.hero-jewel { top: 2rem; left: 1rem; width: 10rem; height: 10rem; border-radius: 48% 52% 58% 42%; background: linear-gradient(145deg, var(--wine), var(--rose)); transform: rotate(-10deg); }
.hero-jewel .icon { width: 4rem; height: 4rem; transform: rotate(10deg); }
.hero-bag { right: 0; bottom: 2rem; width: 12rem; height: 14rem; border-radius: 5rem 5rem 2rem 2rem; background: linear-gradient(145deg, #b98c57, #765130); transform: rotate(8deg); }
.hero-bag .icon { width: 5.5rem; height: 5.5rem; transform: rotate(-8deg); }
.hero-note { position: absolute; z-index: 3; bottom: .2rem; left: .4rem; display: grid; width: 13rem; gap: .2rem; border: 1px solid rgb(255 255 255 / 70%); border-radius: var(--radius); background: rgb(255 255 255 / 80%); padding: .9rem; box-shadow: var(--shadow-md); backdrop-filter: blur(12px); }
.hero-note small { color: var(--rose); font-size: .66rem; font-weight: 850; text-transform: uppercase; }
.hero-note strong { font-family: var(--font-display); line-height: 1.25; }
.section--categories { padding-top: 3rem; }
.category-grid { display: grid; gap: .7rem; }
.category-card { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: .85rem; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.category-card__icon { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: 1rem; background: var(--blush); color: var(--wine); }
.category-card span:nth-child(2) { display: grid; }
.category-card strong { font-family: var(--font-display); font-size: 1.05rem; }
.category-card small { color: var(--ink-soft); }
.category-card > .icon { color: var(--rose); }
.story-band { display: grid; gap: 2rem; align-items: center; margin-block: clamp(3rem, 8vw, 7rem); border-radius: var(--radius-lg); background: var(--wine-dark); color: #f2e9eb; padding: clamp(1.4rem, 5vw, 4rem); overflow: hidden; }
.story-band h2 { margin: .4rem 0 1rem; color: white; }
.story-band p { color: #d4c4c9; }
.story-band__visual { position: relative; min-height: 16rem; }
.story-band__visual span { position: absolute; display: grid; place-items: center; border-radius: 50%; }
.story-band__visual span:first-child { top: 0; left: 0; width: 10rem; height: 10rem; background: var(--rose); color: white; }
.story-band__visual span:last-child { right: 0; bottom: 0; width: 11rem; height: 11rem; background: var(--gold); color: var(--wine-dark); }
.story-band__visual .icon { width: 4rem; height: 4rem; }
.section--events { background: #f2e8dc; }
.event-grid { display: grid; gap: .9rem; }
.event-card { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; border: 1px solid rgb(121 84 45 / 14%); border-radius: var(--radius); background: rgb(255 255 255 / 72%); padding: 1rem; }
.event-card__date { display: grid; width: 3.8rem; height: 4.2rem; place-items: center; align-content: center; border-radius: 1rem; background: var(--wine); color: white; line-height: 1; }
.event-card__date strong { font-size: 1.4rem; }
.event-card__date small { margin-top: .25rem; text-transform: uppercase; }
.event-card h3 { margin: .25rem 0 .4rem; }
.event-card p { display: flex; align-items: center; gap: .4rem; margin-bottom: .2rem; color: var(--ink-soft); font-size: .82rem; }
.event-card > div > small { color: var(--ink-soft); }
@media (min-width: 650px) { .category-grid { grid-template-columns: repeat(2, 1fr); } .event-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.12fr .88fr; min-height: 44rem; padding-block: 4.5rem; }
  .hero__visual { min-height: 30rem; }
  .hero-jewel { width: 13rem; height: 13rem; }
  .hero-bag { width: 15rem; height: 18rem; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .story-band { grid-template-columns: .8fr 1.2fr; }
  .event-grid { grid-template-columns: repeat(3, 1fr); }
}