/* transneuchatel.ch — habillage « absinthe & pierre jaune »
   gabarit astrov2 · accent #6f8f2e · neutre #f2f3e8 · encre #20261a · titres bookman · motif spirales
   composition : en-tête pilule, hero diagonal, titres motif, lignes carte, photos medaillon, boutons goutte, pied colonnes. */
html:not(#_) body.aa {
  --aa-fond: #f2f3e8; --aa-surface: #fdfdf8; --aa-texte: #20261a; --aa-muet: #5a6150; --aa-bord: #d5d6cb;
  --aa-secondaire: #485d1e; --aa-secondaire-txt: #fff; --aa-rayon: 16px; --aa-rayon-s: 999px 999px 999px 6px;
  --aa-ombre: 0 2px 4px -2px rgba(111,143,46,0.12), 0 16px 32px -22px rgba(111,143,46,0.45);
  --aa-police: Tahoma, "Segoe UI", system-ui, sans-serif; --aa-police-titre: "Bookman Old Style", "URW Bookman", Georgia, serif;
  --x-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14' viewBox='0 0 24 14'%3E%3Cpath d='M12 7 m-2 0 a2 2 0 1 1 4 0 a4 4 0 1 1 -8 0 a6 6 0 1 1 12 0' fill='none' stroke='%236f8f2e' stroke-width='1.5' opacity='.55'/%3E%3C/svg%3E"); --x-motif-blanc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14' viewBox='0 0 24 14'%3E%3Cpath d='M12 7 m-2 0 a2 2 0 1 1 4 0 a4 4 0 1 1 -8 0 a6 6 0 1 1 12 0' fill='none' stroke='%23ffffff' stroke-width='1.5' opacity='.55'/%3E%3C/svg%3E"); --x-clair: #eef2e6; --x-fonce: #485d1e;
  background: #f2f3e8;
}
html:not(#_) body.aa {
  --aa-teinte: #6f8f2e; --aa-page: #f2f3e8; --aa-surface-2: #f8f9f4; --aa-lien: #485d1e; --aa-primaire-txt: #fff;
  --aa-primaire: #617d28; --aa-primaire-fonce: #485d1e;
  --aa-tete: #fdfdf8; --aa-tete-txt: #20261a; --aa-barre: #485d1e; --aa-bande: #617d28; --aa-bande-txt: #fff; --aa-bande-bord: #485d1e;
  --aa-pied: #f2f3e8; --aa-pied-txt: #20261a; --aa-fond: #fdfdf8;
}
html:not(#_) .aa-h1, html:not(#_) .aa-h2, html:not(#_) .aa-fiche__titre, html:not(#_) .aa-ligne__titre, html:not(#_) .aa-logo__txt, html:not(#_) .aa-side__h, html:not(#_) .aa-footer__h { font-family: var(--aa-police-titre); }
html:not(#_) .aa-h1 { letter-spacing: -.01em; }
/* en-tête */
html:not(#_) .aa-header { background: transparent; border: 0; padding-top: .6rem; }
html:not(#_) .aa-header__in { background: #fdfdf8; border-radius: 999px; box-shadow: var(--aa-ombre); border: 1px solid #d5d6cb; padding-inline: 1.1rem; }
@media (max-width: 800px) { html:not(#_) .aa-header__in { border-radius: 22px; margin-inline: 8px; } }
@media (min-width: 801px) { html:not(#_) .aa-nav ul { gap: .2rem; } html:not(#_) .aa-nav a { border-radius: 999px; } html:not(#_) .aa-nav a:hover, html:not(#_) .aa-nav a.is-actif { background: #eef2e6; color: #485d1e; } }
html:not(#_) .aa-logo__mark { border-radius: 50% 50% 18px 18px; background: radial-gradient(circle at 35% 30%, #a1b677, var(--aa-primaire) 70%); box-shadow: 0 4px 12px -5px rgba(111,143,46,0.8); }
@media (min-width: 801px) { html:not(#_) .aa-nav__cta a { background: var(--aa-primaire); color: #fff !important; border-radius: var(--aa-rayon-s); box-shadow: 0 8px 18px -10px rgba(111,143,46,0.85); } html:not(#_) .aa-nav__cta a:hover { background: var(--x-fonce); } }
/* hero */
html:not(#_) .aa-hero { background: none; border: 0; }
html:not(#_) .aa-hero__in { background: linear-gradient(135deg, #eef2e6 0 48%, #fdfdf8 48%); border-radius: 30px 6px 30px 6px; box-shadow: var(--aa-ombre); }
html:not(#_) .aa-hero__chiffres { display: inline-block; border-radius: var(--aa-rayon-s); padding: .3rem .85rem; background: #eef2e6; color: #485d1e; }
html:not(#_) .aa-hero__form { background: #fdfdf8; border: 1px solid #d5d6cb; border-radius: 120px 120px 20px 20px / 60px 60px 20px 20px; box-shadow: 0 22px 40px -28px rgba(111,143,46,0.7); }
@media (min-width: 900px) { html:not(#_) .aa-hero__form { order: -1; } }
/* titres */
html:not(#_) .aa-h2, html:not(#_) .aa-side__h, html:not(#_) .aa-bande { background: var(--x-motif-blanc) right 10px center / 48px 28px no-repeat, var(--aa-bande); padding-right: 66px; }
html:not(#_) .aa-bloc__tete { border-bottom: 0; }
/* lignes d'annonces */
html:not(#_) .aa-ligne { background: #fdfdf8; border: 1px solid #d5d6cb; border-radius: 20px; box-shadow: 0 1px 0 #d5d6cb, 0 14px 26px -22px rgba(111,143,46,0.7); }
html:not(#_) .aa-ligne:hover { border-color: #b0c18b; transform: translateY(-2px); }
html:not(#_) .aa-ligne { transition: transform .25s ease, border-color .25s ease; }
html:not(#_) .aa-ligne__img { border-radius: 50% 50% 18px 18px; overflow: hidden; box-shadow: 0 0 0 3px #fff, 0 8px 16px -10px rgba(111,143,46,0.8); }
html:not(#_) .aa-ligne__img img { transition: transform .5s ease; } html:not(#_) .aa-ligne:hover .aa-ligne__img img { transform: scale(1.05); }
html:not(#_) .aa-ligne__cat { background: #eef2e6; color: #485d1e; border-radius: var(--aa-rayon-s); box-shadow: none; }
html:not(#_) .aa-ligne__new { background: var(--aa-secondaire); color: #fff; border-radius: var(--aa-rayon-s); }
html:not(#_) .aa-ligne__titre a:hover { color: var(--aa-primaire); }
html:not(#_) .aa-ligne__lire { border-radius: var(--aa-rayon-s); }
/* boutons et listes de liens */
html:not(#_) .aa-btn { border-radius: var(--aa-rayon-s); }
html:not(#_) .aa-btn--primaire { background: var(--aa-primaire); color: #fff; box-shadow: 0 10px 22px -12px rgba(111,143,46,0.85); }
html:not(#_) .aa-btn--primaire:hover { background: var(--x-fonce); }
html:not(#_) .aa-btn--secondaire { background: #fdfdf8; color: #485d1e; border: 2px solid var(--aa-primaire); }
html:not(#_) .aa-btn--secondaire:hover { background: #eef2e6; }
html:not(#_) .aa-liens li { background: #fdfdf8; border: 1px solid #d5d6cb; border-radius: var(--aa-rayon-s); }
html:not(#_) .aa-liens li:hover { background: #eef2e6; border-color: #b7c796; }
html:not(#_) .aa-liens a { color: var(--aa-texte); } html:not(#_) .aa-liens__nb, html:not(#_) .aa-side__nb { color: #485d1e; }
html:not(#_) .aa-filtres { background: #eef2e6; border: 1px solid #d4ddc0; border-radius: 20px; }
html:not(#_) .aa-side { background: #fdfdf8; border: 1px solid #d5d6cb; border-radius: 20px; }
html:not(#_) .aa-side__h::after { content: ""; display: block; width: 48px; height: 14px; margin-top: .3rem; background: var(--x-motif) left center / 24px 14px repeat-x; }
html:not(#_) .aa-side__liste li.is-actif { background: var(--aa-primaire); border-color: var(--aa-primaire); }
html:not(#_) .aa-bloc--deposer, html:not(#_) .aa-deposer-cta { background: var(--x-motif) 50% 12px / 24px 14px repeat-x, #fdfdf8; border: 1px solid #d5d6cb; border-radius: 26px; text-align: center; max-width: 620px; margin-inline: auto; padding-top: 2.2rem; box-shadow: var(--aa-ombre); }
/* fiche d'annonce */
html:not(#_) .aa-fiche__photo { border-radius: 50% 50% 18px 18px; box-shadow: 0 0 0 5px #fff, 0 24px 44px -26px rgba(111,143,46,0.75); }
html:not(#_) .aa-fiche__miniatures img { border-radius: 14px; }
html:not(#_) .aa-fiche__infos { background: #eef2e6; border: 1px solid #d4ddc0; border-radius: 20px; color: var(--aa-texte); }
html:not(#_) .aa-fiche__infos a { color: #485d1e; }
html:not(#_) .aa-fiche__cta--haut { background: #fdfdf8; border: 1px solid #d5d6cb; border-radius: 24px; box-shadow: var(--aa-ombre); }
html:not(#_) .aa-repondre { background: #fdfdf8; border: 1px solid #d5d6cb; border-top: 4px solid var(--aa-primaire); border-radius: 20px; box-shadow: var(--aa-ombre); }
html:not(#_) .aa-chip { border-radius: var(--aa-rayon-s); } html:not(#_) .aa-chips--lecture .aa-chip, html:not(#_) .aa-chips--lecture li { background: #eef2e6; color: var(--aa-texte); border-color: #d4ddc0; }
html:not(#_) .aa-depot__bloc { background: #fdfdf8; border: 1px solid #d5d6cb; border-radius: 22px; box-shadow: 0 12px 26px -22px rgba(111,143,46,0.6); }
html:not(#_) .aa-pagination a, html:not(#_) .aa-pagination span { border-radius: var(--aa-rayon-s); }
/* pied de page */
html:not(#_) .aa-footer { --aa-pied: #f2f3e8; --aa-pied-txt: #20261a; background: #f2f3e8; color: #20261a; border-top: 1px solid #d5d6cb; }
html:not(#_) .aa-footer__col { background: #fdfdf8; border: 1px solid #d5d6cb; border-radius: 18px; padding: 1rem 1.1rem; }
html:not(#_) .aa-footer a { color: #20261a; } html:not(#_) .aa-footer__h, html:not(#_) .aa-footer__brand { color: #485d1e; } html:not(#_) .aa-footer a:hover { color: #617d28; }
html:not(#_) .aa-footer__fictif, html:not(#_) .aa-footer__bas, html:not(#_) .aa-footer__membres { color: #5a6150; }
html:not(#_) .aa-bloc__tete { flex-wrap: wrap; row-gap: .45rem; }
html:not(#_) .aa-bloc__tete > .aa-h2 { flex: 1 1 auto; min-width: min(100%%, 15rem); overflow-wrap: normal; word-break: normal; hyphens: none; }
html:not(#_) .aa-fiche__barre .aa-btn { white-space: normal; line-height: 1.2; text-align: center; }
@media (prefers-reduced-motion: reduce) { html:not(#_) .aa-ligne, html:not(#_) .aa-ligne__img img { transition: none; } html:not(#_) .aa-ligne:hover { transform: none; } }
