/*
Theme Name: Site location (LINKAD)
Description: Site public du logiciel de gestion locative et de syndic bénévole. Charte du hall d'entrée : ardoise, bleu, laiton, boîtes aux lettres colorées par profil. Aucune police externe, aucune dépendance. Réglages : Apparence › Réglages du site.
Author: LINKAD
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: site-location
*/

/* ---------- Jetons ---------- */
:root {
  --mur: #eef1f4; --mur-fonce: #e3e8ed; --blanc: #fff; --ardoise: #1c2b3d; --texte: #33445a; --muted: #5b6b7f; --trait: #dbe1e8;
  --bleu: #2466b3; --bleu-fonce: #184a85; --vert: #2e7d5b; --vert-fonce: #1e5a41; --bordeaux: #9b2f43; --orange: #d06a1c;
  --laiton: #b38b4d; --laiton-clair: #e2c894;
  --serif: Charter, "Bitstream Charter", "Iowan Old Style", "Sitka Text", Cambria, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --largeur: 72rem;
  color-scheme: light;
  box-sizing: border-box; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: calc(5rem + env(safe-area-inset-top, 0px)); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mur); color: var(--ardoise); font: 16px/1.6 var(--sans); overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
h1, h2, h3, h4, .serif { font-family: var(--serif); color: var(--ardoise); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.07; letter-spacing: -.015em; margin: 0 0 1rem; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .7rem; }
h3 { font-size: 1.14rem; line-height: 1.3; margin: 0 0 .4rem; }
p { margin: 0 0 1rem; color: var(--texte); }
a { color: var(--bleu); text-underline-offset: .15em; }
a:hover { color: var(--bleu-fonce); }
:focus-visible { outline: 3px solid var(--laiton); outline-offset: 2px; border-radius: 4px; }
.evitement { position: absolute; left: -999px; top: .5rem; z-index: 100; background: var(--blanc); padding: .6rem 1rem; border-radius: 8px; }
.evitement:focus { left: .5rem; }
.ecran-lecteur { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Mise en page ---------- */
.bloc { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 3rem); }
.bloc-etroit { max-width: 48rem; }
.fond-blanc { background: var(--blanc); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.muted { color: var(--muted); }
.petit { font-size: .88rem; }
.centre { text-align: center; }
.accroche { font-size: 1.12rem; max-width: 36rem; }
.centre .accroche { margin-left: auto; margin-right: auto; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.1rem; margin-top: 1.8rem; }
@media (min-width: 900px) { .grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .duo { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Boutons ---------- */
.btn { display: inline-block; padding: .8rem 1.3rem; border-radius: 9px; background: var(--blanc); color: var(--bleu); border: 1px solid var(--trait);
  font: 700 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { border-color: var(--bleu); color: var(--bleu-fonce); }
.btn-plein { background: var(--bleu); border-color: var(--bleu); color: #fff; }
.btn-plein:hover { background: var(--bleu-fonce); border-color: var(--bleu-fonce); color: #fff; }
.btn-vert { background: var(--vert); border-color: var(--vert); color: #fff; }
.btn-vert:hover { background: var(--vert-fonce); border-color: var(--vert-fonce); color: #fff; }
.btn-laiton { background: linear-gradient(180deg, var(--laiton-clair), var(--laiton)); border: 0; color: #3a2a10; }
.btn-laiton:hover { color: #1f1606; filter: brightness(1.04); }
.btn-clair { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-clair:hover { color: #fff; border-color: #fff; }
.btn-petit { padding: .55rem .95rem; font-size: .92rem; }
.cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.centre .cta { justify-content: center; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 30; background: rgba(238, 241, 244, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--trait); }
.entete-bloc { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .75rem; padding-bottom: .75rem; }
.marque { color: var(--ardoise); text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; line-height: 1.15; }
.marque:hover { color: var(--ardoise); }
.marque small { display: block; font: 400 .74rem/1.3 var(--sans); color: var(--muted); letter-spacing: .01em; }
.marque img { display: block; max-height: 2.8rem; width: auto; }
.nav-site { display: flex; align-items: center; gap: 1.2rem; }
.nav-site ul { display: flex; gap: 1.2rem; list-style: none; margin: 0; padding: 0; }
.nav-site ul a { color: var(--ardoise); text-decoration: none; font-size: .95rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav-site ul a:hover { color: var(--bleu); }
.nav-site .current-menu-item > a, .nav-site .current_page_item > a, .nav-site .current_page_parent > a { border-bottom-color: var(--laiton); }
.menu-bouton { display: none; background: var(--blanc); border: 1px solid var(--trait); border-radius: 8px; padding: .5rem .8rem; font: 600 .95rem var(--sans); color: var(--ardoise); cursor: pointer; }
@media (max-width: 900px) {
  .menu-bouton { display: inline-block; }
  .nav-site { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--blanc); border-bottom: 1px solid var(--trait); padding: .5rem clamp(1rem, 4vw, 3rem) 1rem; box-shadow: 0 12px 24px rgba(28, 43, 61, .1); }
  .nav-site.ouvert { display: flex; }
  .nav-site ul { flex-direction: column; gap: 0; }
  .nav-site ul a { display: block; padding: .75rem 0; border-bottom: 1px solid var(--trait); }
  .nav-site .current-menu-item > a, .nav-site .current_page_item > a { border-bottom-color: var(--trait); color: var(--bleu); }
  .nav-site .btn { margin-top: .9rem; }
}

/* ---------- Ouverture (accueil et pages de vente) ---------- */
.ouverture { background: linear-gradient(180deg, var(--mur-fonce), var(--mur)); }
.ouverture .duo { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
@media (max-width: 860px) { .ouverture .duo { grid-template-columns: minmax(0, 1fr); } }
.preuves { display: flex; flex-wrap: wrap; gap: .45rem 1.4rem; margin: 1.6rem 0 0; padding: 0; list-style: none; font-size: .92rem; color: var(--muted); }
.preuves li::before { content: "✓ "; color: var(--vert); font-weight: 700; }
.fil { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.fil a { color: var(--muted); }

/* ---------- Le mur de boîtes aux lettres ---------- */
.mur { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; padding: .9rem; border-radius: 12px;
  background: linear-gradient(180deg, #cfd6de, #c3ccd6); box-shadow: inset 0 2px 6px rgba(28, 43, 61, .2); }
.bal { --email: var(--bleu); position: relative; border-radius: 8px; padding: 1.15rem .9rem .95rem; color: #fff; text-align: center; min-height: 9rem;
  display: flex; flex-direction: column; align-items: center; gap: .6rem; text-decoration: none;
  background: linear-gradient(155deg, color-mix(in srgb, var(--email) 88%, #fff), var(--email) 45%, color-mix(in srgb, var(--email) 70%, #000));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 4px 10px rgba(28, 43, 61, .25); transition: transform .18s ease, box-shadow .18s ease; }
.bal::after { content: ""; position: absolute; right: .6rem; bottom: .7rem; width: .35rem; height: 1.3rem; border-radius: 3px;
  background: linear-gradient(180deg, var(--laiton-clair), var(--laiton)); box-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.bal:hover, .bal:focus-visible { color: #fff; transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 10px 18px rgba(28, 43, 61, .3); }
.bal-fente { display: block; width: 58%; height: .42rem; border-radius: 3px; background: #101923; transition: height .18s ease; }
.bal:hover .bal-fente, .bal:focus-visible .bal-fente { height: .62rem; }
.bal-plaque { display: inline-block; padding: .35rem .7rem; border-radius: 3px; font: 700 .92rem/1.2 var(--serif); color: #3a2a10;
  background: linear-gradient(180deg, var(--laiton-clair), var(--laiton)); box-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.bal-resume { font-size: .8rem; color: rgba(255, 255, 255, .9); line-height: 1.35; }
.bal-bailleur { --email: var(--vert); }
.bal-syndic { --email: var(--bleu); }
.bal-copro { --email: var(--bordeaux); }
.bal-locataire { --email: var(--orange); }
.mur-legende { font-size: .85rem; color: var(--muted); text-align: center; margin: .7rem 0 0; }

/* ---------- Pastilles de public (en minuscules, pas de capitales) ---------- */
.public { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 600; margin-bottom: .7rem; color: var(--muted); }
.public::before { content: ""; width: .7rem; height: .7rem; border-radius: 3px; background: var(--muted); }
.public-bailleur { color: var(--vert); } .public-bailleur::before { background: var(--vert); }
.public-syndic { color: var(--bleu-fonce); } .public-syndic::before { background: var(--bleu); }
.public-copro { color: var(--bordeaux); } .public-copro::before { background: var(--bordeaux); }
.public-locataire { color: #a8520f; } .public-locataire::before { background: var(--orange); }

/* ---------- Fonctions (cartes à liseré de couleur) ---------- */
.fonction { background: var(--blanc); border: 1px solid var(--trait); border-top: 3px solid var(--couleur, var(--bleu)); border-radius: 10px; padding: 1.15rem 1.2rem; }
.fond-blanc .fonction { background: var(--mur); }
.fonction p { margin: 0; font-size: .95rem; }
.fonctions-bailleur .fonction { --couleur: var(--vert); }
.fonctions-syndic .fonction { --couleur: var(--bleu); }
.fonction-copro { --couleur: var(--bordeaux) !important; }
.fonction-locataire { --couleur: var(--orange) !important; }
.fonction-neutre { --couleur: var(--laiton) !important; }

/* Liste cochée */
.coches { list-style: none; margin: 1rem 0; padding: 0; }
.coches li { position: relative; padding-left: 1.4rem; margin: .45rem 0; color: var(--texte); }
.coches li::before { content: "✓"; position: absolute; left: 0; color: var(--vert); font-weight: 700; }
.fonctions-syndic .coches li::before, .coches-bleu li::before { color: var(--bleu); }

/* ---------- Étapes (vraies séquences uniquement) ---------- */
.etapes { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.4rem; counter-reset: etape; }
.etapes li { counter-increment: etape; position: relative; padding-top: 2.6rem; }
.etapes li::before { content: counter(etape); position: absolute; top: 0; left: 0; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  font: 700 1rem var(--serif); color: #3a2a10; background: linear-gradient(180deg, var(--laiton-clair), var(--laiton)); }
.etapes li::after { content: ""; position: absolute; top: 1rem; left: 2.6rem; right: -.8rem; height: 1px; background: var(--trait); }
.etapes li:last-child::after { display: none; }
.etapes h3 { margin-bottom: .3rem; }
.etapes p { font-size: .95rem; margin: 0; }
.etapes .quand { display: block; font-size: .82rem; color: var(--muted); margin-bottom: .2rem; }

/* ---------- Écran d'illustration ---------- */
.ecran { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--trait); background: var(--blanc); box-shadow: 0 16px 40px rgba(28, 43, 61, .14); }
.ecran-barre { display: flex; gap: .4rem; align-items: center; padding: .6rem .8rem; background: #f2f5f8; border-bottom: 1px solid var(--trait); }
.ecran-barre i { width: .6rem; height: .6rem; border-radius: 50%; background: #cdd6e0; }
.ecran-barre span { margin-left: .6rem; font-size: .75rem; color: var(--muted); }
.ecran-corps { padding: 1rem 1.1rem 1.2rem; font-size: .86rem; }
.ecran-corps strong { font-family: var(--serif); font-size: 1rem; }
.ecran-defile { overflow-x: auto; }
.tableau-ecran { width: 100%; border-collapse: collapse; margin-top: .7rem; min-width: 20rem; }
.tableau-ecran th, .tableau-ecran td { text-align: left; padding: .45rem .35rem; border-bottom: 1px solid var(--trait); font-size: .82rem; }
.tableau-ecran th { color: var(--muted); font-weight: 600; }
.tableau-ecran td:nth-child(n+2) { white-space: nowrap; }
.tableau-ecran td.montant { text-align: right; font-variant-numeric: tabular-nums; }
.etat { display: inline-block; font-size: .75rem; font-weight: 600; padding: .1rem .45rem; border-radius: 4px; }
.etat-ok { background: #e7f2ec; color: var(--vert-fonce); }
.etat-attente { background: #f7ece1; color: #8a4510; }
.etat-report { background: #f7ece1; color: #8a4510; }

/* ---------- Encadrés ---------- */
.avertissement { background: #e8f0fb; border-left: 4px solid var(--bleu); border-radius: 8px; padding: .95rem 1.15rem; font-size: .93rem; color: var(--texte); margin: 1.4rem 0; }
.avertissement p { margin: 0; }
.avertissement strong { color: var(--ardoise); }
.note { background: #fbf6ec; border-left: 4px solid var(--laiton); border-radius: 8px; padding: .95rem 1.15rem; font-size: .93rem; margin: 1.4rem 0; }
.note p:last-child { margin: 0; }

/* ---------- Tarifs ---------- */
.tarifs { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.1rem; margin-top: 1.8rem; }
.tarif { background: var(--blanc); border: 1px solid var(--trait); border-top: 3px solid var(--vert); border-radius: 12px; padding: 1.4rem; display: flex; flex-direction: column; }
.tarif-syndic { border-top-color: var(--bleu); }
.tarif-avant { box-shadow: 0 10px 28px rgba(46, 125, 91, .15); border-color: color-mix(in srgb, var(--vert) 45%, var(--trait)); border-top-color: var(--vert); }
.tarif .public { margin-bottom: .4rem; font-size: .85rem; }
.tarif h3 { font-size: 1.3rem; margin: 0; }
.prix { font: 700 2.2rem/1.1 var(--serif); margin: .6rem 0 .1rem; color: var(--ardoise); }
.prix small { font: 400 .95rem var(--sans); color: var(--muted); }
.tarif .capacite { font-weight: 600; color: var(--ardoise); margin: .2rem 0 0; }
.tarif .coches { font-size: .93rem; margin: .9rem 0 1.3rem; }
.tarif .btn { margin-top: auto; }
.tarifs-note { margin-top: 1.3rem; font-size: .9rem; color: var(--muted); max-width: 48rem; }
.centre .tarifs-note { margin-left: auto; margin-right: auto; }
.tarifs-solo { max-width: 26rem; }

/* ---------- Questions fréquentes ---------- */
.questions { max-width: 48rem; margin: 1.8rem auto 0; }
details.q { background: var(--blanc); border: 1px solid var(--trait); border-radius: 10px; margin-bottom: .7rem; }
.fond-blanc details.q { background: var(--mur); }
details.q summary { cursor: pointer; font-weight: 600; padding: .95rem 1.15rem; list-style: none; position: relative; padding-right: 2.6rem; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--laiton); font-weight: 400; }
details.q[open] summary::after { content: "−"; }
details.q .reponse { padding: 0 1.15rem 1rem; }
details.q .reponse p { margin: 0 0 .6rem; font-size: .96rem; }
details.q .reponse p:last-child { margin: 0; }

/* ---------- Appel final et pied de page ---------- */
.final { background: var(--ardoise); color: #e7edf3; }
.final h2 { color: #fff; }
.final p { color: #c3cedb; }
.final .accroche { color: #c3cedb; }
.pied { background: var(--ardoise); color: #9fb0c2; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.pied a { color: #c3cedb; text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; }
.pied-colonnes { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 2rem; padding-bottom: 2rem; }
.pied h2 { font: 700 .95rem var(--sans); color: #fff; margin: 0 0 .7rem; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin: .35rem 0; }
.pied .marque-pied { font: 700 1.15rem var(--serif); color: #fff; margin: 0 0 .5rem; }
.pied p { color: #9fb0c2; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.2rem; font-size: .84rem; }
@media (max-width: 760px) { .pied-colonnes { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; } }

/* ---------- Actualités ---------- */
.filtres { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.filtres a { display: inline-block; padding: .4rem .85rem; border-radius: 999px; background: var(--blanc); border: 1px solid var(--trait); color: var(--ardoise); text-decoration: none; font-size: .9rem; }
.filtres a[aria-current="page"] { background: var(--ardoise); border-color: var(--ardoise); color: #fff; }
.articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 1.2rem; margin-top: 1.8rem; }
.article-carte { background: var(--blanc); border: 1px solid var(--trait); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.article-carte img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-carte-corps { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.article-carte h2, .article-carte h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
.article-carte h2 a, .article-carte h3 a { color: var(--ardoise); text-decoration: none; }
.article-carte h2 a:hover, .article-carte h3 a:hover { color: var(--bleu); }
.article-carte p { font-size: .95rem; }
.article-carte .lire { margin-top: auto; font-weight: 600; }
.meta { font-size: .86rem; color: var(--muted); margin: 0 0 .5rem; }
.meta .public { font-size: .86rem; margin: 0 .6rem 0 0; }
.pagination { margin-top: 2rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; }
.pagination .page-numbers { display: inline-block; min-width: 2.4rem; padding: .45rem .7rem; text-align: center; border-radius: 8px; background: var(--blanc); border: 1px solid var(--trait); text-decoration: none; color: var(--ardoise); }
.pagination .current { background: var(--ardoise); border-color: var(--ardoise); color: #fff; }
.vide { background: var(--blanc); border: 1px dashed var(--trait); border-radius: 12px; padding: 2rem; text-align: center; margin-top: 1.8rem; }

/* ---------- Texte long (articles, pages libres) ---------- */
.prose { max-width: 44rem; font-size: 1.05rem; line-height: 1.72; }
.prose > * { margin-top: 0; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose table, .prose figure { margin-bottom: 1.2rem; }
.prose h2 { font-size: 1.6rem; margin: 2.4rem 0 .8rem; }
.prose h3 { font-size: 1.25rem; margin: 1.8rem 0 .6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; color: var(--texte); }
.prose li { margin: .35rem 0; }
.prose blockquote { border-left: 4px solid var(--laiton); margin-left: 0; padding: .3rem 0 .3rem 1.1rem; color: var(--texte); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--trait); padding: .55rem .5rem; text-align: left; }
.prose th { background: var(--mur); }
.prose img { border-radius: 10px; }
.prose figcaption { font-size: .86rem; color: var(--muted); margin-top: .4rem; }
.prose code { background: var(--mur); padding: .1rem .35rem; border-radius: 4px; font-size: .92em; }
.prose .wp-block-button__link { background: var(--bleu); color: #fff; border-radius: 9px; padding: .75rem 1.2rem; text-decoration: none; font-weight: 700; }
.article-tete { max-width: 44rem; }
.article-image { margin: 1.6rem 0 2rem; }
.article-image img { border-radius: 12px; display: block; width: 100%; }

/* Encadré de fin d'article */
.encart-fin { background: var(--blanc); border: 1px solid var(--trait); border-left: 5px solid var(--couleur, var(--bleu)); border-radius: 12px; padding: 1.4rem 1.5rem; margin: 2.6rem 0 0; max-width: 44rem; }
.encart-fin h2 { font-size: 1.35rem; margin: 0 0 .4rem; }
.encart-fin p { margin: 0 0 1rem; }
.encart-bailleur { --couleur: var(--vert); }
.encart-syndic { --couleur: var(--bleu); }

/* ---------- Formulaire de contact ---------- */
.formulaire { background: var(--blanc); border: 1px solid var(--trait); border-radius: 12px; padding: clamp(1.2rem, 3vw, 1.8rem); }
.champ { margin-bottom: 1.05rem; }
.champ label, .champ legend { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .95rem; }
.champ .aide { font-weight: 400; color: var(--muted); font-size: .85rem; }
.champ input[type="text"], .champ input[type="email"], .champ input[type="tel"], .champ select, .champ textarea {
  width: 100%; font: 1rem/1.4 var(--sans); padding: .7rem .8rem; border: 1px solid #c5ced8; border-radius: 8px; background: #fff; color: var(--ardoise); }
.champ textarea { min-height: 9rem; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 3px solid color-mix(in srgb, var(--bleu) 30%, transparent); border-color: var(--bleu); }
.champs-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 600px) { .champs-duo { grid-template-columns: 1fr; } }
fieldset.champ { border: 0; padding: 0; margin: 0 0 1.05rem; }
.choix { display: flex; flex-wrap: wrap; gap: .5rem; }
.choix label { display: inline-flex; align-items: center; gap: .4rem; font-weight: 400; background: var(--mur); border: 1px solid var(--trait); border-radius: 8px; padding: .5rem .8rem; cursor: pointer; margin: 0; }
.pot-de-miel { position: absolute; left: -9999px; }
.message-ok { background: #e7f2ec; border-left: 4px solid var(--vert); border-radius: 8px; padding: 1rem 1.2rem; margin-bottom: 1.2rem; }
.message-erreur { background: #fbeaec; border-left: 4px solid var(--bordeaux); border-radius: 8px; padding: 1rem 1.2rem; margin-bottom: 1.2rem; }
.message-ok p, .message-erreur p { margin: 0; color: var(--ardoise); }
.coordonnees { list-style: none; padding: 0; margin: 1.2rem 0; }
.coordonnees li { margin: 0 0 1rem; }
.coordonnees strong { display: block; font-size: .88rem; color: var(--muted); font-weight: 600; }
.coordonnees a { font: 700 1.35rem var(--serif); color: var(--ardoise); text-decoration: none; }
.coordonnees a:hover { color: var(--bleu); }
.contact-grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 860px) { .contact-grille { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Divers WordPress ---------- */
.alignwide { max-width: var(--largeur); }
.alignleft { float: left; margin: .3rem 1.2rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.2rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: .86rem; color: var(--muted); }
.contenu-libre { border-top: 1px solid var(--trait); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .entete, .pied, .final, .cta, .menu-bouton { display: none !important; }
  body { background: #fff; }
}
