/* travestivaud.ch — habillage « vignes de Lavaux : grenat & or pâle »
   gabarit astrov2 · accent #8e2c48 · neutre #f6ede9 · encre #2c1820 · titres constantia · motif feuilles
   composition : en-tête deux-tons, hero diagonal, titres pastille, lignes zebre, photos arche, boutons doux, pied sombre. */
html:not(#_) body.aa {
  --aa-fond: #f6ede9; --aa-surface: #fffaf8; --aa-texte: #2c1820; --aa-muet: #664f57; --aa-bord: #dacfcd;
  --aa-secondaire: #5c1d2f; --aa-secondaire-txt: #fff; --aa-rayon: 16px; --aa-rayon-s: 14px;
  --aa-ombre: 0 2px 4px -2px rgba(142,44,72,0.12), 0 16px 32px -22px rgba(142,44,72,0.45);
  --aa-police: Calibri, Carlito, "Segoe UI", system-ui, sans-serif; --aa-police-titre: Constantia, "Lucida Bright", Georgia, serif;
  --x-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='12' viewBox='0 0 22 12'%3E%3Cpath d='M2 10 C 6 2%2C 14 2%2C 20 2 C 18 8%2C 10 11%2C 2 10 Z' fill='%238e2c48' opacity='.45'/%3E%3C/svg%3E"); --x-motif-blanc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='12' viewBox='0 0 22 12'%3E%3Cpath d='M2 10 C 6 2%2C 14 2%2C 20 2 C 18 8%2C 10 11%2C 2 10 Z' fill='%23ffffff' opacity='.45'/%3E%3C/svg%3E"); --x-clair: #f1e6e9; --x-fonce: #5c1d2f;
  background: #f6ede9;
}
html:not(#_) body.aa {
  --aa-teinte: #8e2c48; --aa-page: #f6ede9; --aa-surface-2: #faf6f4; --aa-lien: #5c1d2f; --aa-primaire-txt: #fff;
  --aa-primaire: #8e2c48; --aa-primaire-fonce: #5c1d2f;
  --aa-tete: #fffaf8; --aa-tete-txt: #2c1820; --aa-barre: #5c1d2f; --aa-bande: #8e2c48; --aa-bande-txt: #fff; --aa-bande-bord: #5c1d2f;
  --aa-pied: #2c1820; --aa-pied-txt: #f3eee9; --aa-fond: #fffaf8;
}
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: linear-gradient(90deg, #f1e6e9 0 34%, #fffaf8 34%); border-bottom: 1px solid #dacfcd; }
@media (max-width: 800px) { html:not(#_) .aa-header { background: #fffaf8; border-bottom: 4px solid #8e2c48; } }
@media (min-width: 801px) { html:not(#_) .aa-nav { margin-inline: auto 0; } html:not(#_) .aa-nav a:hover, html:not(#_) .aa-nav a.is-actif { color: var(--aa-primaire); box-shadow: inset 0 -3px 0 var(--aa-primaire); background: none; border-radius: 0; } }
html:not(#_) .aa-logo__mark { border-radius: 999px 999px 14px 14px / 60px 60px 14px 14px; background: radial-gradient(circle at 35% 30%, #b67688, var(--aa-primaire) 70%); box-shadow: 0 4px 12px -5px rgba(142,44,72,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(142,44,72,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, #f1e6e9 0 48%, #fffaf8 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: #f1e6e9; color: #5c1d2f; }
html:not(#_) .aa-hero__form { background: #fffaf8; border: 1px solid #dacfcd; border-radius: 120px 120px 20px 20px / 60px 60px 20px 20px; box-shadow: 0 22px 40px -28px rgba(142,44,72,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 { border-radius: 999px; padding-inline: 1.1rem; }
html:not(#_) .aa-bloc__tete { border-bottom: 0; }
/* lignes d'annonces */
html:not(#_) .aa-ligne { background: #fffaf8; border: 1px solid #dacfcd; border-radius: 14px; box-shadow: none; }
html:not(#_) .aa-ligne:nth-child(even) { background: #faf5f3; }
html:not(#_) .aa-ligne:hover { box-shadow: 0 0 0 2px #c696a4; }
html:not(#_) .aa-ligne__img { border-radius: 999px 999px 14px 14px / 60px 60px 14px 14px; overflow: hidden; box-shadow: 0 0 0 3px #fff, 0 8px 16px -10px rgba(142,44,72,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: #f1e6e9; color: #5c1d2f; 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(142,44,72,0.85); }
html:not(#_) .aa-btn--primaire:hover { background: var(--x-fonce); }
html:not(#_) .aa-btn--secondaire { background: #fffaf8; color: #5c1d2f; border: 2px solid var(--aa-primaire); }
html:not(#_) .aa-btn--secondaire:hover { background: #f1e6e9; }
html:not(#_) .aa-liens li { background: #fffaf8; border: 1px solid #dacfcd; border-radius: var(--aa-rayon-s); }
html:not(#_) .aa-liens li:hover { background: #f1e6e9; border-color: #c696a4; }
html:not(#_) .aa-liens a { color: var(--aa-texte); } html:not(#_) .aa-liens__nb, html:not(#_) .aa-side__nb { color: #5c1d2f; }
html:not(#_) .aa-filtres { background: #f1e6e9; border: 1px solid #ddc0c8; border-radius: 20px; }
html:not(#_) .aa-side { background: #fffaf8; border: 1px solid #dacfcd; border-radius: 20px; }
html:not(#_) .aa-side__h::after { content: ""; display: block; width: 44px; height: 12px; margin-top: .3rem; background: var(--x-motif) left center / 22px 12px 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 / 22px 12px repeat-x, #fffaf8; border: 1px solid #dacfcd; 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: 999px 999px 14px 14px / 60px 60px 14px 14px; box-shadow: 0 0 0 5px #fff, 0 24px 44px -26px rgba(142,44,72,0.75); }
html:not(#_) .aa-fiche__miniatures img { border-radius: 14px; }
html:not(#_) .aa-fiche__infos { background: #f1e6e9; border: 1px solid #ddc0c8; border-radius: 20px; color: var(--aa-texte); }
html:not(#_) .aa-fiche__infos a { color: #5c1d2f; }
html:not(#_) .aa-fiche__cta--haut { background: #fffaf8; border: 1px solid #dacfcd; border-radius: 24px; box-shadow: var(--aa-ombre); }
html:not(#_) .aa-repondre { background: #fffaf8; border: 1px solid #dacfcd; 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: #f1e6e9; color: var(--aa-texte); border-color: #ddc0c8; }
html:not(#_) .aa-depot__bloc { background: #fffaf8; border: 1px solid #dacfcd; border-radius: 22px; box-shadow: 0 12px 26px -22px rgba(142,44,72,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: #2c1820; --aa-pied-txt: #f3eee9; background: #2c1820; color: #f3eee9; border-top: 4px solid var(--aa-primaire); }
html:not(#_) .aa-footer a { color: #fff; } html:not(#_) .aa-footer__h { color: #fff; } html:not(#_) .aa-footer__fictif, html:not(#_) .aa-footer__bas { color: rgba(255,255,255,.8); }
html:not(#_) .aa-footer__bas { border-top-color: rgba(255,255,255,.18); }
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; } }
