/* plan-q-telegram.be — registre « bleu messagerie et nuage, bulles »
   Palette : accent bleu ciel #2a9fd6 (favicon) et ses fonds lisibles #1a74a8 / #135a86 ·
   neutre chaud « lait » (#fbf7f0, #f4ece0, #e7dccb) · encre bleu nuit #13263a.
   Formes signature : bulles de conversation (coin d'envoi pointu + petite queue : titres de section, hero,
   lignes d'annonce, carte de dépôt), avatars ronds cerclés de lait (vignettes, photo de fiche),
   festons de nuage (bas de l'en-tête, haut du pied), bulle-cœur au trait en filigrane.
   Base : skin-3 / compo-5. Aucun CTA déplacé ni caché, aucune marque tierce. */

body.aa.skin-3 {
  --aa-teinte: var(--aa-accent);
  --aa-primaire: #1a74a8;
  --aa-primaire-fonce: #135a86;
  --aa-page: #efe6d9; --aa-fond: #fffcf7; --aa-surface: #ffffff; --aa-surface-2: #f8f1e7;
  --aa-bord: #e7dccb; --aa-texte: #13263a; --aa-muet: #57616b; --aa-lien: #17699a;
  --aa-tete: #135a86; --aa-tete-txt: #ffffff; --aa-barre: #0f4a70;
  --aa-bande: #1a74a8; --aa-bande-txt: #ffffff; --aa-bande-bord: #135a86;
  --aa-secondaire: #135a86; --aa-pied: #0f2638; --aa-pied-txt: #dbe6ee;
  --aa-rayon: 18px; --aa-rayon-s: 12px;
  --aa-ombre: 0 2px 4px rgba(19, 38, 58, .05), 0 18px 38px -22px rgba(26, 116, 168, .45);
  --aa-police: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --aa-police-titre: ui-rounded, "SF Pro Rounded", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --tg-ciel: #2a9fd6;
  --tg-lait: #fbf7f0;
  --tg-sable: #f4ece0;
  --tg-bulle: linear-gradient(150deg, #1d82bd 0%, #1a74a8 45%, #135a86 100%);
  --tg-points: radial-gradient(circle, rgba(42, 159, 214, .35) 3px, transparent 3.5px) 0 0 / 14px 14px;
  --tg-coeur: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 58'%3E%3Cpath d='M8 6h48a6 6 0 0 1 6 6v26a6 6 0 0 1-6 6H26l-12 10v-10H8a6 6 0 0 1-6-6V12a6 6 0 0 1 6-6Z' fill='none' stroke='%232a9fd6' stroke-width='2'/%3E%3Cpath d='M32 36c-7-5-11-8.5-11-13 0-3 2.3-5.2 5-5.2 2.6 0 4.6 1.6 6 3.8 1.4-2.2 3.4-3.8 6-3.8 2.7 0 5 2.2 5 5.2 0 4.5-4 8-11 13Z' fill='%232a9fd6' fill-opacity='.85'/%3E%3C/svg%3E");
  background-image: radial-gradient(60% 40% at 90% 0%, rgba(42, 159, 214, .10), transparent 70%), radial-gradient(50% 30% at 0% 40%, rgba(255, 255, 255, .55), transparent 70%);
}

/* --- en-tête : ciel, festons de nuage ---------------------------------------- */
body.aa .aa-header { background: radial-gradient(70% 140% at 88% -20%, rgba(42, 159, 214, .85), transparent 62%), linear-gradient(160deg, #1a74a8 0%, #135a86 55%, #0f4a70 100%); box-shadow: none; padding-bottom: 12px; }
body.aa .aa-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 14px; pointer-events: none;
  background: radial-gradient(circle at 18px 18px, var(--aa-page) 13px, transparent 13.5px) 0 0 / 36px 14px repeat-x; }
body.aa .aa-logo__mark { border-radius: 14px 14px 14px 4px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 19C6.5 15 4 12.2 4 9c0-2.4 1.8-4.2 4.1-4.2 1.6 0 3 .9 3.9 2.3.9-1.4 2.3-2.3 3.9-2.3C18.2 4.8 20 6.6 20 9c0 3.2-2.5 6-8 10Z' fill='%231a74a8'/%3E%3C/svg%3E") center / 64% no-repeat; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .55); }
body.aa .aa-logo__txt { font-family: var(--aa-police-titre); font-style: normal; font-weight: 800; letter-spacing: .01em; color: #fff; }
body.aa .aa-logo__sous { color: #e3f1fa; opacity: 1; }
body.aa .aa-header__cta.aa-btn { background: #fff; color: #135a86; border: 0; border-radius: 999px 999px 999px 6px; font-weight: 700; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .55); }
body.aa .aa-nav { background: transparent; }
body.aa .aa-nav ul { gap: .3rem; padding-block: .35rem; }
body.aa .aa-nav a { color: #f2f8fc; border-bottom: 0; border-radius: 999px; padding: .5rem .95rem; }
body.aa .aa-nav a:hover { background: rgba(255, 255, 255, .14); }
body.aa .aa-nav a.is-actif { background: var(--tg-lait); color: #135a86; border-bottom: 0; border-radius: 999px 999px 999px 6px; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .45); }
@media (max-width: 859px) {
  body.aa .aa-nav { background: #0f4a70; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .18); }
  body.aa .aa-nav a { border-radius: 12px; }
  body.aa .aa-nav a.is-actif { border-radius: 12px 12px 12px 4px; }
  body.aa .aa-nav__cta a { background: #fff; color: #135a86; }
  body.aa .aa-burger { border-color: rgba(255, 255, 255, .45); border-radius: 14px 14px 14px 4px; }
}

/* --- conteneur lait --------------------------------------------------------- */
body.aa .aa-main > .aa-wrap { border: 1px solid var(--aa-bord); border-radius: 26px; background: var(--aa-fond); box-shadow: 0 1px 0 #fff inset, 0 30px 60px -42px rgba(19, 38, 58, .55); }

/* --- titres de section : bulles envoyées ------------------------------------- */
body.aa .aa-h2, body.aa .aa-side__h, body.aa .aa-bande, body.aa .aa-depot__bloc legend {
  position: relative; background: var(--tg-bulle); color: #fff; border: 0;
  border-radius: 18px 18px 18px 5px; box-shadow: 0 10px 20px -14px rgba(19, 90, 134, .9);
  font-family: var(--aa-police-titre); font-style: normal; text-transform: none; letter-spacing: .01em;
  font-size: 1rem; font-weight: 700; padding: .55rem 1.05rem;
}
body.aa .aa-h2::after, body.aa .aa-side__h::after, body.aa .aa-bande::after, body.aa .aa-depot__bloc legend::after {
  content: ""; position: absolute; left: -6px; bottom: 0; width: 14px; height: 12px; pointer-events: none;
  background: radial-gradient(circle at 0 0, transparent 9.5px, #135a86 10px);
}
body.aa .aa-h2 { display: inline-flex; max-width: 100%; gap: .5rem; }
body.aa .aa-side__h { margin: -.95rem -1rem .9rem; border-radius: 20px 20px 20px 5px; }
body.aa .aa-side__h::after { left: 0; bottom: -10px; width: 12px; height: 10px; background: linear-gradient(to bottom right, #135a86 50%, transparent 51%); }
body.aa .aa-bloc__tete .aa-lien { color: #17699a; font-weight: 700; }
body.aa .aa-depot__bloc legend::before { background: #fff; color: #135a86; }

/* --- hero : grande bulle reçue, points en filigrane ---------------------------- */
body.aa .aa-hero { position: relative; overflow: hidden; border: 1px solid var(--aa-bord); border-radius: 28px 28px 28px 6px;
  background: var(--tg-coeur) right 18px bottom 16px / 86px no-repeat, linear-gradient(150deg, #ffffff 0%, var(--tg-lait) 55%, #eef6fb 100%);
  box-shadow: var(--aa-ombre); padding: 1.4rem 1.5rem 1.3rem; }
body.aa .aa-hero .aa-h1 { font-family: var(--aa-police-titre); color: #13263a; font-weight: 800; letter-spacing: -.005em; font-size: clamp(1.45rem, 1rem + 1.5vw, 2.05rem); }
body.aa .aa-hero .aa-intro { color: #3f4c58; max-width: 60ch; }
body.aa .aa-hero__chiffres span { background: #fff; color: #135a86; border: 1.5px solid #cfe6f3; border-radius: 999px 999px 999px 6px; box-shadow: 0 6px 14px -10px rgba(26, 116, 168, .7); }
body.aa .aa-hero__chiffres span::before { background: var(--tg-ciel); }

/* --- lignes d'annonce : bulles reçues, avatar rond ---------------------------- */
body.aa .aa-liste { border-top: 0; display: grid; gap: .7rem; padding-top: .3rem; }
body.aa .aa-ligne { background: #fff; border: 1px solid var(--aa-bord); border-bottom: 1px solid var(--aa-bord); border-radius: 22px 22px 22px 6px; padding: .85rem .95rem; box-shadow: 0 10px 22px -20px rgba(19, 38, 58, .6); transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease; }
body.aa .aa-ligne:nth-child(even) { background: var(--tg-lait); }
body.aa .aa-ligne:hover { border-color: #b9dcef; box-shadow: 0 16px 28px -18px rgba(26, 116, 168, .6); transform: translateY(-1px); }
body.aa .aa-ligne__img { border: 3px solid #fff; border-radius: 50%; padding: 0; background: var(--tg-sable); box-shadow: 0 0 0 2px #cfe6f3, 0 10px 18px -12px rgba(19, 90, 134, .8); }
body.aa .aa-ligne__img img { border-radius: 50%; }
body.aa .aa-ligne:hover .aa-ligne__img img { transform: scale(1.06); }
body.aa .aa-ligne__cat { color: #17699a; font-weight: 700; letter-spacing: .04em; }
body.aa .aa-ligne__new, body.aa .aa-fiche__new { background: #e3f1fa; color: #0f4a70; border-radius: 999px 999px 999px 4px; padding-inline: .55rem; }
body.aa .aa-ligne__titre { font-family: var(--aa-police-titre); }
body.aa .aa-ligne__titre a { color: #135a86; text-decoration: none; font-weight: 700; }
body.aa .aa-ligne__titre a:hover { text-decoration: underline; text-decoration-color: var(--tg-ciel); }
body.aa .aa-ligne__lire.aa-btn { border-radius: 999px 999px 999px 6px; border: 1.5px solid #1a74a8; color: #135a86; background: #fff; }
body.aa .aa-liste--similaires .aa-ligne { padding: .7rem .85rem; }

/* --- boutons ------------------------------------------------------------------ */
body.aa .aa-btn { border-radius: 14px; }
body.aa .aa-btn--primaire { background: var(--tg-bulle); color: #fff; border-color: #135a86; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 12px 22px -14px rgba(19, 90, 134, .95); }
body.aa .aa-btn--primaire:hover { filter: brightness(1.06); }
body.aa .aa-btn--secondaire { background: #fff; color: #135a86; border-color: #1a74a8; }

/* --- colonne latérale : bulles lait ------------------------------------------- */
body.aa .aa-side { background: linear-gradient(180deg, #ffffff, var(--tg-lait)); border: 1px solid var(--aa-bord); border-radius: 22px; padding: .95rem 1rem 1rem; box-shadow: var(--aa-ombre); }
body.aa .aa-side--deposer { background: none; border: 0; box-shadow: none; }
body.aa .aa-side__liste li { border-top: 1px dashed var(--aa-bord); }
body.aa .aa-side__liste li::before { width: 7px; height: 7px; border-radius: 50%; transform: none; background: var(--tg-ciel); }
body.aa .aa-side__nb { background: #e3f1fa; border: 0; color: #0f4a70; font-weight: 700; border-radius: 999px; }
body.aa .aa-side__liste--inline li { background: #fff; border-color: #cfe6f3; border-radius: 999px 999px 999px 4px; }
body.aa .aa-chip { border-color: #cfe6f3; border-radius: 999px; }

/* --- blocs de liens, filtres, champs ------------------------------------------- */
body.aa .aa-liens li { background: #fff; border-color: var(--aa-bord); border-radius: 16px 16px 16px 4px; padding-left: 1.05rem; }
body.aa .aa-liens li::before { width: 7px; height: 7px; top: 50%; bottom: auto; left: .42rem; border-radius: 50%; transform: translateY(-50%); background: var(--tg-ciel); }
body.aa .aa-liens li:hover { border-color: #9fcfe9; box-shadow: 0 8px 16px -12px rgba(26, 116, 168, .7); }
body.aa .aa-liens__nb { color: #57616b; }
body.aa .aa-filtres { background: var(--tg-lait); border: 1px solid var(--aa-bord); border-radius: 22px 22px 22px 6px; }
body.aa select, body.aa input[type="text"], body.aa input[type="email"], body.aa input[type="number"], body.aa input[type="password"], body.aa textarea { border-radius: 14px; border-color: #d9cdbb; background-color: #fffdf9; }
body.aa select:focus, body.aa input:focus, body.aa textarea:focus { border-color: #1a74a8; outline: 2px solid rgba(42, 159, 214, .35); outline-offset: 1px; }

/* --- atouts et étapes : bulles numérotées --------------------------------------- */
body.aa .aa-atouts li { background: #fff; border: 1px solid var(--aa-bord); border-radius: 22px 22px 22px 6px; box-shadow: 0 10px 24px -20px rgba(19, 38, 58, .6); }
body.aa .aa-atouts .aa-atouts__ico { border-radius: 50%; background: #e3f1fa; color: #135a86; }
body.aa .aa-atouts h3, body.aa .aa-etapes h3 { font-family: var(--aa-police-titre); color: #13263a; font-style: normal; }
body.aa .aa-etapes li { background: #fff; border-radius: 22px 22px 22px 6px; }
body.aa .aa-etapes li::before { border-radius: 50% 50% 50% 4px; background: var(--tg-bulle); color: #fff; }

/* --- carte de dépôt centrée ------------------------------------------------------ */
body.aa .aa-deposer-cta { flex-direction: column; justify-content: center; text-align: center; max-width: 540px; margin: 1.6rem auto 0; padding: 4.6rem 1.6rem 1.6rem;
  background: var(--tg-coeur) center 18px / 52px no-repeat, linear-gradient(160deg, #fff, var(--tg-lait) 70%, #eef6fb); border: 1px solid #d9e8f1; border-radius: 30px 30px 30px 8px; box-shadow: var(--aa-ombre); }
body.aa .aa-deposer-cta__bloc { flex: 0 1 auto; }
body.aa .aa-deposer-cta__h { font-family: var(--aa-police-titre); font-size: 1.25rem; color: #13263a; font-style: normal; }
body.aa .aa-deposer-cta .aa-btn { min-width: 220px; }
body.aa .aa-bloc--deposer .aa-deposer-cta { margin: 0 auto; }

/* --- fiche : avatar en bulle, tableau lait ----------------------------------------- */
body.aa .aa-fiche__titre { font-family: var(--aa-police-titre); color: #13263a; font-weight: 800; border-bottom: 0; padding-bottom: .65rem;
  background: linear-gradient(90deg, var(--tg-ciel) 0 56px, transparent 56px 64px, #cfe6f3 64px 100%) left bottom / 100% 3px no-repeat; }
body.aa .aa-fiche__photo { border: 3px solid #fff; border-radius: 34px 34px 34px 8px; padding: 0; background: var(--tg-sable); box-shadow: 0 0 0 2px #cfe6f3, 0 22px 40px -26px rgba(19, 90, 134, .8); }
body.aa .aa-fiche__photo .aa-fiche__img { border-radius: 30px 30px 30px 6px; }
body.aa .aa-fiche__miniatures img { border-radius: 50%; border: 2px solid #cfe6f3; }
body.aa .aa-fiche__infos { border-color: var(--aa-bord); border-radius: 18px; background: #fff; overflow: hidden; }
body.aa .aa-fiche__infos > div:nth-child(odd) { background: var(--tg-lait); }
body.aa .aa-fiche__infos dt { color: #57616b; }
body.aa .aa-fiche__infos dd { border-left-color: var(--aa-bord); color: #13263a; }
body.aa .aa-fiche__cta--haut { background: linear-gradient(160deg, #fff, #eef6fb); border: 1px solid #d9e8f1; border-radius: 22px 22px 22px 6px; box-shadow: var(--aa-ombre); }
body.aa .aa-fiche__cta--bas { max-width: 520px; margin-inline: auto; background: var(--tg-coeur) center 14px / 44px no-repeat, linear-gradient(160deg, #fff, var(--tg-lait)); border: 1px solid #d9e8f1; border-radius: 28px 28px 28px 8px; padding: 4rem 1.3rem 1.2rem; box-shadow: var(--aa-ombre); }
body.aa .aa-fiche__plage { background: #e3f1fa; color: #0f4a70; border-radius: 999px 999px 999px 4px; }
body.aa .aa-fiche__phy { background: #fff; border-color: var(--aa-bord); border-radius: 16px 16px 16px 4px; }
body.aa .aa-chips--lecture li { background: #fff; border-color: #cfe6f3; color: #13263a; border-radius: 999px 999px 999px 4px; }
body.aa .aa-repondre { background: var(--tg-lait); border-color: var(--aa-bord); border-radius: 24px 24px 24px 6px; }
body.aa .aa-depot__bloc { border-radius: 22px 22px 22px 6px; border-color: var(--aa-bord); background: #fff; }
body.aa .aa-pagination a, body.aa .aa-pagination span { border-radius: 999px; background: #fff; }
body.aa .aa-pagination .is-actif { background: var(--tg-bulle); color: #fff; border-color: #135a86; }

/* --- barres mobiles (fond seulement, position du gabarit) -------------------------- */
body.aa .aa-fiche__barre, body.aa .aa-mobar { background: rgba(255, 252, 247, .95); border-top: 1px solid #d9e8f1; box-shadow: 0 -10px 24px -14px rgba(19, 90, 134, .5); }

/* --- pied : nuit bleue, festons de nuage ------------------------------------------- */
body.aa .aa-footer { position: relative; background: radial-gradient(70% 120% at 85% 0%, rgba(42, 159, 214, .28), transparent 60%), #0f2638; border-top: 0; margin-top: 2.2rem; padding-top: 6px; }
body.aa .aa-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 14px; pointer-events: none;
  background: radial-gradient(circle at 18px 0, #0f2638 13px, transparent 13.5px) 0 0 / 36px 14px repeat-x; }
body.aa .aa-footer__h { color: #9fd3ef; font-family: var(--aa-police-titre); text-transform: none; letter-spacing: .03em; font-size: .98rem; border-bottom-color: rgba(159, 211, 239, .25); }
body.aa .aa-footer__brand { color: #fff; font-family: var(--aa-police-titre); }
body.aa .aa-footer a { color: #dbe6ee; }
body.aa .aa-footer a:hover { color: #fff; text-decoration-color: var(--tg-ciel); }
body.aa .aa-footer__fictif { opacity: 1; color: #b8c6d1; }
body.aa .aa-footer__bas { background: rgba(0, 0, 0, .25); }

/* --- porte et pop-up ----------------------------------------------------------------- */
body.aa .aa-gate__box, body.aa .aa-popup__box { border-radius: 26px 26px 26px 8px; border-top: 0; background: var(--aa-fond); box-shadow: inset 0 4px 0 var(--tg-ciel), 0 30px 60px -20px rgba(15, 38, 56, .7); }
body.aa .aa-gate__mark { background: var(--tg-bulle); border-radius: 18px 18px 18px 5px; }
body.aa .aa-popup__titre, body.aa .aa-gate__box h2 { font-family: var(--aa-police-titre); color: #13263a; font-style: normal; }
body.aa .aa-popup__ico { background: #e3f1fa; color: #135a86; border-radius: 50%; }

@media (max-width: 639px) {
  body.aa .aa-main > .aa-wrap { border-radius: 20px; }
  body.aa .aa-hero { background-size: 40px, auto; background-position: right 14px top 16px, 0 0; padding: 1.1rem 1.1rem 1rem; }
  body.aa .aa-hero .aa-h1 { padding-right: 44px; }
  body.aa .aa-ligne { padding: .75rem .8rem; }
  body.aa .aa-deposer-cta { padding-top: 4.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  body.aa .aa-ligne, body.aa .aa-ligne__img img { transition: none; }
  body.aa .aa-ligne:hover { transform: none; }
}
