/* Thème « À table pour la vie » : souper caritatif du Centre de prévention du suicide de Senneterre.
   Croquis au trait vert sauge du CPS sur papier lin, titre en script manuscrit, accents vert menthe. */
@import url("https://fonts.googleapis.com/css2?family=Ms+Madi&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&display=swap");

.th-cps {
  --papier: #eee8dc; --carte: #f7f3eb; --epinette: #2f5e46; --erable: #93d1aa; --erable-f: #3e7458;
  --ligne: #cdd5c9; --ligne-f: #a9b7ab; --muted: #55615a;
  --sauge: #61796b; --menthe: #93d1aa; --charbon: #303030; --cuivre: #b4643a;
  --serif: "Cormorant Garamond", Garamond, Georgia, serif;
  --script: "Ms Madi", "Brush Script MT", cursive;
  color: var(--charbon);
}
.th-cps h1, .th-cps h2, .th-cps h3 { color: var(--epinette); }
.th-cps .top { background: var(--papier); border-bottom-color: var(--ligne); }
.th-cps .banner { background: var(--menthe); color: #17301f; }
.th-cps .label { color: var(--muted); }
.th-cps .label.acc { color: var(--erable-f); }

/* ---------- Héros : invitation encadrée par le ruban ---------- */
.th-cps .hero { padding-block: clamp(1.6rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem); }
.th-cps .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 17rem); align-items: center; gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem); }
@media (max-width: 52rem) { .th-cps .hero .wrap { grid-template-columns: 1fr; } }
.th-cps .cadre {
  position: relative; text-align: center; display: grid; justify-items: center; align-content: center;
  min-height: clamp(28rem, 54vw, 36rem); padding: clamp(3.4rem, 8vw, 5rem) clamp(2.4rem, 8vw, 5.4rem) clamp(3.4rem, 8vw, 4.8rem);
  background: var(--cadre) center / 100% 100% no-repeat;
}
.th-cps .cadre .who { justify-content: center; text-align: center; }
.th-cps .cadre .who .label { font-family: var(--serif); font-size: clamp(.9rem, 1.8vw, 1.05rem); letter-spacing: .16em; font-weight: 600; }
.th-cps .cadre .who .label.acc { color: var(--sauge); }
.th-cps .kicker {
  font-family: var(--serif); font-weight: 700; text-transform: uppercase; letter-spacing: .28em;
  font-size: clamp(1rem, 2.4vw, 1.35rem); color: var(--epinette); margin-top: 1.4rem;
}
.th-cps h1.script {
  font-family: var(--script); font-weight: 400; text-transform: none; line-height: 1.02;
  font-size: clamp(3.6rem, 10vw, 7rem); color: var(--epinette); margin: .7rem 0 .1rem; position: relative;
}
.th-cps h1.script::after { /* souligné vert menthe, tracé à la main */
  content: ""; display: block; height: .5rem; width: 62%; margin: .1rem auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8 C 60 2, 120 11, 180 6 S 270 3, 297 7' fill='none' stroke='%2393d1aa' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.th-cps .cadre .sub { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.15rem, 2.4vw, 1.45rem); color: var(--charbon); margin-inline: auto; max-width: 30ch; line-height: 1.35; }
/* étincelles cuivrées, comme sur les invitations */
.th-cps .cadre::before, .th-cps .cadre::after {
  content: ""; position: absolute; width: 2.4rem; height: 2.4rem; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23b4643a' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M18 6 C 19 16, 22 19, 32 20 C 22 21, 19 24, 18 34 C 17 24, 14 21, 4 20 C 14 19, 17 16, 18 6 Z'/%3E%3Cpath d='M37 28 C 37.5 33, 39 34.5, 44 35 C 39 35.5, 37.5 37, 37 42 C 36.5 37, 35 35.5, 30 35 C 35 34.5, 36.5 33, 37 28 Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.th-cps .cadre::before { top: 12%; left: 6%; }
.th-cps .cadre::after { bottom: 11%; right: 6%; transform: scale(-1, 1); }
.th-cps .hero .heros { width: 100%; max-width: 15rem; height: auto; justify-self: center; display: block; }
.th-cps .hero .wrap > .heros, .th-cps .hero .duo { grid-column: 2; }
.th-cps .hero .wrap { grid-template-rows: auto auto; }
.th-cps .hero .wrap > div.cadre { grid-row: 1 / span 2; }
@media (max-width: 52rem) {
  .th-cps .hero .wrap > .heros { display: none; }
  .th-cps .hero .duo, .th-cps .hero .wrap > div.cadre { grid-column: 1; grid-row: auto; }
}
.th-cps .duo { background: transparent; border: 0; padding: 0; justify-self: center; }
.th-cps .duo figcaption { font-family: var(--serif); font-weight: 600; letter-spacing: .16em; font-size: .9rem; }
.th-cps .duo .x { color: var(--sauge); font-family: var(--serif); font-weight: 500; }
@media (max-width: 52rem) { .th-cps .duo { justify-self: center; } }

/* ---------- Infos, séparateur ---------- */
.th-cps .facts { background: transparent; border-block: 1px solid var(--ligne-f); }
.th-cps .facts ul { text-align: center; }
.th-cps .facts .label { font-family: var(--serif); font-weight: 600; letter-spacing: .2em; font-size: .85rem; color: var(--sauge); }
.th-cps .facts b { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--epinette); }
.th-cps .sep { display: flex; justify-content: center; padding-top: clamp(1.4rem, 4vw, 2.4rem); }
.th-cps .sep-img { width: min(100%, 30rem); height: auto; display: block; }

/* ---------- Histoire et menu ---------- */
.th-cps .main { padding-top: clamp(1.4rem, 4vw, 2.4rem); }
.th-cps .story .intro { grid-template-columns: 1fr; }
.th-cps .story .intro .acc { order: -1; width: min(100%, 24rem); margin: 0; justify-self: center; }
.th-cps .story .txt { font-size: 1.12rem; }
.th-cps .direct { background: var(--carte); border-color: var(--ligne-f); }
.th-cps .direct svg { stroke: var(--sauge); }
.th-cps .menu-card { background: var(--carte); border-color: var(--ligne-f); }
.th-cps .menu-card::before { border-color: var(--ligne); }
.th-cps .menu-card .grav { width: min(80%, 18rem); margin: 0 auto -.4rem; }
.th-cps .menu-card h2 { font-family: var(--script); font-weight: 400; text-transform: none; font-size: clamp(3rem, 8vw, 4.2rem); line-height: 1; }
.th-cps .menu-card .by { font-family: var(--serif); font-weight: 600; letter-spacing: .18em; font-size: .9rem; color: var(--sauge); }
.th-cps .course .lbl { font-family: var(--serif); font-weight: 600; letter-spacing: .2em; font-size: .85rem; color: var(--sauge); }
.th-cps .course .dish { font-family: var(--serif); font-weight: 700; text-transform: none; font-size: 1.6rem; line-height: 1.1; color: var(--epinette); }
.th-cps .course .desc { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--charbon); }
.th-cps .course + .course::before { content: "✦"; color: var(--cuivre); }
.th-cps .course .pic { width: clamp(130px, 32vw, 190px); mix-blend-mode: normal; }

/* ---------- Réservation ---------- */
.th-cps .card { border-top-color: var(--menthe); background: var(--carte); }
.th-cps .book-img { width: min(70%, 13rem); height: auto; justify-self: center; margin-bottom: -.6rem; display: block; }
.th-cps .card h2#book-h { font-family: var(--script); font-weight: 400; text-transform: none; font-size: 3.4rem; line-height: 1; text-align: center; }
.th-cps .btn-primary { background: var(--epinette); color: #fff; }
.th-cps .btn-primary:hover { background: #24503a; }
.th-cps .btn-dark { background: var(--epinette); }
.th-cps .fmt label:has(input:checked) { border-color: var(--epinette); box-shadow: inset 0 0 0 1px var(--epinette), 0 0 0 3px rgba(147, 209, 170, .45); }
.th-cps .don button[aria-pressed="true"] { background: var(--epinette); border-color: var(--epinette); }
.th-cps input:focus-visible, .th-cps textarea:focus-visible, .th-cps button:focus-visible { outline-color: var(--menthe); }

/* ---------- Fin : la pousse et le point-virgule ---------- */
.th-cps .fin { text-align: center; display: grid; justify-items: center; gap: .6rem; padding-block: 0 4rem; }
.th-cps .fin-img { width: min(60%, 15rem); height: auto; }
.th-cps .fin-t { font-family: var(--script); font-size: clamp(2.8rem, 7vw, 4rem); color: var(--epinette); line-height: 1.1; }
.th-cps .fin-t .semi { color: var(--menthe); font-family: var(--serif); font-weight: 700; margin-left: .15em; -webkit-text-stroke: 1px var(--sauge); }
.th-cps .fin-p { font-family: var(--serif); font-style: italic; font-size: 1.2rem; max-width: 36ch; }
.th-cps footer { background: var(--carte); border-top-color: var(--ligne-f); }

/* En-tête allégé : seulement le titre script et la ligne « Au profit du… » */
.th-cps .cadre .who, .th-cps .cadre .kicker { display: none; }
.th-cps h1.script { margin-top: 0; }
@media (max-width: 34rem) { .th-cps .cadre { min-height: 21rem; } }

/* Accents cuivre de L'Atelier sur le menu : ligne « par Renaud », étiquettes de service et filet du haut */
.th-cps .menu-card { border-top: 3px solid var(--cuivre); }
.th-cps .menu-card .by, .th-cps .course .lbl { color: #a65a32; }
