/* Fallah — « Communauté » (v48). Couleur : vert tendre, comme la carte de l'accueil. Animations douces, coupées si le téléphone le demande. */
#communaute { --tint: #ddf5d3; --edge: #9cd688;
  background: linear-gradient(180deg, color-mix(in srgb, #ddf5d3 55%, var(--paper) 45%) 0, var(--paper) 360px); }
#communaute .catalogue-header { background: linear-gradient(180deg, rgba(255, 252, 246, .97), color-mix(in srgb, #ddf5d3 55%, #fffaf2 45%)); border-bottom: 2px solid var(--edge); }
#communaute .catalogue-header > div { display: grid; grid-template-columns: auto 1fr; column-gap: .7rem; align-items: center; }
#communaute .catalogue-header > div::before { content: ""; grid-row: 1 / span 2; width: 2.7rem; height: 2.7rem; border-radius: 12px; background: url(/assets/ui/communaute.png) center / cover no-repeat; box-shadow: 0 6px 14px rgba(60, 160, 40, .22); }
#communaute .catalogue-header h2 { font-weight: 900; }
#communaute-root { padding-bottom: 120px; }

@keyframes co-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.co-in { animation: co-up .45s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 60ms); }
@media (prefers-reduced-motion: reduce) { .co-in { animation: none !important; } }

.co-hero { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 18px; border-radius: 24px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(140deg, #4cc46a, #1f8a4c); box-shadow: 0 14px 28px rgba(31, 138, 76, .3); }
.co-hero::after { content: ""; position: absolute; right: -40px; top: -50px; width: 170px; height: 170px; border-radius: 50%; background: #fff; opacity: .12; }
.co-hero-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: rgba(255, 255, 255, .22); font-size: 2.1rem; }
.co-hero h3 { margin: 0 0 4px; font-size: 1.3rem; }
.co-hero p { margin: 0; font-size: .88rem; line-height: 1.45; color: #ecfaf0; }

.co-card { margin-top: 14px; padding: 16px; border-radius: 22px; background: #fffdf8; border: 2px solid #eadcc4; box-shadow: 0 10px 22px rgba(70, 48, 15, .06); }
.co-h { margin: 0 0 10px; font-size: 1.08rem; }
.co-text { margin: 0 0 12px; color: #5c5244; line-height: 1.45; font-size: .9rem; }
.co-field { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; border: 0; min-width: 0; }
.co-field > span, .co-field legend { padding: 0; font-weight: 900; font-size: .9rem; color: #2b2119; }
.co-field small { color: #8a7d6a; font-weight: 700; }
.co-field textarea, .co-field input { width: 100%; min-width: 0; box-sizing: border-box; padding: 10px 12px; border: 2px solid #e3d8c3; border-radius: 14px; background: #fff; font: inherit; font-size: 1rem; color: inherit; }
.co-field textarea { min-height: 120px; resize: vertical; line-height: 1.45; }
.co-field textarea:focus, .co-field input:focus { outline: none; border-color: #3fae5c; box-shadow: 0 0 0 4px rgba(63, 174, 92, .18); }
.co-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 10px; }
.co-help { margin: 6px 0 0; color: #7a6e5e; font-size: .8rem; }
.co-kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.co-kind { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 10px; border: 2px solid #e3d8c3; border-radius: 14px; background: #fff; font: inherit; font-size: .88rem; font-weight: 800; color: #4f463b; text-align: start; cursor: pointer; }
.co-kind span { font-size: 1.15rem; }
.co-kind.on { border-color: #3fae5c; background: #ecfaf0; color: #1f6b3a; box-shadow: 0 4px 12px rgba(63, 174, 92, .18); }
.co-send { width: 100%; min-height: 54px; margin-top: 14px; border: 0; border-radius: 16px; background: linear-gradient(140deg, #3fae5c, #1f8a4c); color: #fff; font: inherit; font-size: 1.02rem; font-weight: 900; box-shadow: 0 10px 22px rgba(31, 138, 76, .28); cursor: pointer; }
.co-send:disabled { opacity: .7; }
.co-privacy { margin: 10px 0 0; color: #7a6e5e; font-size: .78rem; line-height: 1.4; }
.co-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.co-secondary, .co-wa { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 8px 14px; border: 2px solid #9cd688; border-radius: 14px; background: #fff; color: #1f6b3a; font: inherit; font-size: .92rem; font-weight: 900; text-decoration: none; cursor: pointer; }
.co-share { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.co-wa { border-color: #25d366; background: #e9fbef; color: #0f6e35; }
.co-sheet { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; margin-top: 4px; padding: 10px 12px; border-radius: 16px; background: #fff7e6; border: 2px solid #f3cf8a; }
.co-sheet > span { font-size: 1.5rem; }
.co-sheet small { display: block; color: #9a6a12; font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.co-sheet strong { display: block; unicode-bidi: plaintext; }
.co-sheet em { display: block; font-style: normal; color: #7a6e5e; font-size: .82rem; unicode-bidi: plaintext; }
#communaute .co-sheet button { width: 32px; height: 32px; min-height: 0; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(154, 106, 18, .15); color: #7a520c; font-size: 1.1rem; font-weight: 900; cursor: pointer; }
.co-pending { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: #fff3dc; border: 2px solid #f3cf8a; color: #7a520c; }
.co-pending > span { font-size: 1.4rem; }
.co-pending strong { display: block; }
.co-pending small { display: block; font-weight: 700; }
.co-pending button { min-height: 40px; padding: 6px 12px; border: 0; border-radius: 12px; background: #fff; color: #7a520c; font: inherit; font-weight: 900; cursor: pointer; }

/* Bouton « Signaler une erreur » dans la fiche produit */
.report-error { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; margin: 16px 0 6px; padding: 10px 14px; border: 2px dashed #f0a24a; border-radius: 16px; background: #fff7ec; color: #8f4b00; font: inherit; font-weight: 900; cursor: pointer; }
