body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    background: #DDDDCF;
    color: #2b1b14;
}

.bandeau {
    background: #492718;
    color: white;
    text-align: center;
    padding: 10px 15px;
}

.bandeau h1 {
    margin: 0;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.bandeau p {
    margin: 4px 0 0;
    font-size: 1.3rem;
}

.accueil {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.cartes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.carte {
    display: flex;
    align-items: center;
    gap: 18px;
    text-align: left;
    padding: 16px;
}

.carte img {
    width: 135px;
    height: 110px;
    object-fit: cover;
    flex-shrink: 0;
}

.carte:hover {
    background: #cdb0a1;
}

.icone {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.carte h2 {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
}

.carte p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.35;
}

.page-liste {
    max-width: 1100px;
    margin: 35px auto;
    padding: 0 20px;
}

.compteur-global {
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.bloc-commune {
    margin: 12px 0;
    padding: 14px 18px;
    background: #f5f0ea;
    border: 1px solid #b9a694;
    border-radius: 10px;
}

.titre-commune {
    margin: 0 0 10px 0;
    padding: 10px 14px;
    background: #936645;
    color: white;
    border-radius: 6px;
    font-size: 1.35rem;
}

.titre-commune span {
    font-size: 0.95rem;
    font-weight: normal;
    margin-left: 12px;
}

.titre-paroisse {
    margin: 10px 0 5px 12px;
    color: #492718;
    font-size: 1.15rem;
}

.label-eglises {
    margin: 8px 0 8px 30px;
    font-weight: bold;
    color: #5c3a29;
}

.liste-eglises {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 35px;
    margin-left: 45px;
    margin-bottom: 10px;
}

.eglise-lien {
    text-decoration: none;
    color: #2b1b14;
}

.eglise-lien::before {
    content: "• ";
}

.eglise-lien:hover {
    text-decoration: underline;
}

.lieudit {
    color: #6f625a;
    font-style: italic;
    font-size: 0.95em;
}

.rubrique-fiche + .rubrique-fiche {
    margin-top: 40px;
}

@media (max-width: 750px) {
    .liste-eglises {
        grid-template-columns: 1fr;
        margin-left: 25px;
    }

    .titre-commune span {
        display: block;
        margin-left: 0;
        margin-top: 4px;
    }
}

.fiche-saisie {
    max-width: 1100px;
    margin: 18px auto;
    padding: 0 20px;
}

.identite-fiche {
    background: #f5f0ea;
    border: 1px solid #b9a694;
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 22px;
}

.identite-fiche h2 {
    margin-top: 0;
    color: #492718;
}

.rubrique-fiche {
    background: #f5f0ea;
    border: 1px solid #b9a694;
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 18px;
}

.rubrique-fiche h3 {
    margin-top: 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #b58c67;
    color: #492718;
}

.form-grille {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 18px;
}

.form-grille label,
.rubrique-fiche label {
    display: flex;
    flex-direction: column;
    font-weight: bold;
    color: #3b281f;
}

input,
select,
textarea {
    margin-top: 5px;
    padding: 8px;
    border: 1px solid #b9a694;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

textarea {
    min-height: 90px;
}

.champ-large {
    grid-column: 1 / -1;
}

.info-module {
    background: #efe6dc;
    border-left: 4px solid #936645;
    padding: 10px 14px;
    margin-top: 15px;
    font-style: italic;
}

.actions-formulaire {
    text-align: center;
    margin: 10px 0;
}

.actions-formulaire button {
    background: #492718;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 11px 24px;
    font-size: 1rem;
    cursor: pointer;
}

.actions-formulaire button:hover {
    background: #6b3a24;
}

.cases-cocher {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 8px 24px;
    margin-top: 8px;
}

.cases-cocher label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 25px;
    margin-bottom: 8px;
    font-weight: normal;
}

.cases-cocher input[type="checkbox"] {
    margin: 0;
}

/* ---------- Cases à cocher sonneries ---------- */
label.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 15px;   /* espace entre les différentes cases */
}

label.checkbox input {
    margin: 0;
}

/* ---------- Tableaux de saisie ---------- */

.table-rubriques {
    width: 100%;
    border-collapse: collapse;
}

.table-rubriques th,
.table-rubriques td {
    padding: 10px 16px;
    vertical-align: top;
}

.table-rubriques th {
    text-align: left;
}

/* ---------- Boutons liens ---------- */

.bouton-lien {
    display: inline-block;
    background: #492718;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 0.95rem;
}

.bouton-lien:hover {
    background: #6b3a24;
}

.bouton-secondaire {
    background: #936645;
}

/* ---------- Petites informations ---------- */

.petite-info {
    color: #6f625a;
    font-size: 0.92rem;
}

/* ---------- Colonne Vitrail ---------- */

.colonne-vitrail {
    text-align: left;
	vertical-align: middle;
    width: 170px;
}

.colonne-vitrail .bouton-lien {
    display: inline-block;
    margin-top: 14px;
}

.petite-info {
    color: #6f625a;
    font-size: 0.92rem;
    margin-bottom: 8px;
}

.accueil-compact {
    margin: 22px auto;
}

.accueil-compact .cartes {
    gap: 12px;
}

.accueil-compact .carte {
    padding: 12px;
    gap: 14px;
}

.accueil-compact .carte img {
    width: 120px;
    height: 90px;
}

.accueil-compact .carte h2 {
    margin-bottom: 5px;
    font-size: 1.18rem;
}

.accueil-compact .carte p {
    font-size: 0.92rem;
    line-height: 1.25;
}

footer {
    text-align: center;
    font-size: 0.9rem;
    color: #5c4a42;
    margin: 30px 0 20px;
}

/* ---------- Actions dans les tableaux de saisie ---------- */

.actions-ligne {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.formulaire-suppression {
    display: inline;
    margin: 0;
}

.formulaire-suppression button {
    margin: 0;
}

.bouton-danger {
    display: inline-block;
    background: #a43a27;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 7px 12px;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.2;
    cursor: pointer;
}

.bouton-danger:hover {
    background: #bf4a34;
}

/* ---------- Page Fichiers et documents ---------- */

body.page-documents {
    background: #dce4e8;
}

.page-documents .fiche-saisie > h2 {
    color: #35566b;
}

