@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Inter:wght@400;500&family=Noto+Serif+Georgian:wght@400;500&display=swap');
/* =====================================================================
   L'AMBRE BLANC — FICHE GALERIE
   Dark mode par défaut · bascule ivoire en .lab-light / prefers light
   Palette tirée du book pro : navy / ivoire / amber / Spectral
   ===================================================================== */

:root {
    --lab-navy:        #1A2749;
    --lab-navy-2:      #1D2B52;
    --lab-ivoire:      #F4F1E5;
    --lab-ivoire-soft: #D8D4CC;
    --lab-amber:       #CB6639;
    --lab-amber-soft:  #DB8459;
    --lab-trait:       rgba(203, 102, 57,.35);
    --lab-mute:        rgba(244, 241, 229,.45);

    /* rôles (valeurs dark par défaut) */
    --bg:        var(--lab-navy);
    --bg-2:      var(--lab-navy-2);
    --texte:     var(--lab-ivoire);
    --texte-mute:var(--lab-mute);
    --accent:    var(--lab-amber);
    --accent-2:  var(--lab-amber-soft);
    --hairline:  var(--lab-trait);

    --serif: "Spectral", "Cormorant", Georgia, serif;
    --mesure: 64ch;
}

/* ---- Bascule claire (ivoire) : auto si l'OS le préfère, ou .lab-light ---- */
@media (prefers-color-scheme: light) {
    :root {
        --bg:         var(--lab-ivoire);
        --bg-2:       #EAE6D9;
        --texte:      #24335E;
        --texte-mute: rgba(36, 51, 94,.55);
        --accent:     #A84926;
        --accent-2:   #CB6639;
        --hairline:   rgba(168, 73, 38,.3);
    }
}
.lab-light {
    --bg:#var(--lab-ivoire);--bg-2:#EAE6D9;--texte:#24335E;
    --texte-mute:rgba(36, 51, 94,.55);--accent:#A84926;--accent-2:#CB6639;
    --hairline:rgba(168, 73, 38,.3);
}

/* ---------------------------------------------------------------- base */
.lab-fiche {
    background: var(--bg);
    color: var(--texte);
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.6;
    overflow: hidden;
}

/* 1 · BANDEAU AQUARELLE pleine largeur ---------------------------------- */
.lab-bandeau {
    position: relative;
    margin: 0;
    width: 100%;
    aspect-ratio: 21 / 9;
    max-height: 62vh;
    overflow: hidden;
    background: var(--bg-2);
}
.lab-bandeau img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
/* dégradé vers le fond pour fondre l'image dans la page */
.lab-bandeau-voile {
    position: absolute; inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 55%,
        var(--bg) 100%
    );
    pointer-events: none;
}

/* corps centré, respiration de galerie ---------------------------------- */
.lab-corps {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1.4rem, 5vw, 3rem) 6rem;
}

/* 2 · TITRE -------------------------------------------------------------- */
.lab-titre { text-align: center; margin-bottom: 3.5rem; }

.lab-eyebrow {
    font-family: var(--serif);
    text-transform: uppercase;
    letter-spacing: .28em;
    font-size: .74rem;
    color: var(--accent);
    margin: 0 0 1.2rem;
}
.lab-nom {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(2.6rem, 7vw, 4.4rem);
    line-height: 1.05;
    margin: 0;
    color: var(--texte);
}
.lab-cepages {
    margin: 1rem 0 0;
    font-size: 1.05rem;
    letter-spacing: .04em;
    color: var(--texte-mute);
}
/* filet amber sous le titre */
.lab-titre::after {
    content: "";
    display: block;
    width: 60px; height: 1px;
    margin: 2rem auto 0;
    background: var(--accent);
}

/* 3 · PROSE -------------------------------------------------------------- */
.lab-prose {
    max-width: var(--mesure);
    margin: 0 auto 3.5rem;
    text-align: center;
}
.lab-desc-fr {
    font-size: clamp(1.25rem, 2.4vw, 1.5rem);
    font-style: italic;
    line-height: 1.65;
    margin: 0 0 1.2rem;
}
.lab-desc-en {
    font-size: 1rem;
    font-style: italic;
    color: var(--texte-mute);
    line-height: 1.6;
    margin: 0;
}

/* 4 · BOUTEILLE ---------------------------------------------------------- */
.lab-bouteille {
    margin: 0 auto 4rem;
    text-align: center;
}
.lab-bouteille img {
    max-height: 60vh;
    width: auto;
    display: inline-block;
    filter: drop-shadow(0 30px 50px rgba(0,0,0,.45));
}

/* labels de section ------------------------------------------------------ */
.lab-section-label {
    font-family: var(--serif);
    text-transform: uppercase;
    letter-spacing: .26em;
    font-size: .72rem;
    color: var(--accent);
    margin: 0 0 1rem;
}

/* 5 · ACCORDS ------------------------------------------------------------ */
.lab-accords {
    border-top: 1px solid var(--hairline);
    padding-top: 2.5rem;
    margin-bottom: 3.5rem;
}
.lab-accord { margin-bottom: 1.8rem; }
.lab-accord:last-child { margin-bottom: 0; }
.lab-accord h3 {
    font-weight: 500;
    font-size: 1.3rem;
    margin: 0 0 .35rem;
    line-height: 1.3;
}
.lab-accord-plat { color: var(--texte); }
.lab-accord h3 em {
    font-style: italic;
    color: var(--texte-mute);
    font-weight: 400;
}
.lab-accord p {
    margin: 0;
    font-size: 1rem;
    color: var(--texte-mute);
    font-style: italic;
    line-height: 1.6;
}

/* 6+7 · META (provenance / élevage / vinif) ------------------------------ */
.lab-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
    border-top: 1px solid var(--hairline);
    padding-top: 2.5rem;
    margin-bottom: 3rem;
}
.lab-meta-large { grid-column: 1 / -1; }
.lab-meta-bloc p:not(.lab-section-label) {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.55;
    text-align: justify;
    hyphens: auto;
}

/* MILLÉSIME -------------------------------------------------------------- */
.lab-millesime {
    border-top: 1px solid var(--hairline);
    padding-top: 2.5rem;
    margin-bottom: 3.5rem;
}
.lab-millesime p:not(.lab-section-label) {
    margin: 0; font-size: 1.05rem; font-style: italic; color: var(--texte-mute);
}

/* 8 · ACQUISITION -------------------------------------------------------- */
.lab-acquisition {
    border-top: 1px solid var(--hairline);
    padding-top: 3rem;
    text-align: center;
}
.lab-prix {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--accent);
    line-height: 1;
    margin-bottom: .4rem;
}
.lab-prix .woocommerce-Price-amount { font-family: var(--serif); }
.lab-prix del { color: var(--texte-mute); font-size: .55em; margin-right:.4rem; }
.lab-prix-mention {
    display: block;
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--texte-mute);
    margin-top: .6rem;
}
.lab-panier { margin-top: 2rem; }

/* bouton Acquérir : sobre, encadré amber, pas un bouton e-commerce criard */
.lab-panier .button,
.lab-panier button {
    background: transparent !important;
    color: var(--accent) !important;
    border: 1px solid var(--accent) !important;
    border-radius: 0 !important;
    font-family: var(--serif) !important;
    font-size: 1rem !important;
    letter-spacing: .22em !important;
    text-transform: uppercase !important;
    padding: .9rem 2.6rem !important;
    transition: background .35s, color .35s !important;
    cursor: pointer;
}
.lab-panier .button:hover,
.lab-panier button:hover {
    background: var(--accent) !important;
    color: var(--bg) !important;
}
.lab-panier .quantity input {
    background: transparent;
    border: 1px solid var(--hairline);
    color: var(--texte);
    font-family: var(--serif);
    width: 4rem; padding: .6rem;
    text-align: center;
    margin-right: .6rem;
}

/* Réassurance sous le bouton d'achat (audit du 16/09/2026) */
.lab-reassurance {
    list-style: none;
    margin: 1.6rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: .5rem;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--texte-mute);
}
.lab-reassurance li { white-space: nowrap; }
.lab-reassurance li:not(:last-child)::after {
    content: "·";
    margin: 0 1.2rem;
    color: var(--hairline);
}
@media (max-width: 600px) {
    .lab-reassurance { flex-direction: column; gap: .5rem; }
    .lab-reassurance li:not(:last-child)::after { display: none; }
}

/* COMING SOON (Stierkopf en devenir) ------------------------------------ */
.lab-coming {
    border-top: 1px solid var(--hairline);
    padding-top: 3rem;
    text-align: center;
}
.lab-coming-eyebrow {
    text-transform: uppercase;
    letter-spacing: .28em;
    font-size: .8rem;
    color: var(--accent);
    margin: 0 0 1rem;
}
.lab-coming-texte {
    font-style: italic;
    font-size: 1.15rem;
    color: var(--texte-mute);
    max-width: 48ch;
    margin: 0 auto;
    line-height: 1.65;
}

/* ---------------------------------------------------------------- mobile */
@media (max-width: 600px) {
    .lab-bandeau { aspect-ratio: 4 / 3; max-height: 48vh; }
    .lab-meta { grid-template-columns: 1fr; gap: 1.8rem; }
    .lab-desc-fr { font-size: 1.2rem; }
    .lab-meta-bloc p:not(.lab-section-label) { text-align: left; }
}

/* accessibilité : focus visible + reduced motion ------------------------- */
.lab-panier .button:focus-visible,
.lab-panier button:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    .lab-panier .button, .lab-panier button { transition: none !important; }
}


/* ═══ Charte « Planche » (21/10/2026) : Inter pour le parcours d'achat ═══
   Le récit reste en Spectral ; prix, quantités, formulaires et boutons
   de la boutique passent en Inter, plus lisible sur les chiffres. */
.woocommerce .price, .woocommerce .amount, .woocommerce-Price-amount,
.woocommerce .quantity input, .woocommerce input, .woocommerce select,
.woocommerce textarea, .woocommerce label, .woocommerce button,
.woocommerce .button, .woocommerce a.button, .woocommerce-cart table,
.woocommerce-checkout table, .woocommerce-checkout form, .woocommerce-mini-cart,
.cart-contents, .woocommerce-message, .woocommerce-info, .woocommerce-error {
  font-family: 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif !important;
}


/* ═══ Charte « Planche » : surcharges des styles écrits dans functions.php ═══
   functions.php n'a pas pu être réécrit (refusé par le pare-feu de l'hébergeur) :
   on reprend ici ses règles de couleur et de police avec la nouvelle palette. */
html body .age-gate__form {
  font-family: "Spectral", Georgia, serif !important;
}
html body .age-gate button,
html body .age-gate input[type="submit"],
html body .age-gate__form button {
  color: #CB6639 !important;
  border: 1px solid #CB6639 !important;
  font-family: "Spectral", "Spectral", Georgia, serif !important;
}
html body .age-gate button:hover,
html body .age-gate input[type="submit"]:hover,
html body .age-gate__form button:hover {
  background: #CB6639 !important;
  color: #F4F1E5 !important;
}
html body .lab-nav {
  background: rgba(29, 43, 82, 0.97) !important;
  border-bottom: 1px solid rgba(203, 102, 57,0.18) !important;
  font-family: 'Spectral', sans-serif !important;
}
html body .lab-nav__logo-wrap {
  background: #1D2B52 !important;
  border: 1px solid rgba(203, 102, 57,0.18) !important;
}
html body .lab-nav__links a {
  color: rgba(244, 241, 229,0.65) !important;
}
html body .lab-nav__links a:hover,
html body .lab-nav__links a.is-active {
  color: #DB8459 !important;
}
html body .lab-nav__shop {
  background: #CB6639 !important;
  color: #1D2B52 !important;
  font-family: 'Spectral', serif !important;
}
html body .lab-nav__shop:hover {
  background: #DB8459 !important;
}
html body .lab-nav__cart-badge {
  background: #CB6639 !important;
  color: #1D2B52 !important;
}
html body .lab-nav__lang a,
html body .lab-nav__lang span.lab-nav__lang-current {
  font-family: 'Spectral', serif !important;
  color: rgba(244, 241, 229,0.4) !important;
}
html body .lab-nav__lang a:hover {
  color: #DB8459 !important;
}
html body .lab-nav__lang span.lab-nav__lang-current {
  color: #DB8459 !important;
}
html body .lab-nav__lang-sep {
  color: rgba(244, 241, 229,0.2) !important;
}
html body .lab-nav__toggle span {
  background: #DB8459 !important;
}
html body .lab-nav__mobile {
  background: rgba(29, 43, 82,0.98) !important;
}
html body .lab-nav__mobile a {
  color: rgba(244, 241, 229,0.8) !important;
  font-family: 'Spectral', sans-serif !important;
}
html body .lab-shipping-info {
  border: 1px solid rgba(203, 102, 57,.3) !important;
  font-family: "Spectral", Georgia, serif !important;
}
html body .lab-shipping-info__titre {
  font-family: "Spectral", "Spectral", Georgia, serif !important;
}
html body .lab-newsletter-lien {
  background: #1A2749 !important;
}
html body .lab-newsletter-lien a {
  font-family: "Spectral", "Spectral", Georgia, serif !important;
  color: #CB6639 !important;
  border-bottom: 1px solid rgba(203, 102, 57,.4) !important;
}
html body .lab-newsletter-lien a:hover {
  color: #DB8459 !important;
  border-color: #DB8459 !important;
}
html body [style*="Cormorant"], html body [style*="Cinzel"], html body [style*="Jost"] {
  font-family: 'Spectral', Georgia, serif !important;
}

/* Fond papier sous la navigation (OceanWP mettait du blanc) */
html body, html body #outer-wrap, html body #wrap, html body #main, html body #content-wrap {
  background-color: #F4F1E5;
}

/* Surcharges du CSS additionnel (Personnaliser) et des couleurs OceanWP */
html body #site-header .menu >li >a:hover {
  color:#CB6639 !important;
}
html body .lab-header-name {
  color:#CB6639 !important;
}
html body .lab-hero__eyebrow {
  color:#CB6639 !important;
}
html body .lab-bloc__heading-text {
  color:#CB6639 !important;
}
html body .lab-section__title {
  color:#F4F1E5 !important;
}
html body .lab-section__intro {
  color:#F4F1E5 !important;
}
html body .lab-card__cats {
  color:#CB6639 !important;
}
html body .lab-card__title,
html body .lab-card__title a {
  color:#F4F1E5 !important;
}
html body .lab-card__excerpt {
  color:rgba(244, 241, 229,0.8) !important;
}
html body .lab-card__price {
  color:#F4F1E5 !important;
}
html body .lab-card__soon {
  color:rgba(244, 241, 229,0.7) !important;
}
html body .lab-desc-en {
  color:rgba(244, 241, 229,0.75) !important;
}
html body #site-header,
html body .has-transparent-header .is-sticky #site-header,
html body .has-vh-transparent .is-sticky #site-header.vertical-header,
html body #searchform-header-replace {
  background-color:#1D2B52 !important;
}
/* Boutique : prix et boutons des cartes en Inter */
html body .lab-card__price, html body .lab-card__btn, html body .lab-card__btn--ghost {
  font-family: 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif !important;
}
/* Barre supérieure OceanWP vide (bande blanche sous la navigation) */
html body #top-bar-wrap.clr { display: none !important; }

/* Prix : OceanWP les mettait en vert, on suit la couleur du bloc */
html body .price .amount, html body .price bdi, html body .amount, html body .lab-card__price .amount {
  color: inherit !important;
}

/* Presse & écoutes : titres des cartes en titre courant (pas en capitales espacées) */
html body .lab-article-card h2 {
  font-family: 'Spectral', Georgia, serif !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: clamp(22px, 5.5vw, 28px) !important;
  line-height: 1.25 !important;
  font-weight: 400 !important;
  color: #2E4277 !important;
  overflow-wrap: anywhere;
}
html body .lab-article-card h2::before { display: none !important; }
html body .lab-article-card .lab-article-eyebrow {
  font-size: 12px !important;
  letter-spacing: 0.16em !important;
  line-height: 1.6 !important;
}
html body .lab-article-card .lab-article-excerpt { font-size: 17px !important; }

/* Bouton menu des pages WordPress : « MENU » en capitales espacées à la place des trois traits */
html body .lab-nav__toggle { align-items: center; }
html body .lab-nav__toggle span { display: none !important; }
html body .lab-nav__toggle::after {
  content: attr(data-menu);
  font-family: 'Spectral', serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #F4F1E5;
  padding-bottom: 3px;
  border-bottom: 1px solid #CB6639;
}
html body .lab-nav__toggle:hover::after { color: #DB8459; }

/* Bandeau des pages WordPress : logo à gauche, encart « Les vins » + amphore « Menu » à droite, à toutes les largeurs */
html body .lab-nav__links { display: flex !important; margin-left: auto !important; margin-right: 26px !important; }
html body .lab-nav__links > li:not(:first-child) { display: none !important; }
html body .lab-nav__toggle { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 10px !important; }
html body .lab-nav__toggle::before {
  content: "";
  width: 14px;
  height: 24px;
  background: url('/menu-amphore.png') center / contain no-repeat;
}
@media (max-width: 420px) {
  html body .lab-nav { padding: 0 0.8rem !important; }
  html body .lab-nav__links { margin-right: 10px !important; }
  html body .lab-nav__shop { padding: 4px 8px !important; letter-spacing: 0.08em !important; }
  html body .lab-nav__toggle { gap: 6px !important; }
  html body .lab-nav__toggle::after { letter-spacing: 0.14em; }
  html body .lab-nav__toggle::before { width: 12px; height: 20px; }
}

/* Logos : adresse versionnée pour que les navigateurs oublient l'ancien logo or */
html body .lab-nav__logo-wrap img { content: url('/logo-ambre-blanc-nav.png?v=20261021'); }
html body .age-gate__heading img, html body img[src*="logo-circulaire.png"] { content: url('/wp-content/uploads/2026/09/logo-circulaire.png?v=20261021'); }

/* Lien newsletter (pages WordPress) : mêmes dimensions que sur l'accueil.
   Le thème fixe 1rem = 10px, donc le .75rem d'origine tombait à 7,5px : on passe en pixels. */
html body .lab-newsletter-lien { padding: 24px !important; }
html body .lab-newsletter-lien a {
  font-family: 'Spectral', Georgia, serif !important;
  font-size: 12px !important;
  letter-spacing: .14em !important;
  padding-bottom: 2px !important;
}

/* Lien « Panier » ajouté par lab-panier.js quand le panier n'est pas vide */
html body .lab-nav__links > li.lab-nav-panier-li { display: list-item !important; }
html body .lab-nav-panier {
  color: #F4F1E5 !important; text-decoration: none !important; font-family: 'Inter', sans-serif !important;
  font-size: 11px !important; letter-spacing: .12em !important; text-transform: uppercase !important;
  border-bottom: 1px solid #CB6639; padding-bottom: 2px; white-space: nowrap;
}
html body .lab-nav-panier:hover { color: #DB8459 !important; }

/* Citations : OceanWP pose un trait bleu ciel (#13aff0) à gauche de tout
   <blockquote>. Retiré sur les citations des pages piliers (déjà encadrées
   par deux filets), ramené à l'ambre ailleurs (articles). */
html body .lab-pullquote blockquote { border-left: 0 !important; padding-left: 0 !important; }
html body blockquote { border-left-color: #CB6639 !important; }

/* Géorgien : Spectral n'a pas l'alphabet mkhedruli, on bascule sur Noto Serif Georgian */
html[lang^="ka"] body, html[lang^="ka"] body *:not(.fa):not([class*="icon"]) { font-family: 'Noto Serif Georgian', 'Spectral', Georgia, serif !important; }
