/* encuentros-mexico.lat — registre « jade olmèque » (Mexique, site national).
   Palette : accent jade #1f7a5a (favicon) · jade profond #15573f · neutre maïs/sable #f5ecdc, ivoire #fffaf1 · encre #1b2620.
   Composition : en-tête ivoire, logo À DROITE (médaillon de jade), actions à gauche, vague de jade dessous ;
   hero sur fond sable avec cœur SVG en filigrane et formulaire en carte à ARCHE ; annonces en cartes larges,
   photo à gauche en arche, zoom doux ; catégories en pilules, villes en cartouches ; fiche : photo en arche,
   CTA en carte ivoire ; pied de page en carte centrée sur fond sable. Rien de caché, rien déplacé. */

html:not(#_) body.aa {
  --aa-fond: #f5ecdc;
  --aa-surface: #fffaf1;
  --aa-texte: #1b2620;
  --aa-muet: #4f5a53;
  --aa-bord: #e2d4bb;
  --aa-primaire: #1f7a5a;
  --aa-primaire-txt: #fff;
  --aa-secondaire: #15573f;
  --aa-tete: #fffaf1; --aa-tete-txt: #1b2620;
  --aa-pied: #f5ecdc; --aa-pied-txt: #1b2620;
  --aa-rayon: 18px; --aa-rayon-s: 999px;
  --aa-ombre: 0 2px 4px rgba(21, 87, 63, .06), 0 14px 30px -16px rgba(21, 87, 63, .38);
  --jd-jade: #1f7a5a; --jd-jade-f: #15573f; --jd-lien: #17654a; --jd-voile: #e6f0e9;
  background: #f5ecdc;
}
html:not(#_) body.aa a:not(.aa-btn) { color: var(--jd-lien); }

/* ---------- en-tête : actions à gauche, logo à droite, vague de jade ---------- */
html:not(#_) body.aa .aa-header {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='10' viewBox='0 0 80 10'%3E%3Cpath d='M0 6 Q20 0 40 6 T80 6 V10 H0Z' fill='%231f7a5a'/%3E%3C/svg%3E") repeat-x left bottom / 80px 10px,
    #fffaf1;
  border-bottom: 0; padding-bottom: 10px;
  box-shadow: 0 10px 24px -20px rgba(21, 87, 63, .6);
}
html:not(#_) body.aa .aa-header__in { flex-direction: row-reverse; }
html:not(#_) body.aa .aa-logo { color: #1b2620; font-family: Georgia, "Times New Roman", serif; font-style: italic; letter-spacing: .01em; display: inline-flex; align-items: center; gap: .55rem; }
html:not(#_) body.aa .aa-logo__txt { color: #1b2620; }
html:not(#_) body.aa .aa-logo__mark {
  width: 22px; height: 22px; transform: none; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #5fb392 0 18%, #1f7a5a 45%, #15573f 100%);
  box-shadow: 0 0 0 3px #fffaf1, 0 0 0 5px #1f7a5a, 0 6px 12px -4px rgba(21, 87, 63, .6);
}
@media (min-width: 801px) {
  html:not(#_) body.aa .aa-header__in { flex-direction: row-reverse; padding-block: .7rem; min-height: 68px; gap: 1.5rem; }
  html:not(#_) body.aa .aa-logo { font-size: 1.75rem; }
  html:not(#_) body.aa .aa-nav { border-top: 0; width: auto; }
  html:not(#_) body.aa .aa-nav ul { justify-content: flex-start; gap: .35rem; }
  html:not(#_) body.aa .aa-nav a { color: #1b2620; text-transform: none; letter-spacing: .01em; font-size: .92rem; border-radius: 999px; padding: .5rem .95rem; border-bottom: 0; }
  html:not(#_) body.aa .aa-nav a:hover, html:not(#_) body.aa .aa-nav a.is-actif { background: var(--jd-voile); color: #15573f; }
  html:not(#_) body.aa .aa-nav__cta a { background: #1f7a5a; color: #fff; padding: .55rem 1.2rem; box-shadow: 0 8px 18px -10px rgba(31, 122, 90, .9); }
  html:not(#_) body.aa .aa-nav__cta a:hover { background: #15573f; color: #fff; }
}
@media (max-width: 800px) {
  html:not(#_) body.aa .aa-logo { font-size: 1.45rem; }
  html:not(#_) body.aa .aa-burger { color: #15573f; background: var(--jd-voile); border-radius: 50%; }
  html:not(#_) body.aa .aa-nav { background: #fffaf1; border-radius: 0 0 22px 22px; }
  html:not(#_) body.aa .aa-nav a { color: #1b2620; border-radius: 999px; text-transform: none; font-family: system-ui, "Segoe UI", sans-serif; }
  html:not(#_) body.aa .aa-nav__cta a { background: #1f7a5a; color: #fff; }
}

/* ---------- titres, boutons ---------- */
html:not(#_) body.aa .aa-h1, html:not(#_) body.aa .aa-h2 { color: #1b2620; }
html:not(#_) body.aa .aa-h2 { position: relative; padding-left: 1.6rem; }
html:not(#_) body.aa .aa-h2::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.05rem; height: 1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21.5 1.7 11.4A6 6 0 0 1 12 3.6a6 6 0 0 1 10.3 7.8Z' fill='%231f7a5a'/%3E%3C/svg%3E") no-repeat center / contain;
}
html:not(#_) body.aa .aa-btn { border-radius: 999px; text-transform: none; letter-spacing: .01em; font-size: .95rem; }
html:not(#_) body.aa .aa-btn--primaire { background: #1f7a5a; color: #fff; box-shadow: 0 10px 20px -12px rgba(31, 122, 90, .95); }
html:not(#_) body.aa .aa-btn--primaire:hover { background: #15573f; }
html:not(#_) body.aa .aa-btn--secondaire { background: #fffaf1; color: #15573f; border-color: #1f7a5a; }

/* ---------- hero : sable, cœur en filigrane, formulaire en arche ---------- */
html:not(#_) body.aa .aa-hero {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21.5 1.7 11.4A6 6 0 0 1 12 3.6a6 6 0 0 1 10.3 7.8Z' fill='%231f7a5a' fill-opacity='.07'/%3E%3C/svg%3E") no-repeat right -60px top 20px / 340px auto,
    radial-gradient(120% 90% at 0% 0%, #eaf2ea 0%, #f5ecdc 60%);
  border-bottom: 0; padding-block: 2rem 2.6rem;
}
html:not(#_) body.aa .aa-hero .aa-intro, html:not(#_) body.aa .aa-hero__chiffres { color: #3d4a43; }
html:not(#_) body.aa .aa-hero__form {
  background: #fffaf1; border: 0; border-radius: 180px 180px 26px 26px;
  padding: 2.6rem 1.6rem 1.4rem; box-shadow: 0 22px 44px -26px rgba(21, 87, 63, .55), 0 0 0 1px #e2d4bb;
}
html:not(#_) body.aa .aa-hero__form-h { color: #15573f; }
html:not(#_) body.aa .aa-hero__form-p { color: #4f5a53; }
html:not(#_) body.aa .aa-hero__form input[type="text"], html:not(#_) body.aa .aa-hero__form input[type="email"] { border-radius: 999px; }
html:not(#_) body.aa .aa-chip { border-radius: 999px; background: #fffaf1; border-color: #cfdcd3; color: #1b2620; }

/* ---------- filtres + blocs ---------- */
html:not(#_) body.aa .aa-filtres {
  background: #fffaf1; border: 1px solid #e2d4bb; border-radius: 22px; padding: 1rem 1.1rem; box-shadow: var(--aa-ombre);
}
html:not(#_) body.aa .aa-filtres select { border-radius: 999px; background-color: #fff; color: #1b2620; }
html:not(#_) body.aa .aa-liens--cats li {
  background: #fffaf1; border: 1px solid #e2d4bb; border-radius: 999px; padding: .55rem 1.1rem;
  box-shadow: 0 6px 14px -12px rgba(21, 87, 63, .7); transition: transform .18s ease, background .18s ease;
}
html:not(#_) body.aa .aa-liens--cats li:hover { background: var(--jd-voile); transform: translateY(-2px); }
html:not(#_) body.aa .aa-liens__nb { background: var(--jd-voile); color: #15573f; border-radius: 999px; padding: 0 .5rem; font-size: .8rem; }
html:not(#_) body.aa .aa-liens--villes li { border-left: 3px solid #1f7a5a; border-radius: 0 12px 12px 0; background: #fffaf1; padding: .3rem .6rem; }

/* ---------- lignes d'annonce : cartes larges, photo en arche à gauche ---------- */
html:not(#_) body.aa .aa-liste { gap: 1rem; }
html:not(#_) body.aa .aa-ligne {
  background: #fffaf1; border: 1px solid #e8dcc6; border-radius: 22px; padding: .9rem;
  box-shadow: 0 3px 6px rgba(21, 87, 63, .05), 0 16px 30px -22px rgba(21, 87, 63, .55);
  transition: transform .2s ease, box-shadow .2s ease;
}
html:not(#_) body.aa .aa-ligne:hover { background: #fffaf1; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(21, 87, 63, .06), 0 22px 36px -22px rgba(21, 87, 63, .7); }
html:not(#_) body.aa .aa-ligne__img {
  border-radius: 999px 999px 14px 14px; aspect-ratio: 4 / 5;
  box-shadow: 0 0 0 3px #fffaf1, 0 0 0 4px #bcd6c7;
}
html:not(#_) body.aa .aa-ligne:hover .aa-ligne__img img { transform: scale(1.06); }
html:not(#_) body.aa .aa-ligne__titre, html:not(#_) body.aa .aa-ligne__titre a { color: #1b2620; }
html:not(#_) body.aa .aa-ligne__meta, html:not(#_) body.aa .aa-ligne__date { color: #4f5a53; }
html:not(#_) body.aa .aa-ligne__extrait { color: #2f3a34; }
html:not(#_) body.aa .aa-ligne__cat { color: #15573f; }
html:not(#_) body.aa .aa-ligne__new { background: #1f7a5a; color: #fff; border-radius: 999px; }
html:not(#_) body.aa .aa-ligne__lire {
  font-style: normal; text-decoration: none; border: 2px solid #1f7a5a; border-radius: 999px;
  padding: .4rem 1rem; color: #15573f; background: #fffaf1; font-family: system-ui, "Segoe UI", sans-serif; font-weight: 700;
}
html:not(#_) body.aa .aa-ligne__lire:hover { background: #1f7a5a; color: #fff; }
@media (min-width: 720px) {
  html:not(#_) body.aa .aa-ligne { grid-template-columns: 116px minmax(0, 1fr) auto; padding: 1rem 1.2rem; }
  html:not(#_) body.aa .aa-ligne__img { width: 116px; }
}

/* ---------- colonne latérale, fiche ---------- */
html:not(#_) body.aa .aa-side { background: #fffaf1; border: 1px solid #e2d4bb; border-radius: 22px; box-shadow: var(--aa-ombre); }
html:not(#_) body.aa .aa-side__h { color: #15573f; }
html:not(#_) body.aa .aa-fiche__titre { color: #1b2620; }
html:not(#_) body.aa .aa-fiche__photo {
  border-radius: 999px 999px 22px 22px; box-shadow: 0 0 0 5px #fffaf1, 0 0 0 6px #bcd6c7, 0 22px 40px -24px rgba(21, 87, 63, .7);
}
html:not(#_) body.aa .aa-fiche__photo--vide { border-radius: 26px; box-shadow: none; }
html:not(#_) body.aa .aa-fiche__infos { background: #fffaf1; border-color: #e2d4bb; border-radius: 18px; }
html:not(#_) body.aa .aa-fiche__infos dt { color: #4f5a53; }
html:not(#_) body.aa .aa-fiche__cta--haut {
  background: #fffaf1; border: 1px solid #e2d4bb; border-radius: 26px; padding: 1.1rem; box-shadow: 0 18px 34px -22px rgba(21, 87, 63, .6);
}
html:not(#_) body.aa .aa-fiche__barre { background: rgba(255, 250, 241, .94); }
html:not(#_) body.aa .aa-repondre { background: #fffaf1; border-color: #e2d4bb; border-radius: 26px; box-shadow: var(--aa-ombre); }
html:not(#_) body.aa .aa-repondre input, html:not(#_) body.aa .aa-repondre textarea,
html:not(#_) body.aa .aa-depot__bloc input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
html:not(#_) body.aa .aa-depot__bloc textarea, html:not(#_) body.aa .aa-depot__bloc select { border-radius: 14px; background: #fff; color: #1b2620; }

/* ---------- dépôt ---------- */
html:not(#_) body.aa .aa-depot__bloc { background: #fffaf1; border-color: #e2d4bb; border-radius: 22px; box-shadow: 0 10px 22px -20px rgba(21, 87, 63, .6); }
html:not(#_) body.aa .aa-deposer-cta { border-radius: 26px; }

/* ---------- pop-up, porte ---------- */
html:not(#_) body.aa .aa-popup__box, html:not(#_) body.aa .aa-gate__box { border-radius: 28px; background: #fffaf1; color: #1b2620; }
html:not(#_) body.aa .aa-gate__mark { border-radius: 50%; }

/* ---------- pied de page : carte centrée sur sable ---------- */
html:not(#_) body.aa .aa-footer { background: #f5ecdc; border-top: 0; color: #1b2620; padding-block: 2.5rem 1.5rem; }
html:not(#_) body.aa .aa-footer__grid {
  background: #fffaf1; border-radius: 34px; max-width: 860px; margin-inline: auto; padding: 2rem 1.4rem;
  box-shadow: 0 24px 48px -30px rgba(21, 87, 63, .6), 0 0 0 1px #e2d4bb; position: relative;
  border-top: 6px solid #1f7a5a;
}
html:not(#_) body.aa .aa-footer__brand { color: #15573f; }
html:not(#_) body.aa .aa-footer__h { color: #15573f; opacity: 1; }
html:not(#_) body.aa .aa-footer a { color: #17654a; }
html:not(#_) body.aa .aa-footer__fictif, html:not(#_) body.aa .aa-footer__membres, html:not(#_) body.aa .aa-footer__bas { color: #4f5a53; }
html:not(#_) body.aa .aa-footer__bas { border-top: 0; }

@media (prefers-reduced-motion: reduce) {
  html:not(#_) body.aa .aa-ligne, html:not(#_) body.aa .aa-ligne__img img, html:not(#_) body.aa .aa-liens--cats li { transition: none; }
}

/* ---------- tour 2 : compteurs, régions ---------- */
html:not(#_) body.aa .aa-liens__nb { align-self: center; height: auto; line-height: 1.6; flex: none; }
html:not(#_) body.aa .aa-bloc-regions li { background: #fffaf1; border-left: 3px solid #1f7a5a; border-radius: 0 12px 12px 0; padding: .3rem .6rem; }
