/* encuentros-argentina.lat — registre « fileteado porteño » (inspiration Argentine)
   Palette : accent #0e6b73 (favicon) + nuances de la même teinte, neutre chaud crème/ivoire
   #f7f0e3 / #fffaf1, encre #1f1b16. Formes signature : cartouche à double filet (logo),
   arches (formulaire du hero, photos, vignettes), cœur SVG, volutes en coin, bandeau bas des lignes,
   pilules (boutons), pied en carte centrée. */

html:not(#_) body.aa {
  --aa-fond: #f7f0e3;
  --aa-surface: #fffaf1;
  --aa-texte: #1f1b16;
  --aa-muet: #5b5249;
  --aa-bord: #e2d5bf;
  --aa-primaire: #0e6b73;
  --aa-primaire-txt: #fffaf1;
  --aa-secondaire: #0a4f55;
  --aa-secondaire-txt: #fffaf1;
  --fl-profond: #083e43;
  --fl-clair: #d6ece9;
  --fl-ombre: 0 10px 28px -14px rgba(14, 107, 115, .45), 0 2px 6px rgba(31, 27, 22, .06);
  --aa-tete: #0e6b73;
  --aa-tete-txt: #fffaf1;
  --aa-pied: #f7f0e3;
  --aa-pied-txt: #1f1b16;
  --aa-police-titre: Georgia, "Palatino Linotype", "Book Antiqua", serif;
  background: #f7f0e3;
  color: #1f1b16;
}

/* ---------- en-tête : bandeau plein de l'accent, logo en cartouche ---------- */
html:not(#_) .aa-header {
  background:
    radial-gradient(circle at 0 100%, rgba(255, 250, 241, .10) 0 38px, transparent 39px),
    radial-gradient(circle at 100% 100%, rgba(255, 250, 241, .10) 0 38px, transparent 39px),
    #0e6b73;
  color: #fffaf1;
  border-bottom: 4px double #fffaf1;
  box-shadow: 0 6px 18px -10px rgba(8, 62, 67, .6);
}
html:not(#_) .aa-header .aa-logo {
  color: #fffaf1;
  font-family: Georgia, "Palatino Linotype", serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: .12em;
  margin: .8rem auto .6rem;
  padding: .3rem 1.6rem;
  border: 2px solid #fffaf1;
  outline: 1px solid rgba(255, 250, 241, .55);
  outline-offset: 4px;
  border-radius: 999px;
  width: max-content;
  max-width: calc(100% - 7rem);
}
html:not(#_) .aa-header .aa-logo__txt { max-width: 100%; }
html:not(#_) .aa-header .aa-nav {
  border-top: 1px solid rgba(255, 250, 241, .35);
  border-bottom: 0;
  background: #0a4f55;
}
html:not(#_) .aa-header .aa-nav a { color: #fffaf1; border-radius: 999px; }
html:not(#_) .aa-header .aa-nav a:hover,
html:not(#_) .aa-header .aa-nav a.is-actif { background: rgba(255, 250, 241, .16); color: #fffaf1; }
html:not(#_) .aa-header .aa-nav__cta a {
  background: #fffaf1; color: #0a4f55 !important; font-weight: 800; margin: .25rem .4rem;
  padding: .45rem 1.1rem;
}
html:not(#_) .aa-header .aa-nav__cta a:hover { background: #d6ece9; }
html:not(#_) .aa-header .aa-burger { color: #fffaf1; top: .9rem; }
@media (max-width: 800px) {
  html:not(#_) .aa-header .aa-nav { background: #0a4f55; padding: .4rem var(--aa-gout) .9rem; border-radius: 0 0 22px 22px; }
  html:not(#_) .aa-header .aa-logo { font-size: 1.25rem; margin-left: .2rem; margin-right: auto; }
}

/* ---------- titres ---------- */
html:not(#_) .aa-h1 {
  font-family: Georgia, "Palatino Linotype", serif; text-transform: none; font-style: italic;
  color: #0a4f55; border-bottom: 0; padding-bottom: .5em; position: relative;
}
html:not(#_) .aa-h1::after {
  content: ""; display: block; width: 150px; height: 14px; margin-top: .45rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 14'%3E%3Cpath d='M2 7 H58 M92 7 H148' stroke='%230e6b73' stroke-width='1.5'/%3E%3Cpath d='M75 12.5 C68 8 63 5.5 65 2.8 C66.8 .6 70.5 1.2 75 5 C79.5 1.2 83.2 .6 85 2.8 C87 5.5 82 8 75 12.5Z' fill='%230e6b73'/%3E%3C/svg%3E") no-repeat left center / contain;
}
html:not(#_) .aa-h2 {
  font-family: Georgia, "Palatino Linotype", serif; letter-spacing: .04em; color: #0a4f55;
  border-bottom: 2px dotted #0e6b73;
}

/* ---------- hero : texte crème + formulaire sous une arche ---------- */
html:not(#_) .aa-hero {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath d='M4 56 C4 26 26 4 56 4' fill='none' stroke='%230e6b73' stroke-width='2'/%3E%3Cpath d='M14 56 C14 32 32 14 56 14' fill='none' stroke='%230e6b73' stroke-width='1' opacity='.6'/%3E%3Ccircle cx='56' cy='4' r='3' fill='%230e6b73'/%3E%3C/svg%3E") no-repeat right 14px top 14px / 56px,
    #fffaf1;
  border-top: 0; border-bottom: 4px double #0e6b73;
}
html:not(#_) .aa-hero .aa-hero__form {
  background: #fffaf1;
  border: 2px solid #0e6b73;
  border-radius: 180px 180px 22px 22px;
  padding: 3.2rem 1.5rem 1.4rem;
  box-shadow: var(--fl-ombre);
  position: relative;
}
html:not(#_) .aa-hero .aa-hero__form::before {
  content: ""; position: absolute; top: 1rem; left: 50%; width: 30px; height: 26px; transform: translateX(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 26'%3E%3Cpath d='M15 25 C5 18 0 12 1.5 6.5 C3 1.5 10 .5 15 6 C20 .5 27 1.5 28.5 6.5 C30 12 25 18 15 25Z' fill='%230e6b73'/%3E%3C/svg%3E") no-repeat center / contain;
}
html:not(#_) .aa-hero .aa-hero__form-h { text-align: center; color: #0a4f55; }

/* ---------- boutons : pilules ---------- */
html:not(#_) .aa-btn { border-radius: 999px; }
html:not(#_) .aa-btn--primaire { background: #0e6b73; color: #fffaf1; box-shadow: 0 8px 18px -10px rgba(14, 107, 115, .8); }
html:not(#_) .aa-btn--primaire:hover { background: #0a4f55; }
html:not(#_) .aa-btn--secondaire { background: #fffaf1; color: #0a4f55; border-color: #0e6b73; }

/* ---------- lignes d'annonce : cartes crème à bandeau bas coloré ---------- */
html:not(#_) .aa-liste { gap: 1rem; border: 0; }
html:not(#_) .aa-liste .aa-ligne {
  background: #fffaf1;
  border: 1px solid #e2d5bf;
  border-bottom: 6px solid #0e6b73;
  border-radius: 18px 18px 10px 10px;
  box-shadow: var(--fl-ombre);
  padding: .9rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
html:not(#_) .aa-liste .aa-ligne:last-child { border-bottom: 6px solid #0e6b73; }
html:not(#_) .aa-liste .aa-ligne:hover { transform: translateY(-2px); background: #fffaf1; box-shadow: 0 16px 32px -16px rgba(14, 107, 115, .6); }
html:not(#_) .aa-liste .aa-ligne__img {
  border-radius: 60px 60px 12px 12px; border: 2px solid #0e6b73; overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: 0 0 0 3px #fffaf1, 0 0 0 4px #e2d5bf;
}
html:not(#_) .aa-liste .aa-ligne__img img { transition: transform .35s ease; }
html:not(#_) .aa-liste .aa-ligne:hover .aa-ligne__img img { transform: scale(1.06); }
html:not(#_) .aa-liste .aa-ligne__nb { border-radius: 999px; background: #0a4f55; color: #fffaf1; }
html:not(#_) .aa-liste .aa-ligne__cat { color: #0a4f55; }
html:not(#_) .aa-liste .aa-ligne__new { border-radius: 999px; background: #0e6b73; color: #fffaf1; }
html:not(#_) .aa-liste .aa-ligne__titre { font-family: Georgia, "Palatino Linotype", serif; }
html:not(#_) .aa-liste .aa-ligne__titre a { color: #1f1b16; }
html:not(#_) .aa-liste .aa-ligne__meta, html:not(#_) .aa-liste .aa-ligne__date { color: #5b5249; }
html:not(#_) .aa-liste .aa-ligne__extrait { color: #3d362f; }
html:not(#_) .aa-liste .aa-ligne__lire { border-radius: 999px; text-transform: none; letter-spacing: .02em; font-size: .85rem; font-weight: 700; }
@media (min-width: 720px) {
  html:not(#_) .aa-liste .aa-ligne { padding: 1rem 1.1rem; }
  html:not(#_) .aa-liste .aa-ligne__corps,
  html:not(#_) .aa-liste .aa-ligne__extrait,
  html:not(#_) .aa-liste .aa-ligne__action { border-left: 1px dashed #d8c7aa; }
  html:not(#_) .aa-liste .aa-ligne__img { margin-right: 0; }
}

/* ---------- bandeaux latéraux, liens, filtres ---------- */
html:not(#_) .aa-layout__side { border-top: 4px double #0e6b73; }
html:not(#_) .aa-side .aa-side__h { color: #0a4f55; font-family: Georgia, serif; border-bottom: 1px dotted #0e6b73; }
html:not(#_) .aa-side a, html:not(#_) .aa-liens a { color: #0a4f55; }
html:not(#_) .aa-filtres {
  background: #fffaf1; border: 2px solid #0e6b73; border-radius: 22px; box-shadow: var(--fl-ombre);
}
html:not(#_) .aa-pagination a, html:not(#_) .aa-pagination span { border-color: #0e6b73; border-radius: 999px; color: #0a4f55; }
html:not(#_) .aa-crumbs a { color: #0a4f55; }

/* ---------- fiche d'annonce : photo en arche, CTA en cartouche ---------- */
html:not(#_) .aa-fiche__photo {
  border: 3px solid #0e6b73; border-radius: 220px 220px 18px 18px;
  box-shadow: 0 0 0 5px #fffaf1, 0 0 0 6px #e2d5bf, var(--fl-ombre);
}
html:not(#_) .aa-fiche__photo .aa-fiche__new { left: 50%; right: auto; transform: translateX(-50%); top: 1.1rem; border-radius: 999px; }
html:not(#_) .aa-fiche__miniatures img { border-radius: 40px 40px 8px 8px; border: 2px solid #0e6b73; }
html:not(#_) .aa-fiche__titre { font-family: Georgia, "Palatino Linotype", serif; color: #1f1b16; }
html:not(#_) .aa-fiche__cat { color: #0a4f55; }
html:not(#_) .aa-fiche__cta--haut {
  background: #fffaf1; border: 2px solid #0e6b73; border-radius: 22px;
  box-shadow: var(--fl-ombre); outline: 1px solid #0e6b73; outline-offset: 4px;
}
html:not(#_) .aa-fiche__cta .aa-btn { min-height: 48px; }
html:not(#_) .aa-fiche__plage { background: #d6ece9; color: #083e43; border-radius: 999px; }
html:not(#_) .aa-fiche__physique > *, html:not(#_) .aa-fiche__phy {
  background: #fffaf1; border-color: #e2d5bf; border-radius: 14px;
}
html:not(#_) .aa-chip { border-radius: 999px; border-color: #0e6b73; color: #0a4f55; background: #fffaf1; }
html:not(#_) .aa-fiche__infos, html:not(#_) .aa-repondre, html:not(#_) .aa-depot__bloc {
  background: #fffaf1; border: 1px solid #d8c7aa; border-top: 5px solid #0e6b73; border-radius: 20px;
  box-shadow: var(--fl-ombre);
}
html:not(#_) .aa-fiche__infos a { color: #0a4f55; }

/* ---------- pied de page : carte centrée ---------- */
html:not(#_) .aa-footer { background: #f7f0e3; border-top: 0; padding-top: 2.5rem; }
html:not(#_) .aa-footer > .aa-wrap, html:not(#_) .aa-footer .aa-footer__grid {
  position: relative;
}
html:not(#_) .aa-footer .aa-footer__grid {
  background: #fffaf1; border: 2px solid #0e6b73; border-radius: 28px;
  outline: 1px solid #0e6b73; outline-offset: 5px;
  box-shadow: var(--fl-ombre);
  padding: 1.6rem 1.4rem; max-width: 980px; margin-inline: auto;
}
html:not(#_) .aa-footer .aa-footer__brand {
  color: #0a4f55; font-family: Georgia, serif; font-style: italic; text-transform: none; letter-spacing: .06em;
}
html:not(#_) .aa-footer .aa-footer__brand::before {
  content: ""; display: inline-block; width: 20px; height: 18px; margin-right: .45rem; vertical-align: -2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 26'%3E%3Cpath d='M15 25 C5 18 0 12 1.5 6.5 C3 1.5 10 .5 15 6 C20 .5 27 1.5 28.5 6.5 C30 12 25 18 15 25Z' fill='%230e6b73'/%3E%3C/svg%3E") no-repeat center / contain;
}
html:not(#_) .aa-footer .aa-footer__h { color: #0a4f55; }
html:not(#_) .aa-footer a { color: #2c2620; }
html:not(#_) .aa-footer a:hover { color: #0a4f55; }
html:not(#_) .aa-footer .aa-footer__bas { max-width: 980px; margin-inline: auto; border-top: 0; color: #5b5249; opacity: 1; }

/* ---------- porte d'âge et pop-up ---------- */
html:not(#_) .aa-gate__box, html:not(#_) .aa-popup__box {
  border: 2px solid #0e6b73; border-radius: 26px; box-shadow: 0 20px 50px -20px rgba(8, 62, 67, .7);
  outline: 1px solid #fffaf1; outline-offset: -8px;
}

@media (prefers-reduced-motion: reduce) {
  html:not(#_) .aa-liste .aa-ligne, html:not(#_) .aa-liste .aa-ligne__img img { transition: none; }
  html:not(#_) .aa-liste .aa-ligne:hover { transform: none; }
}

@media (max-width: 719px) { html:not(#_) .aa-hero { background: #fffaf1; } }
