/*
 * Police Luciole – © Laurent Bourcellier & Jonathan Perez, 2019 (typographies.fr / CTRDV),
 * licence Creative Commons Attribution 4.0 International – https://www.luciole-vision.com/
 * Fichiers convertis en WOFF pour le web.
 *
 * Rôle de cette feuille (charte graphique v1.1) : Luciole pour tout le texte courant, et
 * garantie que le thème ne remplace pas les polices de la charte (Antonio pour le titrage,
 * Cormorant Garamond pour l'éditorial), fournies par l'extension « Vino Veritas – Charte graphique ».
 */
@font-face{font-family:"Luciole";src:url("../fonts/Luciole-Regular.woff") format("woff");font-weight:100 500;font-style:normal;font-display:swap}
@font-face{font-family:"Luciole";src:url("../fonts/Luciole-Regular-Italic.woff") format("woff");font-weight:100 500;font-style:italic;font-display:swap}
@font-face{font-family:"Luciole";src:url("../fonts/Luciole-Bold.woff") format("woff");font-weight:600 900;font-style:normal;font-display:swap}
@font-face{font-family:"Luciole";src:url("../fonts/Luciole-Bold-Italic.woff") format("woff");font-weight:600 900;font-style:italic;font-display:swap}

:root{
  --vv-police:"Luciole",Verdana,"DejaVu Sans",Arial,sans-serif;
  --vv-police-titrage:var(--vv-font-display,"Antonio","Arial Narrow","Roboto Condensed",sans-serif);
  --vv-police-editoriale:var(--vv-font-serif,"Cormorant Garamond",Garamond,"Times New Roman",serif);
  --e-a-font-family:var(--vv-police);
  --font-family-sans-serif:var(--vv-police);
}

/* 1. Texte courant : Luciole partout (sauf polices d'icônes). */
html body,
html body :where(*:not(i):not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not(.fad):not([class^="fa-"]):not([class*=" fa-"]):not([class*="eicon"]):not([class*="dashicons"]):not(.ab-icon):not(.star-rating)){
  font-family:var(--vv-police)!important;
}

/* 2. Titrage de la charte : Antonio (titres, boutons, prix, onglets, menu). */
html body :is(h1,h2,h3,h5,h6,.vv-display,.vv-h1,.vv-h2,.vv-h3,.vv-surtitre,.vv-btn,.vv-lien,.vv-badge,.vv-carte__titre,.vv-prix,.vv-citation cite,.vv-fiche dt,
  .woocommerce-loop-product__title,.product_title,ul.products li.product .price,div.product p.price,div.product span.price,.wc-block-components-product-price,
  span.onsale,.woocommerce-tabs ul.tabs li a,table.shop_table th,.order-total .amount,.woocommerce-pagination .page-numbers,
  a.button,button.button,input.button,.single_add_to_cart_button,.wc-block-components-button,.elementor-button,.wp-block-button__link,
  .elementor-nav-menu .elementor-item),
html body :is(h1,h2,h3,h5,h6,.vv-display,.vv-h1,.vv-h2,.vv-h3,.vv-surtitre,.vv-btn,.vv-lien,.vv-badge,.vv-carte__titre,.vv-prix,.vv-citation cite,.vv-fiche dt,
  .woocommerce-loop-product__title,.product_title,ul.products li.product .price,div.product p.price,div.product span.price,.wc-block-components-product-price,
  span.onsale,.woocommerce-tabs ul.tabs li a,table.shop_table th,.order-total .amount,.woocommerce-pagination .page-numbers,
  a.button,button.button,input.button,.single_add_to_cart_button,.wc-block-components-button,.elementor-button,.wp-block-button__link,
  .elementor-nav-menu .elementor-item) :where(*:not(i):not(.fa):not(.fas):not(.far):not(.fab):not([class^="fa-"]):not([class*=" fa-"]):not([class*="eicon"]):not(svg)){
  font-family:var(--vv-police-titrage)!important;
}

/* 3. Voix éditoriale : Cormorant Garamond (titre 4, chapeaux, citations). */
html body :is(h4,blockquote,.vv-h4,.vv-chapeau,.vv-carte__domaine,.vv-citation,.wp-block-quote.is-style-vv-citation),
html body :is(h4,blockquote,.vv-h4,.vv-chapeau,.vv-carte__domaine,.vv-citation,.wp-block-quote.is-style-vv-citation) :where(*:not(i):not(.fa):not(.fas):not(.far):not(.fab):not([class^="fa-"]):not([class*=" fa-"]):not([class*="eicon"]):not(svg):not(cite)){
  font-family:var(--vv-police-editoriale)!important;
}

/* Étoiles des avis WooCommerce : on garde leur police d'icônes. */
html body .star-rating,html body .star-rating span{font-family:star!important}

/* Note « police inclusive » sous le bandeau légal, et encadré de la page Mentions légales. */
.vv-note-luciole{clear:both;margin:0;background:var(--vv-color-pierre,#EBE9E5);padding:0 16px 16px;text-align:center;font-size:12.5px;line-height:1.5;color:var(--vv-color-encre,#1E1D1B)}
.vv-mention-legale{padding-bottom:8px!important}
.vv-note-luciole strong{color:var(--vv-color-lie-de-vin,#7A1F2B);font-weight:700}
.vv-note-luciole a{color:var(--vv-color-encre,#1E1D1B);text-decoration:underline;text-underline-offset:2px}
.vv-note-luciole a:hover{color:var(--vv-color-bordeaux,#A02223)}
.vv-credit-luciole{margin-top:2em;padding:1.2em 1.4em;background:var(--vv-color-pierre,#EBE9E5);border-left:4px solid var(--vv-color-bordeaux,#A02223);border-radius:4px}
.vv-credit-luciole h2{margin-top:0;font-size:1.5em}
.vv-credit-luciole p:last-child{margin-bottom:0;font-size:.9em}

/* 4. Lisibilité (charte 1.1) : menu jamais en Light, cartes produits sans débordement. */
html body .elementor-nav-menu .elementor-item{font-weight:500!important;font-size:max(14px,1em)!important;letter-spacing:.1em!important}
html body ul.products li.product .woocommerce-loop-product__title{font-size:18px!important;letter-spacing:.02em!important;overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto}
html body ul.products li.product .button{padding:.85em 1em!important;font-size:13px!important;letter-spacing:.06em!important;line-height:1.15!important;white-space:normal}
