/* encuentros-uruguay.lat — registre « calebasse de maté » (inspiration Uruguay).
   Palette : accent calebasse #6b5a2a (favicon) · calebasse foncée #4a3e1b · paille #d9c89a · neutre chaud
   crème/sable #f6efe0, ivoire #fffbf2 · encre #231d10 · pied cuir fumé #2a2413.
   Composition : en-tête léger transparent sur le crème, filet d'accent dessous (liseré + trait paille) ;
   cartes d'annonce arrondies 18 px à ombre douce, COIN COUPÉ en haut à droite (liseré accent) + filet
   COURBE sous chaque carte ; vignettes en médaillon « bord de calebasse » ; photo de fiche en ARCHE ;
   cœur SVG en filigrane ; CTA en carte centrée ; pied de page en 3 colonnes aérées. */

html:not(#_) body.aa {
  --aa-accent: #6b5a2a; --aa-teinte: #6b5a2a;
  --aa-primaire: #6b5a2a; --aa-primaire-fonce: #4a3e1b; --aa-primaire-txt: #fffbf2;
  --aa-page: #f6efe0; --aa-fond: #f6efe0; --aa-surface: #fffbf2; --aa-surface-2: #f9f3e6;
  --aa-texte: #231d10; --aa-muet: #5f5540; --aa-bord: #e4d8bd; --aa-lien: #5a4b22;
  --aa-tete: transparent; --aa-tete-txt: #231d10;
  --aa-secondaire: #4a3e1b; --aa-secondaire-txt: #fffbf2;
  --aa-pied: #2a2413; --aa-pied-txt: #efe5cc;
  --aa-rayon: 18px; --aa-rayon-s: 10px;
  --aa-ombre: 0 2px 5px rgba(74, 62, 27, .06), 0 18px 34px -22px rgba(107, 90, 42, .55);
  --aa-police: "Segoe UI", system-ui, -apple-system, sans-serif;
  --aa-police-titre: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --mt-coeur: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21S2 14.4 2 7.6A5.1 5.1 0 0 1 12 5a5.1 5.1 0 0 1 10 2.6C22 14.4 12 21 12 21z' fill='%236b5a2a'/%3E%3C/svg%3E");
  --mt-vague: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M0 8 Q60 -4 120 8' fill='none' stroke='%23b09a5c' stroke-width='1.6'/%3E%3C/svg%3E");
  background: radial-gradient(900px 320px at 50% -120px, #efe2c4, transparent 70%), var(--aa-page);
  color: var(--aa-texte); font-family: var(--aa-police);
}

/* en-tête léger, filet d'accent */
html:not(#_) .aa-header.aa-header { background: transparent; border-bottom: 0; box-shadow: 0 2px 0 var(--aa-primaire), 0 6px 0 #d9c89a; margin-bottom: 8px; }
html:not(#_) .aa-header .aa-logo { color: var(--aa-texte); font-family: var(--aa-police-titre); }
html:not(#_) .aa-header .aa-logo__mark { transform: none; width: 26px; height: 26px; border-radius: 50%; background: #fffbf2 var(--mt-coeur) center / 13px no-repeat; box-shadow: 0 0 0 2px var(--aa-primaire), 0 0 0 4px #e9dcb8; }
html:not(#_) .aa-header .aa-nav a { color: #3b3218; font-weight: 600; border-radius: 999px; }
html:not(#_) .aa-header .aa-nav a:hover { background: #efe4c9; }
html:not(#_) .aa-header .aa-nav a.is-actif { background: #efe4c9; border-bottom-color: transparent; }
html:not(#_) .aa-header .aa-nav__cta a { border-radius: 999px; background: var(--aa-primaire); color: #fffbf2; padding-inline: 1.1rem; box-shadow: 0 8px 16px -10px rgba(74, 62, 27, .8); }
html:not(#_) .aa-header .aa-nav__cta a:hover { background: var(--aa-primaire-fonce); color: #fffbf2; }
html:not(#_) .aa-header .aa-burger { color: var(--aa-texte); border-color: #cdbd8f; border-radius: 12px; }
@media (min-width: 801px) {
  html:not(#_) .aa-header .aa-nav { border-top: 1px solid #e4d8bd; }
  html:not(#_) .aa-header .aa-nav a { letter-spacing: .06em; padding: .55rem .8rem; }
}
@media (max-width: 800px) {
  html:not(#_) .aa-header .aa-nav { background: #fffbf2; border: 1px solid var(--aa-bord); border-radius: 16px; box-shadow: var(--aa-ombre); }
}

/* bandeau d'accueil : carte douce + cœur en filigrane */
html:not(#_) .aa .aa-h1 { font-family: var(--aa-police-titre); color: var(--aa-texte); letter-spacing: 0; }
html:not(#_) .aa .aa-hero { position: relative; overflow: hidden; background: linear-gradient(170deg, #fffbf2, #f3e8cf); border: 1px solid var(--aa-bord); border-radius: 26px 26px 18px 18px; box-shadow: var(--aa-ombre); margin: 1rem auto 0; max-width: calc(var(--aa-max, 1080px) - 1rem); }
@media (max-width: 1100px) { html:not(#_) .aa .aa-hero { margin-inline: .6rem; } }
html:not(#_) .aa .aa-hero::after { content: ""; position: absolute; left: 18px; top: 16px; width: 54px; height: 48px; background: var(--mt-coeur) center / contain no-repeat; opacity: .1; transform: rotate(-12deg); pointer-events: none; }
html:not(#_) .aa .aa-hero__form { background: #fffbf2; border: 1px solid #e0d2b0; border-radius: 20px; padding: 1.2rem 1.2rem .6rem; box-shadow: 0 14px 28px -22px rgba(74, 62, 27, .7); }
html:not(#_) .aa .aa-hero__chiffres span { background: #efe4c9; color: #3b3218; border-radius: 999px; padding: .15rem .7rem; }

/* titres de bloc : cartouche pilule à filet courbe */
html:not(#_) .aa .aa-h2, html:not(#_) .aa .aa-bande { font-family: var(--aa-police-titre); color: var(--aa-texte); text-transform: none; letter-spacing: 0; padding-bottom: .5rem; background: var(--mt-vague) left bottom / 140px 8px no-repeat; border: 0; }
html:not(#_) .aa .aa-depot__bloc legend { background: #efe4c9; color: #3b3218; border-radius: 999px; padding: .2rem .8rem; font-family: var(--aa-police-titre); }
html:not(#_) .aa .aa-bloc__tete .aa-lien { color: var(--aa-lien); font-weight: 700; }

/* lignes d'annonce : cartes 18 px, coin coupé, filet courbe */
html:not(#_) .aa .aa-liste { border-top: 0; display: grid; gap: 1rem; }
html:not(#_) .aa .aa-ligne.aa-ligne {
  background: linear-gradient(225deg, var(--aa-page) 0 15px, var(--aa-primaire) 15px 17px, var(--aa-surface) 17px);
  border: 1px solid var(--aa-bord); border-radius: var(--aa-rayon); padding: .9rem .9rem 1.3rem; box-shadow: var(--aa-ombre);
  transition: transform .25s ease, box-shadow .25s ease;
}
html:not(#_) .aa .aa-ligne.aa-ligne::before { content: ""; position: absolute; left: 18%; right: 18%; bottom: 6px; height: 8px; background: var(--mt-vague) center / 100% 100% no-repeat; pointer-events: none; }
html:not(#_) .aa .aa-ligne.aa-ligne:hover { transform: translateY(-2px); box-shadow: 0 2px 5px rgba(74, 62, 27, .08), 0 22px 36px -20px rgba(107, 90, 42, .6); }
html:not(#_) .aa .aa-ligne__img { border-radius: 50%; aspect-ratio: 1; border: 3px solid #fffbf2; box-shadow: 0 0 0 2px #cdbd8f, 0 10px 18px -12px rgba(74, 62, 27, .7); }
html:not(#_) .aa .aa-ligne__img img { border-radius: 50%; transition: transform .4s ease; }
html:not(#_) .aa .aa-ligne:hover .aa-ligne__img img { transform: scale(1.06); }
html:not(#_) .aa .aa-ligne__cat { color: var(--aa-primaire-fonce); }
html:not(#_) .aa .aa-ligne__new { border-radius: 999px; background: #3f5a2a; color: #fffbf2; }
html:not(#_) .aa .aa-ligne__titre a { color: var(--aa-texte); font-family: var(--aa-police-titre); }
html:not(#_) .aa .aa-ligne__titre a:hover { color: var(--aa-primaire); }
html:not(#_) .aa .aa-ligne__meta, html:not(#_) .aa .aa-ligne__date { color: var(--aa-muet); }
html:not(#_) .aa .aa-ligne__extrait { color: #3a3220; }
html:not(#_) .aa .aa-ligne__lire { font-family: var(--aa-police); font-style: normal; font-weight: 700; color: var(--aa-primaire-fonce); border: 1.5px solid var(--aa-primaire); border-radius: 999px; padding: .35rem .95rem; background: #fffbf2; }
html:not(#_) .aa .aa-ligne__lire:hover { background: var(--aa-primaire); color: #fffbf2; }

/* boutons, champs, filtres, colonne */
html:not(#_) .aa .aa-btn { border-radius: 999px; }
html:not(#_) .aa .aa-btn--primaire { background: var(--aa-primaire); color: #fffbf2; border-color: var(--aa-primaire-fonce); box-shadow: 0 10px 20px -12px rgba(74, 62, 27, .85); }
html:not(#_) .aa .aa-btn--primaire:hover { background: var(--aa-primaire-fonce); }
html:not(#_) .aa .aa-btn--secondaire { background: #fffbf2; color: var(--aa-primaire-fonce); border-color: var(--aa-primaire); }
html:not(#_) .aa input:not([type=radio]):not([type=checkbox]), html:not(#_) .aa select, html:not(#_) .aa textarea { border-radius: 12px; border-color: #d8c9a4; background: #fffdf7; color: var(--aa-texte); }
html:not(#_) .aa .aa-chip { border-radius: 999px; }
html:not(#_) .aa .aa-chip:has(input:checked) { border-color: var(--aa-primaire); background: #efe4c9; color: #3b3218; }
html:not(#_) .aa .aa-filtres { background: #fffbf2; border: 1px solid var(--aa-bord); border-radius: var(--aa-rayon); padding: 1rem; box-shadow: var(--aa-ombre); }
html:not(#_) .aa .aa-side { background: #fffbf2; border: 1px solid var(--aa-bord); border-radius: var(--aa-rayon); padding: 1rem; box-shadow: var(--aa-ombre); }
html:not(#_) .aa .aa-side__h { color: var(--aa-primaire-fonce); }
html:not(#_) .aa .aa-side__liste li a { color: var(--aa-texte); }
html:not(#_) .aa .aa-side__nb, html:not(#_) .aa .aa-liens__nb { background: #efe4c9; color: #3b3218; border-radius: 999px; padding: 0 .5rem; font-size: .75rem; font-weight: 700; }

/* grilles de liens : pilules */
html:not(#_) .aa .aa-liens li { background: #fffbf2; border: 1px solid var(--aa-bord); border-radius: 14px; padding: .4rem .6rem .4rem .9rem; }
html:not(#_) .aa .aa-liens li:hover { border-color: #b09a5c; background: #f7eed8; }
html:not(#_) .aa .aa-liens a { color: #3b3218; font-weight: 600; }

/* étapes, CTA de dépôt, dépôt */
html:not(#_) .aa .aa-atouts li, html:not(#_) .aa .aa-etapes li { border-radius: var(--aa-rayon); background: #fffbf2; border: 1px solid var(--aa-bord); }
html:not(#_) .aa .aa-etapes li::before { background: var(--aa-primaire); color: #fffbf2; border-radius: 50%; }
html:not(#_) .aa .aa-deposer-cta { position: relative; max-width: 560px; margin-inline: auto; text-align: center; border-radius: 120px 120px 22px 22px; padding-top: 2.2rem; background: linear-gradient(175deg, #f3e8cf, #fffbf2); border: 1px solid #dcca9e; box-shadow: var(--aa-ombre); }
html:not(#_) .aa .aa-depot__bloc { background: #fffbf2; border: 1px solid var(--aa-bord); border-radius: var(--aa-rayon); box-shadow: 0 10px 22px -20px rgba(74, 62, 27, .6); }

/* fiche : photo en arche, CTA en carte */
html:not(#_) .aa .aa-fiche__titre { font-family: var(--aa-police-titre); color: var(--aa-texte); }
html:not(#_) .aa .aa-fiche__photo { border-radius: 999px 999px 22px 22px; overflow: hidden; border: 4px solid #fffbf2; box-shadow: 0 0 0 2px #cdbd8f, 0 22px 36px -22px rgba(74, 62, 27, .75); }
html:not(#_) .aa .aa-fiche__photo img { transition: transform .45s ease; }
html:not(#_) .aa .aa-fiche__photo:hover img { transform: scale(1.03); }
html:not(#_) .aa .aa-fiche__photo .aa-fiche__new { top: auto; right: auto; bottom: 14px; left: 50%; transform: translateX(-50%); background: #fffbf2; color: #4a3e1b; box-shadow: 0 0 0 2px #cdbd8f, 0 6px 12px -6px rgba(42, 36, 19, .7); }
html:not(#_) .aa .aa-fiche__infos { background: #fffbf2; border: 1px solid var(--aa-bord); border-radius: 14px; }
html:not(#_) .aa .aa-fiche__cta--haut { background: #fffbf2; border: 1px solid #dcca9e; border-radius: var(--aa-rayon); box-shadow: var(--aa-ombre); }
html:not(#_) .aa .aa-fiche__cta--bas { max-width: 540px; margin-inline: auto; border-radius: 22px; background: linear-gradient(170deg, #f3e8cf, #fffbf2); border: 1px solid #dcca9e; box-shadow: var(--aa-ombre); }
html:not(#_) .aa .aa-repondre { background: #fffbf2; border: 1px solid var(--aa-bord); border-radius: var(--aa-rayon); box-shadow: var(--aa-ombre); }

/* pied de page : 3 colonnes aérées */
html:not(#_) .aa .aa-footer { background: var(--aa-pied); color: var(--aa-pied-txt); border-top: 0; text-align: left; margin-top: 3rem; padding-block: 2.8rem 1.2rem; border-radius: 34px 34px 0 0; box-shadow: 0 -2px 0 var(--aa-primaire), 0 -6px 0 #d9c89a; }
html:not(#_) .aa .aa-footer__grid { grid-template-columns: 1fr; justify-items: stretch; gap: 1.6rem 3rem; }
@media (min-width: 760px) {
  html:not(#_) .aa .aa-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html:not(#_) .aa .aa-footer__grid > :first-child { grid-column: 1 / -1; text-align: center; }
}
html:not(#_) .aa .aa-footer ul { display: grid; justify-content: start; gap: .35rem; }
html:not(#_) .aa .aa-footer__h { color: #e3cf96; opacity: 1; letter-spacing: .12em; padding-bottom: .5rem; background: var(--mt-vague) left bottom / 90px 7px no-repeat; }
html:not(#_) .aa .aa-footer a { color: #efe5cc; }
html:not(#_) .aa .aa-footer a:hover { color: #fffbf2; text-decoration: underline; text-decoration-color: #b09a5c; }
html:not(#_) .aa .aa-footer p { color: #d9ccaa; }
html:not(#_) .aa .aa-footer__bas { border-top-color: rgba(227, 207, 150, .25); color: #d9ccaa; justify-content: center; }

/* pop-up, porte, barres mobiles */
html:not(#_) .aa .aa-popup__box, html:not(#_) .aa .aa-gate__box { border-radius: 24px; border: 1px solid var(--aa-bord); box-shadow: 0 30px 60px -26px rgba(42, 36, 19, .8); }
html:not(#_) .aa .aa-gate__mark { transform: none; border-radius: 50%; background: #fffbf2 var(--mt-coeur) center / 20px no-repeat; box-shadow: 0 0 0 2px var(--aa-primaire); }
html:not(#_) .aa .aa-mobar, html:not(#_) .aa .aa-fiche__barre { background: color-mix(in srgb, #fffbf2 95%, transparent); border-top-color: #dcca9e; }
@media (prefers-reduced-motion: reduce) {
  html:not(#_) .aa .aa-ligne.aa-ligne, html:not(#_) .aa .aa-ligne__img img, html:not(#_) .aa .aa-fiche__photo img { transition: none; }
  html:not(#_) .aa .aa-ligne.aa-ligne:hover { transform: none; }
}
