/* ==========================================================================
   Vitalité Bohème · le style commun de tout le site
   Une seule source pour les couleurs, les polices, la barre du haut et le carré.
   Choix de Kevin (26 nov. 2026) : barre noire, marque à gauche, liens en
   Cormorant italique, petit tampon VB15 doré après Boutique, Réserver en bloc
   doré pleine hauteur, et tout au carré (aucun coin arrondi sauf le tampon).
   ========================================================================== */

:root {
  --vb-pierre: #14100d; --vb-pierre-2: #1e1915; --vb-trait-sombre: #3a2f26;
  --vb-or: #c9a227; --vb-or-clair: #e3c77a; --vb-or-encre: #8a6a1c;
  --vb-creme: #f2ebe2; --vb-papier: #f7f2ea; --vb-papier-2: #efe6d9; --vb-trait: #ddd1bf;
  --vb-encre: #1f1914; --vb-encre-2: #5a4b3e; --vb-encre-3: #7d6c5c; --vb-sur-pierre: #b8a894;
  --vb-serif: 'Cormorant Garamond', Georgia, serif;
  --vb-sans: 'Jost', 'Segoe UI', system-ui, sans-serif;
  --vb-sortie: cubic-bezier(.16, 1, .3, 1);
  --vb-barre-h: 72px;
}

/* ---------- La règle : tout au carré, boutons compris ----------
   Seuls restent ronds : le point et les collants du questionnaire, le petit point du curseur, les points
   d'attente, le sceau de fin de réservation, le point qui bat du bouton flottant et les saveurs de la
   boutique (de petits ronds de couleur). Le tampon est un dessin. */
body.vb *, body.vb *::before, body.vb *::after { border-radius: 0 !important; }
body.vb .collant-douleur, body.vb .zone-interdit-sticker, body.vb .vb-curseur span:empty,
body.vb .attente .pt, body.vb .fin .sceau, body.vb .cta-pulse, body.vb .vb-rond,
body.vb .pastille, body.vb .pastille::after { border-radius: 50% !important; }
body.vb ::selection { background: var(--vb-or-clair); color: var(--vb-pierre); }
body.vb :focus-visible { outline: 2px solid var(--vb-or); outline-offset: 3px; }

/* ---------- Black Friday d'ATP Lab (jusqu'au 30 nov. 2026) : le code VB15 ne s'ajoute pas à leur rabais, donc aucun tampon ---------- */
.vb-bf .vb-tampon, .vb-bf .gros-tampon, .vb-bf .tampon { display: none !important; }

/* ---------- Plus de mot en italique doré dans les titres (le tic des sites faits par IA) ---------- */
body.vb h1 em, body.vb h1 i, body.vb h2 em, body.vb h2 i, body.vb h3 em, body.vb h3 i { font-style: normal; color: inherit; }

/* ---------- L'or : uni, comme avant ---------- */
.vb-resa, .vb-b-or { background: var(--vb-or); color: var(--vb-pierre); }
.vb-resa:hover, .vb-b-or:hover { background: var(--vb-or-clair); }

/* ---------- La barre du haut ---------- */
.vb-barre { position: sticky; top: 0; z-index: 900; height: var(--vb-barre-h); background: var(--vb-pierre); color: var(--vb-creme);
  display: flex; align-items: center; padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px)); font-family: var(--vb-sans); }
.vb-marque { font-family: var(--vb-serif); font-size: 26px; font-weight: 500; color: var(--vb-creme); text-decoration: none; white-space: nowrap; margin-right: auto; letter-spacing: .005em; }
.vb-marque i { color: var(--vb-or-clair); font-style: italic; }
.vb-liens { list-style: none; display: flex; align-items: center; height: 100%; margin: 0; padding: 0; }
.vb-liens li { display: flex; align-items: center; height: 100%; }
.vb-liens a { font-family: var(--vb-serif); font-style: italic; font-size: 19px; color: #e2d6c5; text-decoration: none; padding: 0 18px;
  border-left: 1px solid #3d3229; line-height: 1.2; transition: color .3s; white-space: nowrap; }
.vb-liens li:first-child a { border-left: 0; }
.vb-liens a:hover, .vb-liens a[aria-current="page"] { color: var(--vb-or-clair); }
.vb-tampon { display: block; width: 54px; height: 54px; margin: 0 8px 0 -8px; transform: rotate(-12deg); transition: transform .6s var(--vb-sortie); flex: none; }
.vb-tampon svg { width: 100%; height: 100%; display: block; overflow: visible; }
.vb-tampon:hover { transform: rotate(0) scale(1.08); }
.vb-lang { background: none; border: 0; cursor: pointer; padding: 0 16px; height: 100%; display: flex; align-items: center; gap: 6px;
  font-family: var(--vb-sans); font-size: 11.5px; letter-spacing: .14em; color: #8f806d; }
.vb-lang .lbl { padding: 0; font-family: var(--vb-sans); font-size: 11.5px; letter-spacing: .14em; color: #8f806d; }
.vb-lang .lbl.actif { color: var(--vb-or-clair); font-weight: 600; }
.vb-lang .sep { color: #4a3d31; }
.vb-resa { height: 100%; display: flex; align-items: center; gap: 10px; margin-left: 10px; padding: 0 28px;
  font-family: var(--vb-serif); font-size: 20px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: filter .5s; }
.vb-resa .vb-fleche { transition: transform .4s var(--vb-sortie); }
.vb-resa:hover .vb-fleche { transform: translateX(4px); }
.vb-burger { display: none; background: none; border: 0; cursor: pointer; width: 46px; height: 100%; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.vb-burger span { display: block; width: 22px; height: 1.5px; background: var(--vb-creme); transition: transform .3s, opacity .3s; }
.vb-burger.ouvert span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.vb-burger.ouvert span:nth-child(2) { opacity: 0; }
.vb-burger.ouvert span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.vb-lang-mobile { display: none !important; }
.vb-lang-mobile button { background: none; border: 0; cursor: pointer; text-align: left; width: 100%; padding: 14px 22px; font-family: var(--vb-sans); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #8f806d; }

@media (max-width: 900px) {
  :root { --vb-barre-h: 62px; }
  .vb-lang { display: none; }
  .vb-lang-mobile { display: flex !important; }
  .vb-barre { padding-left: 16px; }
  .vb-marque { font-size: 21px; }
  .vb-burger { display: flex; order: 2; }
  .vb-lang { order: 1; padding: 0 10px; }
  .vb-tampon { order: 3; width: 44px; height: 44px; margin: 0 6px 0 2px; }
  .vb-resa { order: 4; margin: 0; padding: 0 16px; font-size: 17px; }
  .vb-resa .vb-fleche { display: none; }
  .vb-liens { order: 5; position: absolute; top: var(--vb-barre-h); left: 0; right: 0; height: auto; flex-direction: column; align-items: stretch;
    background: var(--vb-pierre); border-top: 1px solid var(--vb-trait-sombre); padding: 8px 0 14px;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .4s var(--vb-sortie), visibility 0s .4s; }
  .vb-liens.mobile-ouvert { visibility: visible; opacity: 1; transform: none; transition: opacity .3s, transform .4s var(--vb-sortie); }
  .vb-liens li { height: auto; }
  .vb-liens a { border-left: 0; padding: 14px 22px; font-size: 22px; width: 100%; border-bottom: 1px solid #2a2119; }
}
@media (max-width: 380px) { .vb-marque { font-size: 19px; } .vb-tampon { width: 38px; height: 38px; margin: 0 2px; } .vb-burger { width: 40px; } .vb-resa { padding: 0 13px; } }

/* ---------- Les boutons, carrés : le texte en petites capitales espacées, le seul endroit où on les met ---------- */
.vb-b-or, .vb-b-pierre, .vb-b-creux { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; font-family: var(--vb-sans); font-size: 12.5px;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 0; transition: background .5s, color .5s, filter .5s; }
.vb-b-or { font-weight: 500; }
.vb-b-pierre { background: var(--vb-pierre); color: var(--vb-creme); }
.vb-b-pierre:hover { background: #2c231b; }
.vb-b-pierre .vb-fleche { color: var(--vb-or-clair); }
.vb-b-creux { background: transparent; color: var(--vb-encre); border: 1px solid var(--vb-encre); padding: 15px 24px; }
.vb-b-creux:hover { background: var(--vb-encre); color: var(--vb-creme); }
/* Les grands boutons propres à chaque page suivent la même règle */
body.vb .caisse, body.vb .btn-ajout, body.vb .btn-sombre, body.vb .cta, body.vb .btn-submit, body.vb .envoyer, body.vb .cta-flottant, body.vb .btn,
body.vb #btn-dl-pdf { text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; }

/* ---------- Le pied de page commun ---------- */
.vb-pied { background: var(--vb-pierre); color: var(--vb-sur-pierre); font-family: var(--vb-sans); font-size: 13.5px; }
.vb-pied-in { max-width: 1280px; margin: 0 auto; padding: 30px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.vb-pied .vb-marque { font-size: 22px; margin: 0; }
.vb-pied nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.vb-pied a { color: var(--vb-sur-pierre); text-decoration: none; }
.vb-pied a:hover { color: var(--vb-or-clair); }

/* ---------- Le curseur : un petit point, qui s'ouvre en pastille « Voir » sur les photos ----------
   Posé par vb.js à l'ordinateur seulement. Les champs et les zones de dessin gardent le curseur de l'ordinateur. */
.vb-curseur-actif body, .vb-curseur-actif body *:not(input):not(textarea):not(select):not(canvas):not(iframe) { cursor: none !important; }
.vb-curseur { position: fixed; left: 0; top: 0; z-index: 4000; pointer-events: none; }
.vb-curseur span { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); width: 10px; height: 10px; border-radius: 50%;
  background: var(--vb-pierre); box-shadow: 0 0 0 1.5px var(--vb-creme); display: grid; place-items: center; color: transparent; white-space: nowrap;
  font-family: var(--vb-serif); font-style: italic; font-size: 17px; transition: width .35s var(--vb-sortie), height .35s var(--vb-sortie), background .25s, color .2s, opacity .2s; }
.vb-curseur.lien span { width: 16px; height: 16px; background: var(--vb-or); }
/* Sur une photo : le point s'efface et le mot « Voir » monte doucement à sa place, sans pastille ni filet */
.vb-curseur.voir span { width: auto; height: auto; background: transparent; box-shadow: none; color: var(--vb-creme); font-size: 22px;
  text-shadow: 0 1px 12px rgba(20,16,13,.55); animation: vb-voir .8s var(--vb-sortie) both; }
@keyframes vb-voir { from { opacity: 0; transform: translate(-50%, -30%); } to { opacity: 1; transform: translate(-50%, -50%); } }
.vb-curseur.cache span { opacity: 0; }

@media (prefers-reduced-motion: reduce) { .vb-barre *, .vb-b-or, .vb-b-pierre, .vb-b-creux, .vb-curseur span { transition: none !important; } }

/* ---------- Les pages de texte (application, confidentialité, 404, revalider) ----------
   Même tête que le questionnaire : papier, surtitre doré, grand titre Cormorant. Cartes au carré. */
body.vb-texte { margin: 0; font-family: var(--vb-sans); background: var(--vb-papier); color: var(--vb-encre); -webkit-font-smoothing: antialiased; }
body.vb-texte *, body.vb-texte *::before, body.vb-texte *::after { box-sizing: border-box; }
.vb-tete { background: var(--vb-papier); border-bottom: 1px solid var(--vb-trait); }
.vb-tete-in { max-width: 1100px; margin: 0 auto; padding: 64px 40px 42px; }
.vb-sur { display: inline-block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--vb-or-encre); font-weight: 500; }
.vb-tete h1 { font-family: var(--vb-serif); font-weight: 400; font-size: clamp(44px, 6vw, 78px); line-height: .98; letter-spacing: -.015em; margin: 12px 0 0; color: var(--vb-encre); }
.vb-tete h1 em { color: var(--vb-or-encre); }
.vb-chapo { font-size: 16.5px; line-height: 1.7; color: var(--vb-encre-2); margin: 18px 0 0; max-width: 58ch; font-weight: 300; }
.vb-corps { max-width: 860px; margin: 0 auto; padding: 44px 40px 90px; }
.vb-carte { background: #fff; border: 1px solid var(--vb-trait); border-radius: 0; padding: 32px 34px 28px; margin: 0 0 18px; }
.vb-carte h2 { font-family: var(--vb-serif); font-size: 31px; font-weight: 400; color: var(--vb-encre); line-height: 1.15; border-bottom: 1px solid var(--vb-trait); padding-bottom: 14px; margin: 0 0 18px; }
.vb-carte p, .vb-carte li { font-size: 15.5px; line-height: 1.75; color: var(--vb-encre-2); font-weight: 400; margin: 0; }
.vb-carte p + p { margin-top: 10px; }
.vb-carte b, .vb-carte strong { color: var(--vb-encre); font-weight: 500; }
.vb-carte ul, .vb-carte ol { padding-left: 22px; margin: 10px 0; }
.vb-carte li { margin-bottom: 7px; }
.vb-carte a { color: var(--vb-encre); text-decoration-color: var(--vb-or); text-underline-offset: 3px; }
.vb-carte a:hover { color: var(--vb-or-encre); }
.vb-note { font-size: 13.5px !important; color: var(--vb-encre-3) !important; margin-top: 12px !important; }
.vb-maj { font-size: 12.5px; color: var(--vb-encre-3); text-align: center; letter-spacing: .04em; margin: 26px 0 0; }
@media (max-width: 900px) {
  .vb-tete-in { padding: 40px 20px 30px; }
  .vb-corps { padding: 28px 14px 60px; }
  .vb-carte { padding: 24px 18px 22px; }
  .vb-carte h2 { font-size: 26px; }
}
