/* encuentros-peru.lat — registre « quinoa & terre » (inspiration Pérou)
   Palette : accent terre cuite du favicon #9a6b3c (bandeau et boutons #86592e, blanc lisible),
   neutre chaud = grain de quinoa (#fbf5ea, #f3e7d2, #e9d9bd), encre terre #2a1c10.
   Composition : en-tête en bandeau plein de l'accent (logo clair, menu en onglets crème),
   motif de terrasses andines (andenes) en filet, cartes hautes à coin coupé en HAUT À GAUCHE,
   vignettes en arche, titres de bloc en cartouche à marche, fiche à photo en arche + CTA en
   carte centrée (cœur en filigrane), pied de page terre en 3 colonnes aérées. */

html:not(#_), html:not(#_) body, html:not(#_) .skin-3 {
  --aa-accent: #9a6b3c; --aa-teinte: #86592e;
  --aa-primaire: #86592e; --aa-primaire-fonce: #5f3d1c; --aa-primaire-txt: #fff;
  --aa-page: #f3e7d2; --aa-fond: #fbf5ea; --aa-surface: #fbf5ea; --aa-surface-2: #f5ead8;
  --aa-bord: #e2cfae; --aa-texte: #2a1c10; --aa-muet: #6a5238; --aa-lien: #7c5128;
  --aa-tete: #86592e; --aa-tete-txt: #fff; --aa-barre: #6e4822;
  --aa-bande: #86592e; --aa-bande-txt: #fff; --aa-bande-bord: #9a6b3c;
  --aa-secondaire: #2a1c10; --aa-secondaire-txt: #fff;
  --aa-pied: #3a2614; --aa-pied-txt: #f1e4cf; --aa-ok: #5d6b2e;
  --aa-rayon: 14px; --aa-rayon-s: 10px;
  --aa-ombre: 0 2px 5px rgba(95, 61, 28, .07), 0 16px 32px -20px rgba(134, 89, 46, .55);
  --aa-police-titre: "Gill Sans", "Gill Sans MT", "Trebuchet MS", Calibri, sans-serif;
  --pe-coin: 22px;
  --pe-andenes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 11 H20 V8 H40 V5 H60 V2 H80 V5 H100 V8 H120' fill='none' stroke='%239a6b3c' stroke-width='1.4'/%3E%3C/svg%3E");
  --pe-coeur: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 5 6.4 5c2 0 3.3 1.1 3.9 2.2.3.5 1.1.5 1.4 0C12.3 6.1 13.6 5 15.6 5 19 5 21.1 8.4 19.6 11.8 17.5 16.4 12 21 12 21z' fill='%239a6b3c' fill-opacity='.12'/%3E%3C/svg%3E");
}

/* Fond : champ de quinoa, grains semés */
html:not(#_) body {
  background-color: var(--aa-page);
  background-image:
    radial-gradient(ellipse 2px 1.4px at 30% 40%, rgba(154, 107, 60, .22) 98%, transparent),
    radial-gradient(ellipse 1.6px 1.2px at 75% 70%, rgba(255, 255, 255, .7) 98%, transparent);
  background-size: 26px 22px, 38px 30px;
}

/* ---------- En-tête : bandeau plein de l'accent ---------- */
html:not(#_) .aa-header {
  background: linear-gradient(180deg, #8d5f32, #7c5028); color: #fff; border-bottom: 0;
  box-shadow: 0 14px 28px -22px rgba(58, 38, 20, .9);
  position: relative;
}
html:not(#_) .aa-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 9px; pointer-events: none;
  background: var(--pe-andenes) repeat-x 0 0 / 120px 9px; opacity: .8;
}
html:not(#_) .aa-header .aa-header__in { border-bottom: 0; }
html:not(#_) .aa-header .aa-logo, html:not(#_) .aa-header .aa-logo__txt { color: #fff; font-family: var(--aa-police-titre); letter-spacing: .14em; }
html:not(#_) .aa-header .aa-logo__sous { color: #f6e6cc; opacity: 1; }
html:not(#_) .aa-header .aa-burger { color: #fff; border-color: rgba(255, 255, 255, .55); border-radius: 12px; background: rgba(255, 255, 255, .08); }
html:not(#_) .aa-header .aa-burger span, html:not(#_) .aa-header .aa-burger::before, html:not(#_) .aa-header .aa-burger::after { background-color: #fff; }
html:not(#_) .aa-header .aa-nav { background: transparent; border: 0; }
html:not(#_) .aa-header .aa-nav a {
  color: #fff; border: 0; border-radius: 12px 12px 0 0; padding: .5rem .9rem; margin: 0 .1rem;
  font-weight: 600; letter-spacing: .06em;
}
html:not(#_) .aa-header .aa-nav a:hover { background: rgba(251, 245, 234, .16); }
html:not(#_) .aa-header .aa-nav a.is-actif, html:not(#_) .aa-header .aa-nav .aa-nav__cta {
  background: #fbf5ea; color: #5f3d1c; box-shadow: inset 0 2px 0 #e9d9bd;
}
@media (max-width: 759px) {
  html:not(#_) .aa-header .aa-nav { background: #6e4822; border-radius: 16px; margin-bottom: .6rem; }
  html:not(#_) .aa-header .aa-nav a { border-radius: 10px; margin: .12rem .3rem; }
}

/* ---------- Conteneur, colonne latérale ---------- */
html:not(#_) .aa-main > .aa-wrap { border: 0; border-radius: 20px; background: var(--aa-fond); box-shadow: var(--aa-ombre); margin-top: 1.1rem; }
html:not(#_) .aa-layout .aa-side { border: 0; border-radius: 0 var(--aa-rayon) var(--aa-rayon) var(--aa-rayon); background: #f5ead8; box-shadow: var(--aa-ombre); }

/* Titres de bloc : cartouche à marche (terrasse) */
html:not(#_) .aa-h2, html:not(#_) .aa-side .aa-side__h, html:not(#_) .aa-bande, html:not(#_) .aa-depot__bloc legend {
  font-family: var(--aa-police-titre); font-style: normal; letter-spacing: .08em; font-size: .98rem;
  color: #5f3d1c; background: none; border: 0; border-left: 0; padding: .1rem 0 .65rem;
  background: var(--pe-andenes) no-repeat left bottom / 150px 10px;
}
html:not(#_) .aa-bande { border-bottom: 0; }
html:not(#_) .aa-bande .aa-bande__droite, html:not(#_) .aa-bande a { color: #7c5128; opacity: 1; }
html:not(#_) .aa-side .aa-side__liste li::before { background: #9a6b3c; border-radius: 50% 50% 2px 2px; }
html:not(#_) .aa-side .aa-side__nb { background: #fbf5ea; border-color: #e2cfae; color: #5f3d1c; border-radius: 999px; }

/* ---------- Accueil : carte d'introduction ---------- */
html:not(#_) .aa-main .aa-hero {
  border: 0; border-radius: var(--aa-rayon); position: relative; overflow: hidden; padding: 1.4rem 1.4rem 1.8rem;
  background:
    var(--pe-coeur) no-repeat right 1rem top .8rem / 110px,
    linear-gradient(135deg, transparent var(--pe-coin), #f5ead8 calc(var(--pe-coin) + .5px));
  box-shadow: 0 14px 28px -22px rgba(134, 89, 46, .85);
}
html:not(#_) .aa-main .aa-hero::after {
  content: ""; position: absolute; left: 1.4rem; right: 1.4rem; bottom: .6rem; height: 10px; pointer-events: none;
  background: var(--pe-andenes) repeat-x 0 0 / 120px 10px; opacity: .55;
}
html:not(#_) .aa-hero .aa-h1 { font-family: var(--aa-police-titre); color: #2a1c10; letter-spacing: .03em; }
html:not(#_) .aa-hero .aa-hero__chiffres { border-radius: 999px; color: #5f3d1c; }
html:not(#_) .aa-hero .aa-hero__form { border: 0; border-radius: 26px 26px 14px 14px; background: #fffdf8; box-shadow: 0 0 0 1px #e2cfae, 0 18px 34px -22px rgba(95, 61, 28, .9); }

/* ---------- Lignes d'annonce : cartes hautes à coin coupé ---------- */
html:not(#_) .aa-main .aa-liste { border-top: 0; gap: 1rem; }
html:not(#_) .aa-liste .aa-ligne {
  border: 0; border-radius: var(--aa-rayon); padding: 1.15rem 1.1rem 1.6rem; position: relative;
  background: linear-gradient(135deg, transparent var(--pe-coin), #fffcf6 calc(var(--pe-coin) + .5px));
  box-shadow: 0 1px 0 #e9d9bd, 0 14px 26px -20px rgba(134, 89, 46, .75);
  transition: transform .25s ease, box-shadow .25s ease;
}
html:not(#_) .aa-liste .aa-ligne::before {
  content: ""; position: absolute; left: 24px; right: 24px; bottom: 7px; height: 8px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M0 5 C40 10 70 0 100 5 S160 10 200 4' fill='none' stroke='%23d2b48a' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
html:not(#_) .aa-liste .aa-ligne:hover { transform: translateY(-2px); box-shadow: 0 1px 0 #e2cfae, 0 20px 32px -20px rgba(134, 89, 46, .9); }
html:not(#_) .aa-liste .aa-ligne__img {
  border: 3px solid #fbf5ea; border-radius: 999px 999px 14px 14px; padding: 0; background: #f3e7d2;
  box-shadow: 0 0 0 1px #d9c19c, 0 10px 18px -12px rgba(95, 61, 28, .85); overflow: hidden;
}
html:not(#_) .aa-liste .aa-ligne__img img { border-radius: 999px 999px 11px 11px; transition: transform .4s ease; }
html:not(#_) .aa-liste .aa-ligne:hover .aa-ligne__img img { transform: scale(1.05); }
html:not(#_) .aa-liste .aa-ligne__nb { background: rgba(42, 28, 16, .78); color: #fff; border-radius: 999px; }
html:not(#_) .aa-liste .aa-ligne__titre { font-family: var(--aa-police-titre); letter-spacing: .01em; }
html:not(#_) .aa-liste .aa-ligne__titre a { color: #5f3d1c; }
html:not(#_) .aa-liste .aa-ligne__cat { color: #7c5128; }
html:not(#_) .aa-liste .aa-ligne__meta, html:not(#_) .aa-liste .aa-ligne__date { color: #6a5238; }
html:not(#_) .aa-liste .aa-ligne__extrait { color: #3d2a18; }
html:not(#_) .aa-liste .aa-ligne__new { background: #5d6b2e; color: #fff; border-radius: 4px 12px 4px 12px; }
html:not(#_) .aa-liste .aa-ligne__action { border-left-color: #e9d9bd; }
html:not(#_) .aa-liste .aa-ligne__corps { border-left-color: #e9d9bd; }
html:not(#_) .aa-liste .aa-ligne__lire { border-radius: 4px 14px 4px 14px; }

/* ---------- Boutons, champs, pastilles ---------- */
html:not(#_) .aa-btn.aa-btn--primaire {
  border-radius: 6px 18px 6px 18px; background: linear-gradient(180deg, #936334, #7a4f27); border-color: #5f3d1c; color: #fff;
  box-shadow: 0 12px 22px -14px rgba(95, 61, 28, .95);
}
html:not(#_) .aa-btn.aa-btn--primaire:hover { background: linear-gradient(180deg, #86592e, #6b4421); }
html:not(#_) .aa-btn.aa-btn--secondaire { border-radius: 6px 18px 6px 18px; background: #fffcf6; color: #2a1c10; border-color: #5f3d1c; }
html:not(#_) .aa-main input:not([type=checkbox]):not([type=radio]), html:not(#_) .aa-main select, html:not(#_) .aa-main textarea,
html:not(#_) .aa-side input:not([type=checkbox]):not([type=radio]), html:not(#_) .aa-side select {
  border-radius: 10px; border-color: #d9c19c; background-color: #fffdf8; color: #2a1c10;
}
html:not(#_) .aa-main .aa-chip { border-radius: 999px; background: #f5ead8; border-color: #e2cfae; color: #3d2a18; }
html:not(#_) .aa-main .aa-liens a { color: #7c5128; }
html:not(#_) .aa-pagination a, html:not(#_) .aa-pagination span { border-radius: 10px; }

/* ---------- Fiche d'annonce ---------- */
html:not(#_) .aa-main .aa-fiche__titre { font-family: var(--aa-police-titre); color: #2a1c10; }
html:not(#_) .aa-main .aa-fiche__cat { color: #7c5128; }
html:not(#_) .aa-main .aa-fiche__photo {
  border: 4px solid #fbf5ea; border-radius: 999px 999px 18px 18px / 46% 46% 18px 18px; overflow: hidden;
  box-shadow: 0 0 0 1px #d9c19c, 0 22px 36px -22px rgba(95, 61, 28, .9);
}
html:not(#_) .aa-main .aa-fiche__infos { border: 0; border-radius: 0 16px 16px 16px; box-shadow: 0 0 0 1px #e9d9bd; background: #fffcf6; }
html:not(#_) .aa-main .aa-fiche__infos > div:nth-child(odd) { background: #f5ead8; }
html:not(#_) .aa-main .aa-fiche__physique > *, html:not(#_) .aa-main .aa-fiche__phy { border-radius: 10px; border-color: #e2cfae; background: #fffcf6; }
html:not(#_) .aa-main .aa-fiche__plage { border-radius: 999px; background: #f3e7d2; color: #3d2a18; }
html:not(#_) .aa-main .aa-fiche__cta--haut, html:not(#_) .aa-main .aa-fiche__cta--bas {
  border: 0; border-radius: 22px; padding: 1.1rem 1.2rem; text-align: center;
  background: var(--pe-coeur) no-repeat center / 120px, #f5ead8;
  box-shadow: inset 0 0 0 1px #e2cfae, 0 16px 28px -22px rgba(134, 89, 46, .95);
}
html:not(#_) .aa-main .aa-fiche__cta--bas { max-width: 560px; margin-inline: auto; }
html:not(#_) .aa-main .aa-fiche__miniatures img { border-radius: 12px 12px 4px 4px; }
html:not(#_) .aa-main .aa-repondre { border: 0; border-radius: 18px; background: #fffcf6; box-shadow: 0 0 0 1px #e2cfae, var(--aa-ombre); }

/* ---------- Dépôt ---------- */
html:not(#_) .aa-main .aa-depot__bloc { border: 0; border-radius: 0 var(--aa-rayon) var(--aa-rayon) var(--aa-rayon); background: #fffcf6; box-shadow: 0 0 0 1px #e9d9bd, 0 12px 24px -20px rgba(134, 89, 46, .8); }

/* ---------- Pop-up et porte ---------- */
html:not(#_) .aa-popup .aa-popup__box, html:not(#_) .aa-gate .aa-gate__box { border-radius: 26px 26px 16px 16px; }

/* ---------- Pied de page terre, 3 colonnes aérées ---------- */
html:not(#_) .aa-footer {
  border-top: 0; margin-top: 2.2rem; position: relative; background: #3a2614; color: #f1e4cf;
  --aa-texte: #f1e4cf; --aa-muet: #d7c3a3; --aa-lien: #f1e4cf;
}
html:not(#_) .aa-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 12 V9 H20 V6 H40 V3 H60 V0 H80 V3 H100 V6 H120 V12 Z' fill='%233a2614'/%3E%3C/svg%3E") repeat-x 0 0 / 120px 10px;
}
html:not(#_) .aa-footer a { color: #f1e4cf; }
html:not(#_) .aa-footer a:hover { color: #f0c98f; }
html:not(#_) .aa-footer .aa-footer__h { color: #f0c98f; letter-spacing: .1em; border-bottom: 1px solid rgba(241, 228, 207, .18); }
html:not(#_) .aa-footer .aa-logo__txt, html:not(#_) .aa-footer .aa-footer__brand { color: #fff; }
html:not(#_) .aa-footer .aa-footer__fictif, html:not(#_) .aa-footer p { color: #d7c3a3; }
html:not(#_) .aa-footer .aa-footer__bas { background: rgba(0, 0, 0, .22); color: #d7c3a3; }
@media (min-width: 760px) {
  html:not(#_) .aa-footer .aa-footer__grid { grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: none; gap: 2rem 3.2rem; padding-block: 2.8rem 2.2rem; }
  html:not(#_) .aa-footer .aa-footer__col { grid-column: auto; grid-row: auto; }
  html:not(#_) .aa-footer .aa-footer__col:first-child { grid-row: span 2; padding-right: 1rem; border-right: 1px dashed rgba(241, 228, 207, .2); }
  html:not(#_) .aa-footer .aa-footer__col:not(:first-child) .aa-footer__h { display: block; margin: 0 0 .6rem; padding-bottom: .35rem; }
  html:not(#_) .aa-footer .aa-footer__col:not(:first-child) ul { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
}
html:not(#_) .aa-main .aa-fiche__new { top: 1.4rem; right: 50%; transform: translateX(50%); border-radius: 999px; background: #5d6b2e; color: #fff; }

html:not(#_) .aa-mobar .aa-btn, html:not(#_) .aa-fiche__barre .aa-btn { border-radius: 6px 16px 6px 16px; }

@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, html:not(#_) .aa-liste .aa-ligne:hover .aa-ligne__img img { transform: none; }
}
