/*
Theme Name: Le Comptoir de Bêêêrny
Theme URI: https://www.lecomptoir.beeerny.fr/
Description: Thème enfant Hello Elementor pour Le Comptoir de Bêêêrny — bar à bières artisanales itinérant. Identité Beer Addict : jaune #fcea10, noir, beige, typos Gotham / Nova Klasse / Dogbangy.
Author: Elena — La Touriste
Template: hello-elementor
Version: 1.0.0
Text Domain: comptoir-berny
*/

/* ==========================================================================
   POLICES BÊÊÊRNY
   ========================================================================== */
@font-face {
  font-family: 'Gotham';
  src: url('assets/fonts/Gotham-Book.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('assets/fonts/Gotham-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('assets/fonts/Gotham-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('assets/fonts/Gotham-Black.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Nova Klasse';
  src: url('assets/fonts/novaklasse-semibold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Nova Klasse';
  src: url('assets/fonts/novaklasse-semibold-oblique.woff2') format('woff2');
  font-weight: 600; font-style: oblique; font-display: swap;
}
@font-face {
  font-family: 'Dogbangy';
  src: url('assets/fonts/Dogbangy.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ==========================================================================
   TOKENS
   ========================================================================== */
:root {
  --bb-jaune: #fcea10;
  --bb-noir: #000000;
  --bb-encre: #141414;
  --bb-charbon: #232323;
  --bb-beige: #cbbfac;
  --bb-beige-clair: #f1ede4;
  --bb-creme: #faf9f5;
  --bb-taupe: #938872;
  --bb-gris: #6b6862;
  --bb-titre: 'Nova Klasse', sans-serif;
  --bb-display: 'Dogbangy', sans-serif;
  --bb-texte: 'Gotham', system-ui, sans-serif;
}

body {
  font-family: var(--bb-texte);
  color: var(--bb-encre);
  background: var(--bb-creme);
}

/* ==========================================================================
   CLASSES UTILITAIRES (à appliquer via "Classes CSS" dans Elementor)
   ========================================================================== */
.bb-display { font-family: var(--bb-display) !important; font-weight: 400 !important; }
.bb-kicker { font-family: var(--bb-titre); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }

/* Accent Dogbangy à l'intérieur d'un titre : <span class="bb-d">mot</span> */
.bb-d, h1 .bb-d, h2 .bb-d { font-family: var(--bb-display); font-weight: 400; }
.bb-d-jaune { font-family: var(--bb-display); font-weight: 400; color: var(--bb-jaune); }

/* Cadres photo Bêêêrny */
.bb-photo img { border: 3px solid #000; border-radius: 26px; box-shadow: 10px 10px 0 #000; }
.bb-photo-sm img { border: 3px solid #000; border-radius: 24px; box-shadow: 8px 8px 0 #000; }

/* Cartes */
.bb-card { background: #fff; border: 2px solid #000; border-radius: 22px; }
.bb-card-jaune { background: var(--bb-jaune); border: 2px solid #000; border-radius: 22px; }
.bb-card-noire { background: #000; border-radius: 22px; }
.bb-card-beige { background: var(--bb-beige); border-radius: 28px; }
.bb-card-beige-claire { background: var(--bb-beige-clair); border-radius: 22px; }

/* Boutons Bêêêrny (classe sur le widget Bouton Elementor) */
.bb-btn-ink .elementor-button, a.bb-btn-ink {
  font-family: var(--bb-titre); font-weight: 600; color: #fff; background: #000;
  border: 2px solid #000; border-radius: 999px; padding: 14px 26px;
  box-shadow: 3px 3px 0 rgba(0,0,0,.25); transition: transform .12s ease;
}
.bb-btn-lemon .elementor-button, a.bb-btn-lemon {
  font-family: var(--bb-titre); font-weight: 600; color: #000; background: var(--bb-jaune);
  border: 2px solid #000; border-radius: 999px; padding: 14px 26px;
  box-shadow: 3px 3px 0 #000; transition: transform .12s ease;
}
.bb-btn-outline .elementor-button, a.bb-btn-outline {
  font-family: var(--bb-titre); font-weight: 600; color: #000; background: transparent;
  border: 2px solid #000; border-radius: 999px; padding: 14px 26px; transition: transform .12s ease;
}
.bb-btn-ink .elementor-button:hover, .bb-btn-lemon .elementor-button:hover, .bb-btn-outline .elementor-button:hover { transform: translate(1px,1px); }
.bb-btn-lemon .elementor-button:hover { box-shadow: 2px 2px 0 #000; }

/* Pastilles (badges arrondis) */
.bb-pill { display: inline-block; font-family: var(--bb-titre); font-weight: 600; font-size: 15px;
  color: #000; background: var(--bb-jaune); border: 2px solid #000; border-radius: 999px; padding: 7px 16px; }
.bb-pill-inverse { display: inline-block; font-family: var(--bb-titre); font-weight: 600; font-size: 15px;
  color: var(--bb-jaune); background: #000; border: 2px solid #000; border-radius: 999px; padding: 7px 16px; }

/* ==========================================================================
   FORMULAIRE ELEMENTOR PRO — habillage Bêêêrny (classe bb-form sur le widget)
   ========================================================================== */
.bb-form .elementor-field-group .elementor-field-label {
  font-family: var(--bb-titre); font-weight: 600; font-size: 13px; color: #000;
}
.bb-form input.elementor-field,
.bb-form select.elementor-field,
.bb-form textarea.elementor-field {
  border: 2px solid #000 !important; border-radius: 12px !important;
  font-size: 15px; color: var(--bb-charbon); background: #fff;
  font-family: var(--bb-texte);
}
.bb-form input.elementor-field, .bb-form select.elementor-field { min-height: 48px; }
.bb-form .elementor-button[type="submit"] {
  width: 100%; font-family: var(--bb-titre); font-weight: 600; font-size: 17px;
  color: #000 !important; background: var(--bb-jaune) !important; border: 2px solid #000 !important;
  border-radius: 999px !important; padding: 15px 24px; box-shadow: 4px 4px 0 #000;
  transition: transform .12s ease, box-shadow .12s ease;
}
.bb-form .elementor-button[type="submit"]:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 #000; }
.bb-form .elementor-message.elementor-message-success {
  font-family: var(--bb-titre); font-weight: 600; color: #000;
  background: var(--bb-jaune); border: 2px solid #000; border-radius: 14px; padding: 14px 18px;
}

/* ==========================================================================
   LA TOURNÉE — rendu du shortcode [bb_tournee]
   ========================================================================== */
.bb-tournee-groupe { margin: 0 0 52px; }
.bb-tournee-titre { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 0 0 24px; }
.bb-tournee-titre h2 { font-family: var(--bb-titre); font-weight: 600; font-size: 32px; letter-spacing: -0.02em; color: #000; margin: 0; }
.bb-tournee-titre .bb-tournee-periode { font-family: var(--bb-titre); font-weight: 600; font-size: 15px; color: var(--bb-taupe); }

.bb-creneaux { display: flex; flex-direction: column; gap: 12px; }
.bb-creneau {
  display: grid; grid-template-columns: 88px 1fr auto; gap: 20px; align-items: center;
  background: #fff; border: 2px solid #000; border-radius: 18px; padding: 18px 22px;
}
.bb-creneau--next { background: var(--bb-beige-clair); }
.bb-creneau-date { text-align: center; line-height: 1; }
.bb-creneau-jour { font-family: var(--bb-titre); font-weight: 600; font-size: 13px; color: var(--bb-taupe); text-transform: uppercase; letter-spacing: .06em; }
.bb-creneau-num { font-family: var(--bb-titre); font-weight: 600; font-size: 30px; color: #000; }
.bb-creneau-mois { font-size: 11px; color: var(--bb-gris); text-transform: uppercase; }
.bb-creneau-nom { font-family: var(--bb-titre); font-weight: 600; font-size: 19px; color: #000; }
.bb-creneau-lieu { font-size: 15px; color: var(--bb-gris); margin-top: 3px; }
.bb-creneau-cat {
  font-family: var(--bb-titre); font-weight: 600; font-size: 13px; color: #000;
  background: var(--bb-jaune); border: 2px solid #000; border-radius: 999px; padding: 6px 14px; white-space: nowrap;
}
.bb-creneau-cat--festival { color: var(--bb-jaune); background: #000; }
.bb-creneau-cat--fete { background: var(--bb-beige); }
.bb-tournee-note { font-size: 14px; color: var(--bb-taupe); margin: 22px 0 0; }
.bb-tournee-vide { font-size: 16px; color: var(--bb-gris); background: var(--bb-beige-clair); border-radius: 18px; padding: 22px; }

/* Teaser (page d'accueil) */
.bb-tournee-teaser { display: flex; flex-direction: column; gap: 10px; min-width: 220px; }
.bb-tournee-teaser .bb-creneau { grid-template-columns: 56px 1fr; padding: 12px 16px; border-radius: 16px; }
.bb-tournee-teaser .bb-creneau-num { font-size: 20px; }
.bb-tournee-teaser .bb-creneau-nom { font-size: 15px; }
.bb-tournee-teaser .bb-creneau-lieu { font-size: 13px; margin-top: 2px; }
.bb-tournee-teaser .bb-creneau-cat, .bb-tournee-teaser .bb-creneau-jour { display: none; }

@media (max-width: 640px) {
  .bb-creneau { grid-template-columns: 64px 1fr; }
  .bb-creneau-cat { display: none; }
}

/* ==========================================================================
   BLOG — habillage des cartes d'articles (thème Hello + Elementor Posts)
   ========================================================================== */
.bb-blog article.elementor-post,
.bb-blog .elementor-post__card {
  background: #fff; border: 2px solid #000 !important; border-radius: 22px; overflow: hidden;
  box-shadow: none; transition: box-shadow .15s ease, transform .15s ease;
}
.bb-blog .elementor-post__card:hover { box-shadow: 6px 6px 0 #000; transform: translate(-2px,-2px); }
.bb-blog .elementor-post__title, .bb-blog .elementor-post__title a {
  font-family: var(--bb-titre); font-weight: 600; color: #000;
}
.bb-blog .elementor-post__badge {
  font-family: var(--bb-titre); font-weight: 600; background: var(--bb-jaune);
  color: #000; border: 2px solid #000; border-radius: 999px;
}
