/* Essaïon — Arsenal Billetterie dans le site (espace compagnies, réservation des abonnés) :
   couleurs, polices et arrondis du thème (variables --ess-* d'essaion-tt5), comme l'ancienne page (v2).
   Chargé seulement sur ces pages. */
.ab-front {
    --ab-bleu: var(--ess-rouge, #b81c1a); --ab-bleu-fonce: var(--ess-rouge-vif, #d42320);
    --ab-texte: var(--ess-encre, #1f1b18); --ab-gris: var(--ess-gris, #6a625b);
    --ab-bord: var(--ess-trait, #e4ddd2); --ab-fond-doux: var(--ess-pierre, #f1ece4); --ab-rayon: var(--ess-rayon, 10px);
    font-family: var(--ess-texte, inherit);
}
/* Zones : cartes blanches, sans bordure, ombre légère (comme le reste du site) */
.ab-front .ab-zone { background: var(--ess-blanc, #fff); border: 0; box-shadow: 0 1px 2px rgba(31,27,24,.06); }
.ab-front .ab-minical { border-color: var(--ess-trait, #e4ddd2); }

/* En-tête : titre du spectacle et infos (comme la v2) */
.ab-front .ab-entete .ab-titre { font: 720 2rem/1.15 var(--ess-titres) !important; font-variation-settings: "wdth" 85; margin: 0 !important; }
.ab-front .ab-infos { font-size: .95rem !important; font-weight: 500 !important; color: var(--ess-gris) !important; margin-top: 6px; }

/* Jour, horaire et titres des tableaux : même police, horaire et titres de même taille */
.ab-front .ab-jour { font: 760 clamp(1.5rem, 3vw, 2rem)/1.1 var(--ess-titres) !important; font-variation-settings: "wdth" 85; margin: 32px 0 14px !important; }
.ab-front .ab-rep-heure, .ab-front .ab-section h3 { font: 700 20px/1.2 var(--ess-titres) !important; font-variation-settings: "wdth" 85; }
.ab-front .ab-section h3 { border-left: 4px solid var(--ess-rouge); padding-left: 12px; }
.ab-front .ab-badge { border-radius: 999px; }
.ab-front .ab-badge-places { background: var(--ess-encre, #1f1b18); }
.ab-front .ab-rep-tete .ab-badge { font: 600 .85rem/1 var(--ess-texte); padding: .5em .9em; }   /* places, Complet… : même taille */

/* Jauge : celle de la v2 (barre à l'encre du site, couleurs discrètes) */
.ab-front .ab-jauge-titre { font: 600 .72rem var(--ess-texte); letter-spacing: .12em; text-transform: uppercase; color: var(--ess-gris); }
.ab-front .ab-jauge-barre { height: 8px; background: var(--ess-pierre, #efe9df); border-radius: 4px; }
.ab-front .ab-jauge-barre span { background: var(--ess-encre, #1f1b18); border-radius: 4px; min-width: 2px; }
.ab-front .ab-jauge-surbook .ab-jauge-barre span { background: var(--ess-rouge); }
.ab-front .ab-jauge-chiffres { font-size: .95rem; margin: 10px 0 8px; }
.ab-front .ab-jauge-pct { color: var(--ess-encre) !important; font: 760 1.1rem var(--ess-titres); }
.ab-front .ab-jauge-salle { color: #9ca3af; font-size: .85rem; }
.ab-front .ab-jauge-groupes { font-size: .88rem; }
.ab-front .ab-groupe-br         { color: #2f6b7a; }
.ab-front .ab-groupe-revendeurs { color: #4d7f8b; }
.ab-front .ab-groupe-starter    { color: #7a9ea6; }
.ab-front .ab-groupe-theatre    { color: #6b3a5b; }
.ab-front .ab-groupe-abonnes    { color: #8a6d2f; }
.ab-front .ab-groupe-compagnie  { color: #3f7a5d; }
.ab-front .ab-groupe-invites    { color: var(--ess-gris); }

/* Boutons : ceux du site (.ess-btn) — plein rouge, ou contour rouge qui se remplit au survol */
.ab-front .button:not(.ab-icone) {
    font: 600 .92rem/1 var(--ess-texte); padding: .78em 1.2em; min-height: 0;
    border: 1px solid var(--ess-rouge); border-radius: 999px; background: transparent; color: var(--ess-rouge);
    transition: background .15s, color .15s, border-color .15s;
}
.ab-front .button:not(.ab-icone):hover, .ab-front .button:not(.ab-icone):focus-visible { background: var(--ess-rouge); color: #fff; }
.ab-front .button.button-primary { background: var(--ess-rouge); color: #fff; }
.ab-front .button.button-primary:hover, .ab-front .button.button-primary:focus-visible { background: var(--ess-rouge-vif); border-color: var(--ess-rouge-vif); }
.ab-front .button[disabled] { opacity: .35; }
.ab-front .button.ab-icone { border-radius: 4px; }   /* carré de 30 px, comme l'admin */
.ab-front .button.ab-icone:hover { background: var(--ess-rouge); color: #fff; }

/* Jour choisi : encre du site */
.ab-front .ab-minical-grille a.choisi { background: var(--ess-encre, #1f1b18); border-color: var(--ess-encre, #1f1b18); }
