/* Mise en conformite Yas Brand Guidelines 2.0 (retour Brand Governance) : feuille ajoutee apres les styles des pages.
   1. Sky Blue #5F99D2 dans les composants secondaires   2. zone de protection du logo
   3. Figtree partout, jamais sous 14 px                 4. plectrum comme element graphique
   Le Sky Blue ne porte jamais de petit texte (contraste insuffisant) : fonds d'icones, filets, formes. */
:root {
 --ciel: #5f99d2;
 /* forme du plectrum officiel (contour du logo), sans les lettres */
 --plectrum-ciel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 187 169'%3E%3Cpath fill='%235f99d2' d='M48.22 167.216C90.3143 155.828 131.821 136.344 168.201 111.597C192.935 94.7759 191.022 68.5129 175.405 54.6734C155.309 36.8562 110.789 12.9048 76.5004 2.26248C48.6633 -6.37344 22.9434 10.6482 15.4013 37.4216C10.9727 53.1374 7.41087 69.1383 4.78557 85.3695C2.29478 100.75 0.725588 114.765 0.0530745 129.695C-1.21723 157.829 20.4726 174.726 48.22 167.216Z'/%3E%3C/svg%3E");
 --plectrum-jaune: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 187 169'%3E%3Cpath fill='%23ffd100' d='M48.22 167.216C90.3143 155.828 131.821 136.344 168.201 111.597C192.935 94.7759 191.022 68.5129 175.405 54.6734C155.309 36.8562 110.789 12.9048 76.5004 2.26248C48.6633 -6.37344 22.9434 10.6482 15.4013 37.4216C10.9727 53.1374 7.41087 69.1383 4.78557 85.3695C2.29478 100.75 0.725588 114.765 0.0530745 129.695C-1.21723 157.829 20.4726 174.726 48.22 167.216Z'/%3E%3C/svg%3E");
}
body, button, input, select, textarea { font-family: Figtree, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }

/* logo officiel : fixe, sans ombre ni reflet ; espace libre de 20 px (la lettre « a » mesure 14,5 px pour un logo de 64 px) */
.bandeau { padding: 20px 20px 0; gap: 0; }
.bandeau .logo-yas, .bandeau .logo-yas:hover { animation: none; transform: none; margin: 0; }
.bandeau .logo-yas::after { content: none; }
.bandeau img, .bandeau .logo-yas img { height: 64px; width: auto; margin: 0; filter: none; flex: none; }
.bandeau h1 { margin-left: 20px; }
header .yas-menu { margin-top: 20px; }

/* en-tete : plectrum Sky Blue en fond, a droite, a l'ecart du logo */
/* Sunshine Yellow plein (en transparence il devenait terne) */
header { position: relative; overflow: hidden; background: #ffd100; }
header::before { content: ""; position: absolute; right: -58px; bottom: -18px; width: 150px; height: 136px; background: var(--plectrum-ciel) center / contain no-repeat; transform: rotate(12deg); pointer-events: none; }
header > *:not(style) { position: relative; }
main { position: relative; }
@media (max-width: 420px) { header::before { width: 120px; height: 108px; right: -62px; bottom: 10px; } }
/* fond jaune uni : la capture de yas.tg montrait un titre coupe et un second logo */
body::before { background: #ffd100; }
/* ordinateur : jaune, bande Sky Blue et Midnight Blue, avec de grands plectrums (proportions 50/40/10) */
@media (min-aspect-ratio: 1/1) and (min-width: 900px) {
 header::before { content: none; }
 body::before { background:
  var(--plectrum-ciel) right -70px top 270px / 270px 244px no-repeat,
  var(--plectrum-jaune) left -60px bottom 130px / 190px 172px no-repeat,
  linear-gradient(#ffd100 0 60%, #5f99d2 60% 64%, #00377d 64%); }
}
.yas-menu a:not([aria-current="page"]) { background: #fff; }

/* etapes : a venir en Sky Blue clair borde de Sky Blue, texte Midnight Blue lisible */
.etapes4 { gap: 3px; }
.etapes4 li { font-size: 14px; padding: 5px 0; letter-spacing: -.01em; white-space: nowrap; opacity: 1; background: #dfebf6; border: 2px solid var(--ciel); color: #00377d; }
.etapes4 li.ici { background: #ffd100; border-color: #ffd100; }
.etapes4 li.fait { background: #00377d; border-color: #00377d; color: #fff; }
.etapes b { color: #00377d; }
.etapes .faite b { color: #fff; }
/* etapes de Pharmacies */
.etapes > span { font-size: 14px; border-radius: 999px; padding: 5px 2px; border: 2px solid var(--ciel); background: #dfebf6; color: #00377d; opacity: 1; white-space: nowrap; }
.etapes > span.fait { background: #ffd100; border-color: #ffd100; }
.badge, .contenus .contenu small { font-size: 14px; }

/* titres : petit separateur en forme de plectrum */
.carte h2 { position: relative; }
.carte h2::after { content: ""; display: block; width: 100%; height: 13px; margin-top: 8px; background: var(--plectrum-jaune) 0 50% / 14px 13px no-repeat, linear-gradient(var(--ciel), var(--ciel)) 22px 50% / 64px 3px no-repeat; }

/* cartes : icone sur plectrum Sky Blue, filet Sky Blue */
.rubriques button:not(.vedette), .services button, .jeux button { border: 1px solid var(--ciel); }
.rubriques button:not(.vedette) .ico { background: var(--plectrum-ciel) center / 100% 100% no-repeat; border-radius: 0; box-shadow: none; }
.rubriques button.vedette { position: relative; overflow: hidden; }
.rubriques button.vedette::after { content: ""; position: absolute; right: -24px; top: -34px; width: 88px; height: 80px; background: var(--plectrum-ciel) center / contain no-repeat; transform: rotate(-14deg); pointer-events: none; }
.rubriques button.vedette > * { position: relative; z-index: 1; }
input[type=tel], input[type=text], input[type=search], select { border-color: var(--ciel); }
.bloc { border-top-color: var(--ciel); }

/* pied de page : plectrum et filet */
footer { position: relative; overflow: hidden; border-top: 6px solid var(--ciel); }
footer::before { content: ""; position: absolute; left: -48px; bottom: -44px; width: 140px; height: 127px; background: var(--plectrum-ciel) center / contain no-repeat; pointer-events: none; }
footer > * { position: relative; }
footer .gnt { font-size: 14px; }
