/* avaservice.it — leggibilità dei testi (25/10/2026), foglio comune a tutte le pagine (collegato da
   scripts/cloud-gw1/avaservice-fixes-20261025.py). Non cambia nessun testo: solo colori e livelli, per un contrasto
   WCAG di almeno 4,5:1 sul testo normale e 3:1 sui titoli grandi, misurato sui pixel reali dietro ogni riga.
   I selettori sono più specifici delle classi di Tailwind (il CDN aggiunge il suo <style> dopo questo foglio). */

/* 1. COLORI DEL MARCHIO, definiti una volta per tutte le pagine ---------------------------------------------------
   Prima ogni pagina li ridefiniva nel proprio <style>: in servizi-axios.html mancava un punto e il piè di pagina restava
   senza sfondo (bianco su chiaro). L'azzurro dei testi e dei bottoni è appena più scuro del logo (#0082cb → #0076b9):
   sul bianco e sul grigio chiaro della pagina passa da 4,15:1 e 3,9:1 a 4,9:1 e 4,6:1, a occhio è lo stesso colore. */
html body .bg-avaservice-dark { background-color: #334D5C; }
html body .text-avaservice-dark { color: #334D5C; }
html body .bg-avaservice-light { background-color: #f7f7f7; }
html body .bg-avaservice-blue { background-color: #0076b9; color: #fff; }
html body .text-avaservice-blue { color: #0076b9; }
html body .border-avaservice-blue { border-color: #0076b9; color: #0076b9; }
html body .hover-text-avaservice-blue:hover { color: #0076b9; }

/* 2. TESTI E BOTTONI SOTTO SOGLIA --------------------------------------------------------------------------------- */
/* Piè di pagina: privacy, trasparenza, cookie e © in grigio chiaro sul blu scuro (3,5:1 → 6:1). */
html body footer .text-gray-400,
html body footer .text-gray-400 a { color: #d1d5db; }
html body footer .text-gray-400 a:hover { color: #fff; }
/* Divisioni Scuola e Polizia Locale: link «Scopri…» verde e arancio sul bianco (3,3:1 e 3,6:1 → 5:1); l'icona tonda
   resta del colore della divisione. */
html body span.text-green-600 { color: #15803d; }
html body span.text-orange-600 { color: #c2410c; }
/* Bottoni bianco su verde (WhatsApp) e su azzurro chiaro (Supremo), iniziali delle recensioni (3,3:1, 4,1:1, 2,8:1). */
html body .bg-green-600.text-white:not(:hover) { background-color: #15803d; }
html body .bg-sky-600.text-white:not(:hover) { background-color: #0369a1; }
html body .bg-orange-500.text-white { background-color: #c2410c; }
