/* Documents du club YCIB — mêmes couleurs et formes que la galerie (galerie.css) et la charte du site */
.doc { --navy: #12355b; --navy2: #0b2440; --teal: #1d7989; --or: #f0a500; --gris: #5b6575; color: #1f2937; }
.doc *, .doc *::before, .doc *::after { box-sizing: border-box; }
.doc [hidden] { display: none !important; }
.doc h1, .doc h2, .doc h3 { font-family: "Poppins", sans-serif; }

.doc-entete { position: relative; overflow: hidden; border-radius: 20px; padding: clamp(24px, 4vw, 44px); color: #fff; margin-bottom: 22px; box-shadow: 0 18px 45px rgba(18,53,91,.22);
	background: linear-gradient(115deg, rgba(11,36,64,.93), rgba(18,53,91,.84) 50%, rgba(29,121,137,.76)), url("/images/accueil/02-champ-paques.jpg") center / cover; }
.doc-entete h1 { color: #fff; font-weight: 800; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); line-height: 1.05; margin: 10px 0; }
.doc-entete p { margin: 0; opacity: .92; font-size: 1.08rem; max-width: 60ch; }
.doc-eti { display: inline-block; background: var(--or); color: var(--navy2); font: 600 .76rem "Poppins", sans-serif; letter-spacing: .14em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }

.doc-barre { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.doc-cherche { flex: 1 1 260px; border: 1px solid #dbe5ef; border-radius: 999px; padding: 10px 18px; font-size: .95rem; background: #fff; }
.doc-outils { display: flex; gap: 8px; flex-wrap: wrap; }
.doc-btn { border: 0; border-radius: 999px; padding: 9px 18px; font: 600 .9rem "Poppins", sans-serif; background: var(--navy); color: #fff; cursor: pointer; }
.doc-btn:hover { background: var(--teal); }
.doc-btn:disabled { opacity: .6; cursor: default; }
.doc-btn-clair { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1px #c9d6e4; }
.doc-btn-clair:hover { background: #eef4fa; color: var(--navy); }
.doc-btn-danger { background: #b91c1c; margin-right: auto; }
.doc-btn-danger:hover { background: #7f1d1d; }

.doc-alerte { border-radius: 12px; padding: 10px 16px; margin-bottom: 14px; background: #e0f2fe; color: #075985; }
.doc-alerte.succes { background: #dcfce7; color: #166534; }
.doc-alerte.attention { background: #fef3c7; color: #92400e; }
.doc-alerte.erreur { background: #fee2e2; color: #991b1b; }

.doc-section { background: #fff; border-radius: 18px; padding: 18px 22px; margin-bottom: 18px; box-shadow: 0 6px 22px rgba(18,53,91,.08); }
.doc-section-tete { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; border-bottom: 3px solid var(--or); padding-bottom: 8px; margin-bottom: 10px; }
.doc-section h2 { margin: 0; color: var(--navy); font-size: 1.35rem; font-weight: 700; }
.doc-section-desc { margin: 0 0 10px; color: var(--gris); }
.doc-section-outils { display: flex; gap: 6px; }
.doc-section-outils button, .doc-modifier { border: 0; background: #eef4fa; color: var(--navy); border-radius: 999px; padding: 5px 12px; font: 600 .8rem "Poppins", sans-serif; cursor: pointer; }
.doc-section-outils button:hover, .doc-modifier:hover { background: var(--teal); color: #fff; }

.doc-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.doc-fichier { display: flex; align-items: center; gap: 8px; }
.doc-lien { flex: 1; display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 14px; background: #f6f9fc; color: inherit !important; text-decoration: none !important; transition: background .15s, transform .15s; min-width: 0; }
.doc-lien:hover { background: #e8f2f6; transform: translateX(2px); }
.doc-icone { font-size: 1.7rem; line-height: 1; flex: none; }
.doc-texte { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.doc-texte b { color: var(--navy); font: 600 1rem "Poppins", sans-serif; overflow-wrap: anywhere; }
.doc-texte span { color: #374151; font-size: .92rem; }
.doc-texte small { color: var(--gris); font-size: .78rem; margin-top: 2px; }
.doc-badge { flex: none; border-radius: 999px; padding: 3px 10px; font: 600 .74rem "Poppins", sans-serif; white-space: nowrap; }
.doc-badge.public { background: #dcfce7; color: #166534; }
.doc-badge.membres { background: #e0f2fe; color: #075985; }
.doc-badge.comite { background: #fef3c7; color: #92400e; }
.doc-fichier-outils { display: flex; gap: 4px; flex: none; }
.doc-modifier:disabled { opacity: .35; cursor: default; background: #eef4fa; color: var(--navy); }
.doc-vide { color: var(--gris); text-align: center; padding: 14px; margin: 0; }
.doc-reserve { background: #fff; border: 1px dashed #c9d6e4; border-radius: 14px; padding: 12px 18px; color: var(--navy); }
.doc-reserve a { color: var(--teal); font-weight: 600; }

.doc-dialogue { border: 0; border-radius: 18px; padding: 0; width: min(560px, calc(100vw - 24px)); box-shadow: 0 24px 60px rgba(11,36,64,.35); }
.doc-dialogue::backdrop { background: rgba(11,36,64,.5); }
.doc-dialogue form { padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; margin: 0; }
.doc-dialogue h3 { margin: 0; color: var(--navy); }
.doc-dialogue label { display: flex; flex-direction: column; gap: 4px; font: 600 .85rem "Poppins", sans-serif; color: var(--navy); }
.doc-dialogue input:not([type=radio]):not([type=file]), .doc-dialogue select, .doc-dialogue textarea { font: inherit; font-weight: 400; color: #1f2937; border: 1px solid #c9d6e4; border-radius: 10px; padding: 8px 10px; width: 100%; }
.doc-dialogue footer { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.doc-acces { border: 1px solid #dbe5ef; border-radius: 12px; padding: 8px 14px 10px; margin: 0; }
.doc-acces legend { font: 600 .85rem "Poppins", sans-serif; color: var(--navy); padding: 0 6px; }
.doc-acces label { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; color: #1f2937; padding: 3px 0; }
.doc-acces input[type=radio] { appearance: auto; -webkit-appearance: auto; opacity: 1; position: static; width: auto; height: auto; margin: 0; }
.doc-depot { position: relative; border: 2px dashed #9fb6cc; border-radius: 14px; padding: 18px; text-align: center; cursor: pointer; background: #f6f9fc; }
.doc-depot.survol { border-color: var(--teal); background: #e8f2f6; }
.doc-depot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.doc-depot small { font-weight: 400; color: var(--gris); }
.doc-dialogue progress { width: 100%; height: 8px; }

@media (max-width: 600px) {
	.doc-section { padding: 14px; }
	.doc-lien { gap: 10px; padding: 8px 10px; }
	.doc-badge { display: none; }
}
